Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

ALGORITHM, PSEUDOCODE & FLOWCHART

Total questions: 10

Worksheet time: 2mins

Name
Class
Date
1.

How should pseudocode be written?

a)

Abstract and generalized

b)

Including syntax errors

c)

With complex naming conventions

d)

Simple and concise

2.

After the algorithm processes data, where is the result typically sent?

a)

Output

b)

Input

c)

Process

d)

Storage

3.

Which symbol in a flowchart represents a decision?

a)

Hexagon

b)

Diamond

c)

Parallelogram

d)

Rectangle

4.

Which part of an algorithm involves performing operations on data?

a)

Input

b)

Storage

c)

Process

d)

Output

5.

What is pseudocode?

a)

A formal programming language

b)

A detailed yet readable description of what a computer program or algorithm should do.

c)

A machine language

d)

Code written in a specific programming language

6.

What is flowchart?

a)

An encryption method

b)

A debugging tool

c)

A graphical representation of an algorithm

d)

A detailed program output

7.

Which part of the program is responsible for performing the actual subtraction operation to find the difference of the numbers?

a)

Variables declaration

b)

Input statements

c)

Output display

d)

Calculation process

8.

What is a programming algorithm?

a)

Set of rules to be followed by a computer program.

b)

A sequence of code for a specific task

c)

An error in coding

d)

A type of computer virus

9.

What is the first step in creating an algorithm for a program that displays the difference of 2 numbers inputted by the user?

a)

Identify the variables needed

b)

Write the input statements

c)

Calculate the difference of the two numbers

d)

Display the result to the user

10.

In pseudocode, which of the following represents an input statement for getting the first number from the user?

a)

OUTPUT "Enter the first number"

b)

GET firstNumber

c)

READ firstNumber

d)

INPUT firstNumber