wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Higher SDD 1

Total questions: 16

Worksheet time: 11mins

Name
Class
Date
1.

Which standard algorithm is depicted in the image?

a)

Finding Maximum

b)

Linear Search

c)

Finding Minimum

d)

Count Occurence

e)

No Standard Algorithm

2.

What is described here?

A manual check of all variables as a program is 'executed', often carried out using pen and paper.

a)

Watch Point

b)

Dry Run

c)

Trace Table

d)

Break Point

3.

What best fully describes the scenario shown in the image?

a)

An array of records is present

b)

A series of parallel arrays are present

c)

A record structure is present

d)

A series of two dimensional arrays are present

4.

How many parallel arrays are present in the image shown?

a)

10

b)

5

c)

4

d)

49

e)

1

5.

Which standard algorithm is shown in the image?

a)

Linear Search

b)

Finding Maximum

c)

Finding Minimum

d)

Count Occurence

e)

No Standard Algorithm

6.

How many global variables are declared in the top level of a program shown here?

a)

1

b)

2

c)

3

d)

6

7.

Identify the actual parameters in the image.

a)

processor

b)

points

c)

count

d)

process

e)

counter

8.

Which of the following statements are true in distinguishing a function from a procedure?

a)

A function always returns a single value.

b)

A function uses a number of parameters.

c)

A function uses a Return statement to provide data to another part of the program.

d)

A function can only be called in the main body of a program.

9.

What is the scope of the variable counter in the code displayed?

a)

Global variable

b)

File parameter

c)

Local variable

d)

Integer parameter

10.

Tick the boxes that describe features of a local variable.

a)

Local variables only take up memory during the running of the procedure they are contained within.

b)

Local variables can be used freely throughout a program.

c)

Local variables generally use less memory.

d)

Local variables have the widest possible scope in a program.

11.

What is described here?

Program execution is stopped when a particular variable contains a specific value.

a)

Watch Point

b)

Dry Run

c)

Trace Table

d)

Break Point

12.

A call statement to a procedure makes use of these kind of parameters?

(a)  

13.

Defining and creating a procedure makes use of these kind of parameters?

(a)  

14.

What is described here?

Program execution is stopped at a specific line number.

a)

Watch Point

b)

Dry Run

c)

Trace Table

d)

Break Point

15.

Identify the formal parameters in the image.

a)

processor

b)

points

c)

count

d)

process

e)

counter

16.

A function named bigX is used to assign the highest value from an array called userList to a variable labelled topScore.

Which option best describes how this would be actioned?

a)

bigX = userList(topScore)

b)

topScore = bigX(userList)

c)

topScore = MAX(userList)

d)

bigX = MAX(userList)