wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

1 - Pseudocode

Total questions: 15

Worksheet time: 3mins

Name
Class
Date
1.

"A loop that will iterate at least once" describes which pseudocode programming statement?

a)

FOR...TO...NEXT

b)

IF...THEN...ELSE...END IF

c)

WHILE...DO...ENDWHILE

d)

REPEAT...UNTIL

e)

CASE...OF...OTHERWISE...ENDCASE

2.

"A conditional statement to deal with many possible outcomes" describes which pseudocode programming statement?

a)

FOR...TO...NEXT

b)

IF...THEN...ELSE...END IF

c)

WHILE...DO...ENDWHILE

d)

REPEAT...UNTIL

e)

CASE...OF...OTHERWISE...ENDCASE

3.

"A loop that will iterate a set number of times" describes which pseudocode programming statement?

a)

FOR...TO...NEXT

b)

IF...THEN...ELSE...END IF

c)

WHILE...DO...ENDWHILE

d)

REPEAT...UNTIL

e)

CASE...OF...OTHERWISE...ENDCASE

4.

"A conditional statement with different outcomes for true and false" describes which pseudocode programming statement?

a)

FOR...TO...NEXT

b)

IF...THEN...ELSE...END IF

c)

WHILE...DO...ENDWHILE

d)

REPEAT...UNTIL

e)

CASE...OF...OTHERWISE...ENDCASE

5.

Is the following statement true?


"A structure diagram is a piece of code that is available throughout the structure of a program"

a)

True

b)

False

6.

Is the following statement true?


"A structure diagram shows the hierarchy of a system"

a)

True

b)

False

7.

Is the following statement true?


"A structure diagram is another name for an array"

a)

True

b)

False

8.

Is the following statement true?


"A structure diagram shows the relationship between different components of a system"

a)

True

b)

False

9.

Which of the following is not a data type in Python?

a)

String

b)

Char

c)

Integer

d)

Real

e)

Boolean

10.

Which of the following are loop structures?

a)

For Loop

b)

While Loop

c)

Repeat Loop

d)

If Loop

11.

(a)   statement is an example of a selection statement.

12.

A (a)   check is a validation check that checks the length of a string.

13.

A (a)   check is a validation check that checks that the user has entered a value.

14.

A (a)   check is a validation check that ensures the user enters a value between two numbers, potentially inclusive of those numbers too.

15.

A (a)   check is a validation check that ensures the user has input their data in the correct format.