wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

atleast 4 characters

Total questions: 10

Worksheet time: 8mins

Name
Class
Date
1.

What is the correct order?

a)

Abstraction --> decomposition --> data modelling --> pattern recognition --> algorithm design

b)

Pattern recognition --> data modelling --> abstraction --> decomposition --> algorithm design

c)

Algorithm design --> data modelling --> decomposition --> abstraction --> pattern recognition

d)

Data modelling --> decomposition --> algorithm design --> pattern recognition --> abstraction

2.

Which is an example of using a procedure?

a)

OUTPUT Biden_Blast(9001)

b)

CALL Me_Maybe

c)

CALL (Me_Maybe)

d)

OUTPUT (BidenBlast(9001))

3.

Which are not examples of loops?

a)

IF... THEN... ELSE

b)

WHILE... DO

c)

REPEAT... UNTIL

d)

FOR... TO... NEXT

4.

How do you declare a record in pseudocode?

(a)  

5.

What is the pseudocode used to append writing to a text file?

a)

READFILE <filename>, <stringvalue>

b)

APPENDFILE <filename>, <stringvalue>

c)

WRITEFILE <filename>, <stringvalue>

d)

OPENFILE <filename>, <stringvalue>

6.

What is the concept of moving items in queues?

a)

LIFO

b)

FILO

c)

LILO

d)

FIFO

7.

Which are not the correct priorities?

a)

AND --> OR --> NOT

b)

NOT --> OR --> AND

c)

OR --> NOT --> AND

d)

NOT --> AND --> OR

8.

Which PDLC model is this?

a)

Obamahameha

b)

Waterfall model

c)

RAD model

d)

iterative model

9.

Which are examples of errors in coding in the book?

a)

syntax error

b)

compiling error

c)

runtime error

d)

logic error

10.

What is white-box testing?

a)

testing every path through the program code

b)

Trumpinator

c)

Comparing expected results with actual results once the program is run

d)

Checking the execution of an algorithm by recording variables in a trace table