Search Header Logo
Pseudocode IGCSE Revision

Pseudocode IGCSE Revision

Assessment

Presentation

Computers

10th Grade

Easy

Created by

Phil Collins

Used 5+ times

FREE Resource

0 Slides • 58 Questions

1

Multiple Choice

Question image

If a grade of 98 was inputted, what would be the output?

1

Passed

2

Failed

3

Else

2

Multiple Choice

What is selection?

1

Instructions are only executed if a TRUE or FALSE condition is met

2

The program chooses to execute whatever it pleases

3

Instructions are executed one at a time in list order

4

Instructions are repeated until a condition is met, creating a loop

3

Multiple Choice

What should be considered when designing an algorithm?

1

If there is more than one way of solving the problem

2

If the correct hardware is being used

3

If the correct software is being used

4

Multiple Choice

A boolean is...

1

A whole number

2

A number with a decimal part

3

Letters, numbers or punctuation

4

True or False

5

Multiple Choice

Question image

What control structure is being used in the pseudocode?

1

Sequence

2

Loop

3

Selection

4

Conditon

6

Multiple Choice

Question image

There is an error in the order of the statements in the pseudocode. What line is in the wrong place?

1

Line 6

2

Line 8

3

Line 14

4

Line 5

7

Open Ended

Question image

Explain how the loop in algorithm 1 is expected to terminate.

8

Open Ended

Question image

Explain how the loop in algorithm 2 is expected to terminate.

9

Multiple Choice

Which pseudocode statement is used for selection (conditional statements)?

1

IF . . .

ELSE . . .

END IF

2

IF . . .

ELSE . . .

LOOP

3

IS . . .

ELSE . . .

END IS

4

IF . . .

ELSE IF . . .

END IF

10

Multiple Choice

Which pseudocode statement is used for assignment?

1

SET counter = 0

2

ASSIGN counter = 0

3

counter = 0

4

STORE counter = 0

11

Multiple Choice

Which pseudocode statement is used to call a subroutine?

1

RUN

2

GOTO

3

CALL

4

EXECUTE

12

Multiple Choice

Question image

If the grade of 60 was input, what would be the output?

1

Passed

2

Failed

3

Else

13

Multiple Choice

An integer is...

1

A whole number

2

A number with a decimal part

3

Letters, numbers or punctuation

4

True or False

14

Multiple Choice

What are the two main ways that algorithms can be designed?

1

Images or videos

2

In pseudocode or as a flowchart

3

By hardware or software

15

Multiple Choice

A real is...

1

A whole number

2

A number with a decimal part

3

Letters, numbers or punctuation

4

True or False

16

Multiple Choice

What is iteration?

1

Instructions are only executed if a TRUE or FALSE condition is met

2

The program chooses to execute whatever it pleases

3

Instructions are executed one at a time in list order

4

Instructions are repeated until a condition is met, creating a loop

17

Multiple Choice

A string is...

1

A whole number

2

A number with a decimal part

3

Letters, numbers or punctuation

4

True or False

18

Multiple Choice

What is pseudocode?

1

A way of describing a set of instructions in text form

2

A specific programming language that all computers use

3

A diagrammatic representation of a set of instructions

19

Multiple Choice

The best data type for an age is...

1

integer

2

real

3

string

4

boolean

20

Multiple Choice

Question image

If the grade of 12 was input, what would be the output?

1

Passed

2

Failed

3

Else

21

Multiple Choice

What is a flowchart?

1

A flowchart is a text-based way of designing an algorithm

2

A flowchart is a specific programming language

3

A flowchart is a diagram that represents a set of instructions

22

Multiple Choice

The best data type for a name is...

1

integer

2

real

3

string

4

boolean

23

Multiple Choice

AND, OR, NOT are all examples of what?

1

Boolean Operators

2

Arithmetic Operators

3

Strings

4

Data Types

24

Multiple Choice

The best data type for an average is...

1

integer

2

real

3

string

4

boolean

25

Multiple Choice

What is the symbol for a decision in a flowchart?

1

A parallelogram

2

A diamond

3

A circle

26

Multiple Choice

The best data type for a counter is...

1

integer

2

real

3

string

4

boolean

27

Multiple Choice

Question image

What would the program output with the following inputs?

Payrate - 12

Hours Worked - 10

1

12

2

Final pay

3

OUTPUT

4

120

28

Multiple Choice

8.2 is a...

1

integer

2

real

3

string

4

boolean

29

Multiple Choice

Which of these is the correct symbol for a process in a flowchart?

1

A diamond

2

A rectangle

3

A parallelogram

30

Multiple Choice

2.0 is a...

1

integer

2

real

3

string

4

boolean

31

Multiple Choice

What does AND do?

1

Both conditions must be met to return true

2

Only one condition must be met to return true

3

No conditions must be met to return true

4

Inverses the condition

32

Multiple Choice

2 is a...

1

integer

2

real

3

string

4

boolean

33

Multiple Choice

How are symbols connected together in a flowchart?

1

Symbols do not get connected together in a flowchart

2

With lines and an arrow to show the direction of flow

3

By numbers

34

Multiple Choice

True is a...

1

integer

2

real

3

string

4

boolean

35

Multiple Choice

Question image

Fill in the first blank

1

Larger

2

IF

3

THEN

4

WHILE

36

Multiple Choice

"True" is a...

1

integer

2

real

3

string

4

boolean

37

Multiple Choice

Which symbol is used for a connector in a flowchart?

1

A parallelogram

2

A diamond

3

A circle

38

Multiple Choice

False is a...

1

integer

2

real

3

string

4

boolean

39

Multiple Choice

What does OR do?

1

Both conditions must be met to return true

2

Only one condition must be met to return true

3

No conditions must be met to return true

4

Inverses the condition

40

Multiple Choice

"Hello" is a...

1

integer

2

real

3

string

4

boolean

41

Multiple Choice

When can algorithms be used?

1

Only with computers

2

To design a solution to any problem

3

For programming

42

Multiple Choice

Question image

Fill in the blank

1

OUTPUT

2

ENDIF

3

THEN

4

INPUT

43

Multiple Choice

What is important to remember when designing an algorithm?

1

whether to use a flowchart or pseudocode

2

the instructions are in the correct order

3

that it must be easy to read

44

Multiple Choice

What does NOT do?

1

Both conditions must be met to return true

2

Only one condition must be met to return true

3

No conditions must be met to return true

4

Inverses the condition

45

Multiple Choice

Question image

This program is meant display the phrase "Coding is cool" multiple times.


Fill in the blank.

1

INPUT

2

WHILE

3

OUTPUT

4

LOOP

46

Multiple Choice

What does the following code do?

if goodGrades == TRUE then

print("Congratulations!")

end if

1

If a condition is met, prints a message to the screen

2

Prints a message

3

Creates a loop

4

Take an input from the user

47

Multiple Choice

Question image

What happens when the grade counter reaches 10.


Remember: <= means less than or equal to

1

We add 1 to the grade counter

2

The while loop keeps going

3

We output out the average

4

We end the while loop

48

Multiple Choice

What does this code do?


while answerIsWrong == TRUE

print("What is the answer?")

1

Creates a loop

2

Takes an input from the user

3

Creates a string

4

Calculates Pi

49

Multiple Choice

Question image

What happens when the grade counter reaches 11.


Remember: <= means less than or equal to

1

We add 1 to the grade counter

2

The while loop keeps going

3

We output out the average

4

We end the while loop

50

Match

Match the following

Boolean

String

Character

Real

Integer

Stores only true or false

Can store multiple characters

Can store a single character

Can store decimal numbers

Can store only whole numbers

51

Fill in the Blanks

Type answer...

52

Drag and Drop

A ​
is a space in memory used to store data. These can store different types of data such as ​
which allow us to store multiple characters. Another ​
is a ​
which allows us to store only true and false values.
Drag these tiles and drop them in the correct blank above
variable
strings
data type
Boolean
box

53

Hotspot

Identify the key words in the pseudocode shown. [Click on the words]

54

Dropdown

The type of test that checks if something it at the edge of the allowed inputs is called ​
testing. Checking data that is incorrect, or outside of what should be allowed is called ​
testing. ​
testing is when you check the inputs that should be allowed.

55

Multiple Choice

A function returns a value.

1

True

2

False

56

Multiple Choice

A subroutine must accept parameters.

1

True

2

False

57

Labelling

Lebel the flowchart symbols correctly.

Drag labels to their correct position on the image

Decision

Process

Input/Output

Terminal

58

Drag and Drop

The following array has ​
elements. The first element will have the index of ​
. The last element will have the index of ​
.myArray = ['a', 'f', 'r', 'p', 'b']

Drag these tiles and drop them in the correct blank above
5
1
4
6
3
b
Question image

If a grade of 98 was inputted, what would be the output?

1

Passed

2

Failed

3

Else

Show answer

Auto Play

Slide 1 / 58

MULTIPLE CHOICE