wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Programming - PSEUDOCODE (IGCSE)

Total questions: 20

Worksheet time: 39mins

Name
Class
Date
1.

Which are the lines that contains errors

a)

3,4,6,7

b)

5,6,7,9

c)

5,6,8,9

d)

2,3,4,9

e)

Honestly , I don't know

2.

State the data type of the variable MyName

MyName = "Dhoni"

a)

CHAR

b)

STRING

c)

INTEGER

d)

REAL

e)

Honestly , I don't know

3.

What will be the output of the following statement:

MyName = "Bill" + 23

a)

Bill23

b)

BillW

c)

Error

d)

None of the above

e)

Honestly , I don't know

4.

What is the following statement?


MyName = "Bill Gates"

a)

Sequence

b)

Selection

c)

Iteration

d)

Assignment

e)

Honestly , I don't know

5.

Who is the first Lady Programmer?

a)

Lady Mo Blanc

b)

Lady Ada Base

c)

Lady Ada Lovelace

d)

Lady Maria

e)

Honestly , I don't know

6.

What data type can I use for telling the Gender variable like below?


Gender = 'F'

Gender = 'M'

a)

STRING

b)

ARRAY

c)

CHAR

d)

INTEGER

e)

Honestly , I don't know

7.

What will be the output of the following code?


A = 23

B = 12

C = 2

D = (A+B) * C

PRINT D

a)

47

b)

35

c)

70

d)

140

e)

Honestly , I don't know

8.

What will be the output for the following code?


A = 9

B = 1

C = 2

D = 3

E = A * C + B * D - A / D

PRINT E

a)

21

b)

17

c)

19

d)

18

e)

Honestly , I don't know

9.

What will be the output for the following code?


A = 9

B = 1

C = 2

D = 3

E = A *( C + B )* (D - A) / D

PRINT E

a)

Error

b)

-3

c)

-54

d)

4

e)

Honestly , I don't know

10.
a)

Outstanding, go and stand out ;-)

b)

I am Bahubali

c)

Excellent , how did you do this

d)

Thala Dhoni Fans

e)

Honestly , I don't know

11.
a)

Outstanding, go and stand out ;-)

b)

Excellent , how did you do this

c)

I am Bahubali

d)

Thala Dhoni Fans

e)

Honestly , I don't know

12.

IF statement is a ___________________________ statement?

a)

Assignment

b)

Sequence

c)

Selection

d)

Loop

e)

Honestly , I don't know

13.
a)

Age is equal to 18

b)

Age is not equal to 18

c)

Error

d)

None of the above

e)

Honestly, I don't know

14.
a)

Age is equal to 18

b)

Age is not equal to 18

c)

Age is greater than 18

d)

Age is greater than or equal to 18

e)

Honestly , I don't know

15.
a)

The age is greater than 18 and less than 100

b)

The age is greater than 100

c)

Age is not equal to 18

d)

Error

e)

Honestly, I don't know

16.

What we call if we have an IF statement inside an IF statement?

a)

Loop

b)

Nested IF

c)

IF container

d)

Condition of Condition

e)

Honestly, I don't know

17.

What are these statements are called?

  1. FOR ... TO ... NEXT
  2. REPEAT ... UNTIL
  3. WHILE ... DO ... ENDWHILE
a)

Sequence

b)

Selection

c)

Conditional Select

d)

Loop / Repetition / Iteration

e)

Honestly, I don't know

18.
a)

30 times

b)

31 times

c)

29 times

d)

28 times

e)

Honestly, I don't know

19.
a)

*

*

*

*

b)

*

1

*

2

2

c)

*

*

2

d)

*

*

e)

Honestly, I don't know

20.
a)

*

*

*

*

b)

*

1

*

2

c)

*

*

2

d)

*

*

e)

Honestly, I don't know