NEW
Font size
WorksheetsAlgorithms - Pseudocode & Flowcharts
Total questions: 39
Worksheet time: 47mins
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 vibes you are on.
What are the two main ways that algorithms can be designed?
Images or videos
In pseudocode or as a flowchart
By hardware or software
By asking Mr. Ahmed to help you.
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
Which of these is the correct symbol for a process in a flowchart?
A diamond
A rectangle
A parallelogram
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
When can algorithms be used?
Only with computers
To design a solution to any problem
For programming
What is important to remember when designing an algorithm?
whether to use a flowchart or pseudocode
the instructions are in the correct order
that it must be easy to read
Computer programming is a way of giving computers _______ about what they should do next
Answers
Reasons
Steps
Instructions
An algorithm includes _______, _________and _________.
reasoning, steps, and variables
graphs, steps, and solution
Calculations, reasoning, and data processing
All of these
Algorithms can be presented by natural languages, pseudocode and flowcharts, etc.
True
False
How many basic shapes are there to make flowchart?
6
5
4
8
flowcharts are can not be used as a program planning tool to visually organize the step-by-step process of a program.
True
False
Pseudocode is a precise form of an Algorithm without ________
Flowchart
Code
unnecessary steps of vocabulary/words.
None of these
Write an algorithm to ask the user to enter the price of an item, then calculate and display the total amount a customer will pay for 5 such items.
What should be written in part 1 of the flow chart
Start
Stop
calculate
Output
Write an algorithm to ask the user to enter the price of an item, then calculate and display the total amount a customer will pay for 5 such items.
What is the best answer for step 2?
start
stop
Print "Enter price"
Print price
Write an algorithm to ask the user to enter the price of an item, then calculate and display the total amount a customer will pay for 5 such items.
Select the best answer for step 3.
Stop
Display price
Print price
Read price
Write an algorithm to ask the user to enter the price of an item, then calculate and display the total amount a customer will pay for 5 such items.
Select the best answer for step 4.
total = price *5
total = price
read total
print total
Write an algorithm to ask the user to enter the price of an item, then calculate and display the total amount a customer will pay for 5 such items.
Select the best answer for step 5.
read total
read price
print price
print total
Write an algorithm to ask the user to enter the price of an item, then calculate and display the total amount a customer will pay for 5 such items.
Select the best answer for step 6.
Start
Stop
Read
Write an algorithm, in pseudocode, to accept the length, breadth and height of a cuboid and display the volume.
Which of the following is step 1?
end
continue
stop
start
Write an algorithm, in pseudocode, to accept the length, breadth and height of a cuboid and display the volume.
Which of the following is step 2?
Print "Enter the length, breadth and height"
Print length
v = L*B*H
Print "Enter the volume"
Write an algorithm, in pseudocode, to accept the length, breadth and height of a cuboid and display the volume.
Which of the following is step 3?
Print L, B, H
L = B*H*V
Read L,B, H
STOP
Write an algorithm, in pseudocode, to accept the length, breadth and height of a cuboid and display the volume.
Which of the following is step 4?
Print "Enter volume"
Read V
Stop here
V = L* B* H
Write an algorithm, in pseudocode, to accept the length, breadth and height of a cuboid and display the volume.
Which of the following is step 5?
Print V
Read V
Calculate V
Start
Write an algorithm, in pseudocode, to accept the length, breadth and height of a cuboid and display the volume.
Which of the following is step 6?
Start
Read
Stop
Process
A logical step-by-step process for solving a problem is called
Binary Numbers
Coding
Algorithms
A diagram that represents a set of instructions is called:
Flow Chart
Pseudocode
Shapes
A simple way of describing a set of instructions that does not have to use specific syntax is called:
Flow Chart
Pseudocode
Shapes
Data sent from a Computer is called
Input
Output
Process
An instruction or a command in a flowchart is called:
Input
Process
Output
