 Algorithm
2 years ago
farrellys
Save
Edit
Host a game
Live GameLive
Homework
Solo Practice
Practice 15 QuestionsShow answers
• Question 1
30 seconds Q. What command is this shape for?
START / STOP
INPUT / OUTPUT
PROCESS
DECISION
• Question 2
45 seconds Q. What does this shape represent?
Input/Output
Decision
Process
Start/Stop
• Question 3
45 seconds Q. What does this shape represent?
Decission
Process
Input/Output
Start/End
• Question 4
30 seconds Q. What's missing ?
On/Off
Pink/Blue
Hello/Goodbye
Yes/No
• Question 5
30 seconds Q. What command is this shape for?
References another part of the program
Data that is going in as input or coming out as output
Processing something - a calculation or storing something into a variable
Shows the direction of the program
• Question 6
60 seconds Q. What will be displayed as output?
10
20
30
40
• Question 7
60 seconds Q. Assume n1 = 10 ... n2 = 2 ... n3 = 2
What will be displayed as output?
10
20
30
40
• Question 8
120 seconds Q. Assume n1 = 10 ... n2 = 20
What will be displayed as output?
10
20
• Question 9
30 seconds
Q. What is the correct definition of an algorithm?
An algorithm is a step by step instructions to solve a problem.
An algorithm is a process of baking bread.
An algorithm is a software used to compute numbers.
An algorithm is the process of breaking problems.
• Question 10
30 seconds
Q. What is the difference between a flowchart and pseudocode?
A flowchart is diagramatic whilst pseudocode is written in a programming language (eg. Pascal or Java)
A flowchart is textual but pseudocode is diagrammatic
A flowchart is a diagrammatic description of an algorithm whilst pseudocode is a textual description of an algorithm
A flowchart and pseudocode are the same thing
• Question 11
30 seconds Q. What is the Output if the user enters:
Yes
Leave umbrella at home
Take an umbrella
• Question 12
30 seconds
Q. What does this symbol mean?
<
Greater Than
Less Than
• Question 13
30 seconds Q. What is this ?
Pseudocode
Flow chart
Syntax
• Question 14
30 seconds
Q. An identifier is the ‘name’ given to a variable. For example:
distanceToSchool = 10
What is the value of the variable?