NEW
Font size
WorksheetsALGORITHM AND FLOWCHART
Total questions: 51
Worksheet time: 3hrs 59mins
Algorithm is a
Step by step procedure
difficult procedure
complex
hard steps
Flowchart are ____________________________ in nature.
Easy
Simple
Complex
Hard
______________________ is a pictorial representation of steps.
Algorithm
Flowchart
Connectors
Flowlines
What are the three algorithm constructs?
Sequence, selection, repetition
Input, output, process
Input/output, decision, terminator
Loop, input/output, process
What is the difference between a flowchart and pseudocode?
A flowchart is diagrammatic whilst pseudo code is written in a programming language (eg. Pascal or Java)
flowchart is textual but pseudo code is diagrammatic
A flowchart is a diagrammatic description of an algorithm whilst pseudo code is a textual description of an algorithm
A flowchart and pseudo-code are the same thing
The ordering of steps in algorithm is Process,
input, output.
True
False
Any shapes can be used for drawing flowchart.
True
False
Only one arrow should enter the decision box.
True
False
What does this symbol represent?
Input/Output
Start
Stop
Decision
What does an arrow represent in a flow chart
Decision making
Data Flow
Start
Stop
What is an Algorithm?
A set of instructions in order
A task for the computer
What is the purpose of a flowchart?
To plan the program before it is made
Because it is easier
A diagram to show each step in solving a problem is a____________?
Flowchart
Algorithm
A flowchart does not need to have a Start
True
False
What symbol do flowcharts begin with?
oval
parallelogram
rectangle
diamond
What symbol shows something you need to do?
oval
parallelogram
rectangle
diamond
How do you repeat things in a Flowchart?
Loop
Start/Stop
Play
What is a flowchart symbol?
Specific shape used to create a visual representation of the program
It is a directional symbol for traffic
it shows a connection
words that flow with the chart
What does the Start/End symbol do?
Ends the program Only
Can be used to show the beginning or ending of a program.
Visual representation of the entire program
Starts the program Only
A parallelogram indicates.......................
input/output
process
input
output
What's missing from this part of a flowchart?
An Arrow
A Line
A Square
A Diamond
What is the purpose of an arrow in a flowchart?
Shows the relationships between shapes/ the flow of information
They look nice when we use them
We don't use arrows
Shows the way the arrow is directed
How many arrows should come out of a decision symbol in a flowchart?
0
1
2
3
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?
Decision
Loop
Sequence
All of the above
In a flowchart a calculation (process) is represented by
A rectangle
A rhombus
A parallelogram
A circle
What will be displayed as output?
10
20
30
40
Assume n1 = 10 ... n2 = 2 ... n3 = 2
What will be displayed as output?
10
20
30
40
What is the Output if the user enters:
Yes
Leave umbrella at home
Take an umbrella
What is the Output if the temperature is:
19
Below Freezing
Above Freezing
Assume n1 = 6 ... n2 = 4 ... n3 = 2
What will be displayed as output?
3
4
5
6
Assume n1 = 10 ... n2 = 20
What will be displayed as output?
10
20
A symbol that leads to two possibilities in a flow chart is known as a...
loop
decision
end
sequence
A symbol that automatically performs an action in a flow chart is known as a...
sequence
input / output
decision
wait
A section in a flowchart that requires an action from a user is known as a...
decision
loop
wait
input
A section of flowchart that happens continuously is known as a...
loop
wait
decision
input / output
A benefit of using flowcharts is:
They help you program faster
They write the program for you
They are easier
They help you to visually plan a program
Using a flow chart to plan a program is known as...
decomposition
abstraction
planning
programming
A section in a flowchart that displays a message to a user is known as a...
output
decision
sequence
wait
What type of flowchart is shown here?
selection
iteration / loop
sequence
What type of flowchart is shown here?
selection
iteration
sequence
A symbol that starts or ends a flow chart is known as a...
terminator
decision
loop
sequence
Another name for a terminator in a flow chart is...
start / end
decision
process
data input / output
This refers to a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.
Pseudocode
Flowchart
Algorithm
Design Documentation
This refers to a description of an algorithm of a computer program using natural language.
Pseudocode
Flowchart
Data Types
Design Documentation
This is the ___________ in the basic flowchart symbols.
Decision Symbol
Process Symbol
Terminal Symbol
Connector Symbol
This is the ___________ in the basic flowchart symbols.
Decision Symbol
Process Symbol
Terminal Symbol
Connector Symbol
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
An Algorithm asks the user to enter their gender (M or F) and prints out a different comment depending on what they entered.
This is an example of which of the algorithm constructs?
Decision (Selection)
Loop (Iteration)
Order (Sequence)
All of the above
