WorksheetsFlowchart, Algorithm & Pseudo code
Total questions: 37
Worksheet time: 19mins
What should be considered when designing an algorithm?
If there is more than one way of solving the problem
If the correct hardware is being used
If the correct software is being used
What are the two main ways that algorithms can be designed?
Images or videos
In pseudocode or as a flowchart
By hardware or software
What is pseudocode?
A way of describing a set of instructions in text form
A specific programming language that all computers use
A diagrammatic representation of a set of instructions
What is a flowchart?
A flowchart is a text-based way of designing an algorithm
A flowchart is a specific programming language
A flowchart is a diagram that represents a set of instructions
What is the symbol for a decision in a flowchart?
A parallelogram
A diamond
A circle
How are symbols connected together in a flowchart?
Symbols do not get connected together in a flowchart
With lines and an arrow to show the direction of flow
By numbers
Which symbol is used for a connector in a flowchart?
A parallelogram
A diamond
A circle
What are the three types of control structure?
Sequence, selection, repetition
Input, output, process
Input/output, decision, terminator
Loop, input/output, process
A flowchart needs to represent the a situation where for each mark a student is award 'Pass' or 'Fail'...the system will consider the mark and if it's 50 or over award 'Pass', else it awards 'Fail'. This is an example of which of the algorithm constructs?
Selection
Repetition
Sequence
All of the above
When you write an algorithm, the order of the instruction is very important.
True
False
To repeat a task number of times, we use
input statement
conditional statement
loop statement
output statement
IF........THEN........ELSE........ENDIF check for
One condition
Two conditions
Three conditions
More than three conditions
A diagram that represents a set of instructions is called:
Flow Chart
Pseudocode
Shapes
A diagram that represents a set of instructions is called:
Flow Chart
Pseudocode
Shapes
What is a sequence
Putting and executing instructions in order.
A pattern of numbers.
Instructions which a computer follows.
A line of code
Yes
What will be displayed as output?
distanceToSchool = 10
What is the value of the variable?
What does selection mean?
Selection is following instructions in order.
Selection is to repeat something over and over again
Selection is when you have a choice of options
Selection is choosing the best option
What is iteration?
This is choosing what to do next
This means doing something in order
It is repeating something over and over again.
It is writing pseudocode
Campus ID
