Explanation: The CPU is the main control chip which calculates what has to be done in order for your computer to function.
(Very interesting question you had. Hope this answer helps)
The telecommunications device that is widely used in industries that require closed communication are walkie-talkies. Correct answer: D
Walkie-talkies are hand-held, portable, two-way radio transceivers which enable secure communication between the two points, without being part of a network.
Answer:
Pseudo CODE
a)
n= Input “Enter 5 integer value”
b)
sum=0.0
For loop with i ranging from 0 - 5
Inside loop sum=n[i]+sum
Outside loop avg= sum/5
Print avg
c)
small=n[0] # assume the first number in the list is smallest
large= n[0] # assume the first number in the list is largest
For loop with i ranging from 0 - 5
Inside loop if n[i]<small #if any another number is smaller than small(variable)
Inside if Then small=n[i]
Inside loop if n[i]>large # if any another number is larger than large(variable)
Inside if then large=n[i]
Print small
Print large
d)
print avg
print small
print large
Explanation:
Execution step:
1. Starting the program
2. It will get the animal name
3. Check whether the animal eats only plants. Then it prints "Herbivore". If the condition is false, it prints "carnivore".
4. Stop the program
To identify input, output and decision:
Start and Stop (oval): These are neither input nor output
Does it eat only plants?: Decision making statement ("d")
Read the names of the animals(Parallelogram): Input ("i")
Print Herbivore, Print Carnivore: Output "o"
Scenario 1: Input is lion
1. Start
2. Reads the input as "lion"
3. Check if lion eats only plants. So here it is false
4. Print "Carnivore"
5. Stop
Scenario 1: Input is Elephant
1. Start
2. Reads the input as "Elephant"
3. Check if lion eats only plants. So here it is true
4. Print "Herbivore"
5. Stop