What is a set of steps carried out in the correct order to complete a task?
An algorithm
What is pseudocode mainly used for?
Planning and designing a program
Which keyword gets data entered by the user?
INPUT
Which flowchart shape represents Start or End?
Oval / Terminator
What is a variable?
A named place that stores one item of data
What is a plan for a program written as clear step-by-step instructions?
Pseudocode
Should good pseudocode have one instruction per line?
Yes
Which keyword displays data to the user?
OUTPUT
Which flowchart shape represents a process or calculation?
Rectangle
If a = 6 and b = 4, what is a + b?
10
Why do we use algorithms?
To give clear steps for completing a task
Should a pseudocode algorithm have a clear start and end?
Yes
Which keyword is used to store a value?
SET
Which flowchart shape represents INPUT and OUTPUT?
Parallelogram
If x = 5 and y = x + 2, what is y?
7
What should the steps in an algorithm be?
In the correct order
Is pseudocode a real programming language that runs directly on a computer?
No
If a program asks the user for their name, which keyword would be used?
INPUT
What does an arrow in a flowchart show?
The order to follow
If x = 5 and y = 7, then SET x = x + y. What is x?
12
A sandwich recipe with steps in the wrong order needs to be rearranged. What is important when creating an algorithm?
The steps must be in the correct sequence
Name one thing that makes pseudocode well-written.
Clear instructions / one instruction per line / clear start and end
If a program needs to show the user's name on the screen, which keyword would be used?
OUTPUT
What flowchart shape would be used for SET area = length × width?
Rectangle / Process
What is the final OUTPUT of this pseudocode?
SET x = 5 SET y = x + 2 SET x = x + y OUTPUT x