Font size
WorksheetsHigher SDD 1
Total questions: 16
Worksheet time: 11mins
Which standard algorithm is depicted in the image?
Finding Maximum
Linear Search
Finding Minimum
Count Occurence
No Standard Algorithm
What is described here?
A manual check of all variables as a program is 'executed', often carried out using pen and paper.
Watch Point
Dry Run
Trace Table
Break Point
What best fully describes the scenario shown in the image?
An array of records is present
A series of parallel arrays are present
A record structure is present
A series of two dimensional arrays are present
How many parallel arrays are present in the image shown?
10
5
4
49
1
Which standard algorithm is shown in the image?
Linear Search
Finding Maximum
Finding Minimum
Count Occurence
No Standard Algorithm
How many global variables are declared in the top level of a program shown here?
1
2
3
6
Identify the actual parameters in the image.
processor
points
count
process
counter
Which of the following statements are true in distinguishing a function from a procedure?
A function always returns a single value.
A function uses a number of parameters.
A function uses a Return statement to provide data to another part of the program.
A function can only be called in the main body of a program.
What is the scope of the variable counter in the code displayed?
Global variable
File parameter
Local variable
Integer parameter
Tick the boxes that describe features of a local variable.
Local variables only take up memory during the running of the procedure they are contained within.
Local variables can be used freely throughout a program.
Local variables generally use less memory.
Local variables have the widest possible scope in a program.
What is described here?
Program execution is stopped when a particular variable contains a specific value.
Watch Point
Dry Run
Trace Table
Break Point
A call statement to a procedure makes use of these kind of parameters?
(a)
Defining and creating a procedure makes use of these kind of parameters?
(a)
What is described here?
Program execution is stopped at a specific line number.
Watch Point
Dry Run
Trace Table
Break Point
Identify the formal parameters in the image.
processor
points
count
process
counter
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?
bigX = userList(topScore)
topScore = bigX(userList)
topScore = MAX(userList)
bigX = MAX(userList)
