wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Program Implementation

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Which of the following languages is ONLY understood by computers

a)

4GLs

b)

Machine Languages

c)

Natural Languages

d)

Procedural languages

2.

Errors that occur in a program that we can see and change are:

a)

Syntax errors

b)

Logical errors

c)

Execution errors

d)

Run-time errors

3.

A program was written but nothing worked at the end

a)

Syntax errors

b)

Logical errors

c)

Execution errors

d)

Run-time errors

4.

Which of the following is NOT type of program error

a)

Logic error

b)

Syntax error

c)

Run time error

d)

Debug

5.

Which of the following is an example of a conditional construct?

a)

F-Next

b)

If-then-else

c)

While-endwhile

d)

For-endfor

6.

Which of the following reserved words in Pascal displays data and replaces 'print'

a)

readln

b)

writeln

c)

begin

d)

const

7.

Which of the following identifiers is NOT a valid variable name?

a)

Input

b)

totalCost

c)

9Count

d)

Num_Count

8.

The term used to describe a memory location whose value changes during program execution

a)

Constant

b)

Volatile

c)

Variable

d)

Dynamic

9.

Which data type would we use to store student age?

a)

Real

b)

String

c)

Integer

d)

Char

10.

_________ data type would be best used to store the first initial of students names.

a)

Real

b)

String

c)

Integer

d)

Char

11.

Which of the following symbols is used to perform assignments in the programming language Pascal?

a)

=

b)

:=

c)

<--

d)

==

12.

What is the MOST appropriate control structure to be used in calculating the total of 10 numbers?

a)

if-then-else

b)

repeat-until

c)

while-do

d)

for-do

13.

Which of the following is a valid Pascal data type?

a)

Numeric

b)

Real

c)

Number

d)

Letter

14.

The terms "END" and "STOP" used in algorithms are called:

a)

loops

b)

outputs

c)

processes

d)

terminators

15.

The following is known as ________ in algorithm:

c= a+b

a)

Input/Output

b)

Terminal

c)

Process

d)

Directional Flow