wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Revision Quiz 3

Total questions: 30

Worksheet time: 30mins

Name
Class
Date
1.

When the hen is ready to lay her eggs, then and only then will the hen find a secluded spot to lay them.
When using the Find and Replace editing feature in a word processing program, without using the ‘whole words only’ option, how many occurrences of “hen” would be found in the sentence above?

a)

2

b)

3

c)

4

d)

5

2.

When the hen is ready to lay her eggs, then and only then will the hen find a secluded spot to lay them.
Which of the following features would be LEAST efficient when using the Find and Replace dialogue box to replace all occurrences of the word “hen” with the word “duck”?

a)

Skipping to each individual occurrence

b)

Having the text in parts of words replaced

c)

Finding each exact occurrence of the word “hen”

d)

Finding the word “hen” using ‘whole words only’

3.

Which of the following formulas will display the exercise name “Zumba” in any cell where the formula is placed?

a)

=VLOOKUP(G4, A18:C22, 2, FALSE)

b)

=VLOOKUP(G5, A18:C22, 2, FALSE)

c)

=VLOOKUP(G4, A18:C22, 3, FALSE)

d)

=VLOOKUP(G10, A18:C22, 2, FALSE)

4.

Which of the following formulas will count the number of customers whose gender is equal to M in Column D?

a)

=COUNT(D1:D10, "M")

b)

=COUNTA(D2:D10, "M")

c)

=COUNTIF(D1:D10, "M")

d)

=COUNTIF(D2:D10, "M")

5.

What type of cell referencing will replicate a formula that uses fixed cells?
I. Relative
II. Absolute
III. Mixed

a)

I and II only

b)

I and III only

c)

II and III only

d)

I, II and III

6.

Which of the following features would give you the old and new versions of a previously saved document when using a word processor?

a)

SAVE AS with file extension

b)

SAVE AS with the old filename

c)

SAVE AS with a new file type

d)

SAVE AS with a new filename

7.

The field that uniquely identifies a record in a database is called the

a)

foreign key

b)

primary key

c)

alternate key

d)

secondary key

8.

Which of the following steps is required to centre text across a range of cells in a spreadsheet?

a)

Copy the text across the cells.

b)

Merge the cells and then centre the text.

c)

Centre the text and then merge the cells.

d)

Type the text in the middle of the cells.

9.

If A > B Then Print(A);

a)

Reads two numbers and prints the first number

b)

Reads two numbers and prints the smaller number

c)

Reads two numbers and prints the first number if it is smaller than the second number

d)

Reads two numbers and prints the first number if it is larger than the second number

10.

Which FOR statement below has the correct high-level language syntax to print the 7 times table from 1 to 12?

a)

FOR count = 0 to 12 DO…END

b)

FOR count = 1 DOWNTO 12…END

c)

FOR count = 12 DOWNTO 1…ENDFOR

d)

FOR count = 1 to 12 DO…ENDFOR

11.

When implementing a program, which of the following steps comes after executing?

a)

Linking

b)

Compiling

c)

Maintaining

d)

Interpreting

12.

What is the name given to an identifier pi = 3.14 that always holds the same value?

a)

Constant

b)

Location

c)

Variable

d)

Storage

13.

Which of the following terms is an invalid variable name?

a)

Sum

b)

Count2

c)

Vat15%

d)

Count

14.

The decision box of a program flow chart shows the

a)

link to another page

b)

test to be carried out

c)

calculations to be done

d)

input and output operators

15.

A variable called class_avg to store exam average should be of what data type?

a)

Real

b)

Integer

c)

Boolean

d)

Character

16.

I. Ask users for length and width

II. length, width

III. area ← length * width

Which option replaces I, II, III correctly?

a)

Read, process, prompt

b)

Process, read, prompt

c)

Prompt, read, process

d)

Read, prompt, process

17.

Which construct executes statements and tests condition at the bottom of the loop?

a)

For Do

b)

While Do

c)

If-then-Else

d)

Repeat Until

18.

The number of __________ in an algorithm determines the number of rows in a trace table.

a)

constants

b)

variables

c)

computations

d)

passes

19.

Which of the following statements about conditional branching is TRUE?

a)

It is implemented using loop structures.

b)

It is one of four program flow constructs.

c)

It is a part of the decision-making structure in a program.

d)

It is expressed using keywords such as FOR and WHILE.

20.

Which statement checks if X is the same or less than Y?

a)

if X W?

b)

arithmetic

c)

conditional

d)

relational

21.

READ T, W IF T = W THEN PRINT "YES" ELSE T ← W * 2

If 3 and 4 are input, what is T?

a)

3

b)

4

c)

6

d)

8

22.

A language that uses PUSH, CALL, RET is MOST LIKELY

a)

a low-level language

b)

a high-level language

c)

Visual BASIC

d)

C

23.

Paul wrote a program which he translated and executed using two different sets of test data. Both tests produced incorrect results.
Incorrect results from both tests likely indicate a(n) __________ error.

a)

divide-by-zero

b)

logic

c)

run-time

d)

syntax

24.

Paul wrote a program which he translated and executed using two different sets of test data. Both tests produced incorrect results.
Paul added output statements to observe variable values during execution. This process is called

a)

compiling

b)

debugging

c)

testing

d)

watching

25.

A program is written using a high-level language featuring a count-controlled loop. The program has a statement that initializes the total variable with zero. The program was translated and executed. However, the output was zero, regardless of what input values were entered. The first three lines of program code are shown below:

inputVal = -1 

total = 0 

WHILE inputVal < 0
WHILE inputVal < 0 loop type ends based on user input variable?

a)

I and II

b)

II only

c)

II and III

d)

III only

26.

inputVal = -1 total = 0 WHILE inputVal < 0 Which statement type is NOT shown?

a)

input

b)

assignment

c)

loop

d)

iteration

27.

The flowchart segment below depicts all except:

a)

finite steps

b)

unambiguous instructions

c)

flow of control

d)

terminating condition

28.

Which expression solves: Product = n1 * n2 Sum = n2 + n3 Answer = Product - Sum

a)

answer ← n1 * n2 + n2 - n3

b)

answer ← n1 * n2 - n2 + n3

c)

answer ← n1 * n2 - (n2 + n3)

d)

answer ← (n1 * n2) - (n2 + n3)

29.

What is the minimum number of variables to compute and display the average of two numbers?

a)

none

b)

two

c)

three

d)

four

30.

MOST helpful to a programmer maintaining someone else’s code?

a)

source code

b)

translation listing

c)

internal documentation

d)

external documentation