WorksheetsALGORITHM, PSEUDOCODE & FLOWCHART
Total questions: 10
Worksheet time: 2mins
How should pseudocode be written?
Abstract and generalized
Including syntax errors
With complex naming conventions
Simple and concise
After the algorithm processes data, where is the result typically sent?
Output
Input
Process
Storage
Which symbol in a flowchart represents a decision?
Hexagon
Diamond
Parallelogram
Rectangle
Which part of an algorithm involves performing operations on data?
Input
Storage
Process
Output
What is pseudocode?
A formal programming language
A detailed yet readable description of what a computer program or algorithm should do.
A machine language
Code written in a specific programming language
What is flowchart?
An encryption method
A debugging tool
A graphical representation of an algorithm
A detailed program output
Which part of the program is responsible for performing the actual subtraction operation to find the difference of the numbers?
Variables declaration
Input statements
Output display
Calculation process
What is a programming algorithm?
Set of rules to be followed by a computer program.
A sequence of code for a specific task
An error in coding
A type of computer virus
What is the first step in creating an algorithm for a program that displays the difference of 2 numbers inputted by the user?
Identify the variables needed
Write the input statements
Calculate the difference of the two numbers
Display the result to the user
In pseudocode, which of the following represents an input statement for getting the first number from the user?
OUTPUT "Enter the first number"
GET firstNumber
READ firstNumber
INPUT firstNumber
