What will be the output of the following program?
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 14.12.2020 02:50 dawsoncollins4117
Question # 1
Multiple Choice
What will be the output of the following program?
def average(a, b):
total = a + b
return total / 2
ave = average(7,11)
print("Total", total)
print ("Average", ave)
A. an error statement since total's scope is limited to the average function.
B. Total 18
Average 9
C. Total18
Average9
D. an error statement since average is a keyword.
![ansver](/tpl/images/cats/User.png)
Answers: 2
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 21.06.2019 20:40
Peripherals are part of the main computer. true false
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 01:00
Program description: a c# app is to be created to produce morse code. the morse code assigns a series of dots and dashes to each letter of the alphabet, each digit, and a few special characters (such as period, comma, colon, and semicolon). in sound-oriented systems, the dot represents a short sound and the dash represents a long sound. separation between words is indicated by a space, or, quite simply, the absence of a dot or dash. in a sound-oriented system, a space is indicated by a short period of time during which no sound is transmitted. the international version of the morse code is stored in the data file morse.txt.
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 18:00
Write a method named addall that could be placed inside the hashintset class. this method accepts another hashintset as a parameter and adds all elements from that set into the current set, if they are not already present. for example, if a set s1 contains [1, 2, 3] and another set s2 contains [1, 7, 3, 9], the call of s1.addall(s2); would change s1 to store [1, 2, 3, 7, 9] in some order. you are allowed to call methods on your set and/or the other set. do not modify the set passed in. this method should run in o(n) time where n is the number of elements in the parameter set passed in.
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 19:30
Once the data center routes to the destination server that hosts the website, what's the next step in the internet process? user’s browser renders html code from destination server into web page request goes through router/model and isp request routed to nameserver and datacenter
Answers: 2
You know the right answer?
Question # 1
Multiple Choice
What will be the output of the following program?
What will be the output of the following program?
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 06.01.2020 11:31
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 06.01.2020 11:31
![question](/tpl/images/cats/en.png)
English, 06.01.2020 11:31
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 06.01.2020 11:31
![question](/tpl/images/cats/istoriya.png)
History, 06.01.2020 11:31
![question](/tpl/images/cats/istoriya.png)
History, 06.01.2020 11:31
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/es.png)
Spanish, 06.01.2020 11:31
![question](/tpl/images/cats/en.png)
English, 06.01.2020 11:31
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 06.01.2020 11:31