wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Higher SDD Revision

Total questions: 20

Worksheet time: 16mins

Name
Class
Date
1.

Which standard algorithm is this?

a)

Find minimum

b)

Count occurrences

c)

Linear search

d)

Find maximum

2.

Which standard algorithm is this?

a)

Find minimum

b)

Count occurrences

c)

Linear search

d)

Find maximum

3.

Which standard algorithm is this?

a)

Find minimum

b)

Count occurrences

c)

Linear search

d)

Find maximum

4.

Tick all formal parameters:

a)

emails

b)

uniques

c)

list

d)

newList

5.

Tick all actual parameters:

a)

emails

b)

uniques

c)

list

d)

newList

6.

Which pre-defined function would be used to create this substring?

a)

mid

b)

mod

c)

len

d)

char

7.

Which pre-defined function returns the remainder of a calculation?

(a)  

8.

Which pre-defined function returns the keyboard character of an ascii code?

(a)  

9.

Which pre-defined function returns the ascii code of a keyboard character?

(a)  

10.

Structure pupildata

Dim forename as string

Dim surname as string

Dim yeargroup as integer

Dim testavg as single

End structure


How would an array of 20 pupils be declared using the record structure above?

a)

Dim allpupils(20) as pupildata

b)

Dim pupildata(20) as string

c)

Dim pupildata(20) as structure

d)

Dim allpupils as pupildata(20)

11.

Which development process involves regular client feedback and the creation of prototypes?

a)

iterative process

b)

agile methodologies

12.

Which testing tool can be used to halt the execution of a program when a variable's value is altered?

a)

watchpoint

b)

breakpoint

c)

dry run

d)

trace table

13.

State the scope of the variable uniques

a)

global

b)

local

14.

Which of these terms means the program can cope with errors without crashing?

a)

fit for purpose

b)

usable

c)

maintainable

d)

robust

15.

Which of these terms means the solution does exactly as the requirements outline?

a)

fit for purpose

b)

usable

c)

maintainable

d)

robust

16.

Which variable type can only be accessed by the procedure it is declared in?

a)

global

b)

local

17.

An unexpected input is entered into a program. Which type of error would this result in?

a)

Execution

b)

Logic

c)

Syntax

18.

State one way to make code more readable.

(a)  

19.

What is the purpose of the visual basic code:

openmode.input?

a)

opens a file for read access

b)

opens a file for write access

20.

How would a parameter be passed if the value requires updating?

a)

byref

b)

byval