Revision Grade 8 Computing
Revision Grade 8 Computing
Revision Grade 8 Computing
Subject: Computing
1 An algorithm that takes 20 numbers as input from the user and outputs the
average (mean).
total=0
…………………………………………………………………………………………..
for count = 1 to 20
…………………………………………………………………………………………..
OUTPUT "enter a number
…………………………………………………………………………………………..
INPUT userin
…………………………………………………………………………………………..
total=total+userin
…………………………………………………………………………………………..
next count
total= total/20
2 Read the following flowchart and write the output for the same.
1
3 Write an algorithm to ask the user to enter the age of five people they know
and output the average age
tatal=0
…………………………………………………………………………………………
for count = 1 to 5
…………………………………………………………………………………………
OUTPUT "enter a person's age"
…………………………………………………………………………………………
INPUT age
…………………………………………………………………………………………
total = total + age
…………………………………………………………………………………………
next count
…………………………………………………………………………………………
end for
…………………………………………………………………………………………
total = total/5
…………………………………………………………………………………………
OUTPUT "your average age is",total
…………………………………………………………………………………………
4 Write a python program asks the user to enter the age of the people in their
group. Only people 15 years old or older can take part in an activity.
…………………………………………………………………………………………..
…………………………………………………………………………………………..
…………………………………………………………………………………………..
…………………………………………………………………………………………..
…………………………………………………………………………………………..
…………………………………………………………………………………………..
…………………………………………………………………………………………..
…………………………………………………………………………………………..
…………………………………………………………………………………………..
…………………………………………………………………………………………..
…………………………………………………………………………………………..
…………………………………………………………………………………………..
2
5 What is user experience?
…………………………………………………………………………………………..
…………………………………………………………………………………………..
7 Explain why protypes are useful for identifying what improvements can be
made to a device’s design.
…………………………………………………………………………………………..
…………………………………………………………………………………………..
…………………………………………………………………………………………..
…………………………………………………………………………………………..
…………………………………………………………………………………………..
…………………………………………………………………………………………..