WorksheetsHigher SDD Revision
Total questions: 20
Worksheet time: 16mins
Which standard algorithm is this?
Find minimum
Count occurrences
Linear search
Find maximum
Which standard algorithm is this?
Find minimum
Count occurrences
Linear search
Find maximum
Which standard algorithm is this?
Find minimum
Count occurrences
Linear search
Find maximum
Tick all formal parameters:
emails
uniques
list
newList
Tick all actual parameters:
emails
uniques
list
newList
Which pre-defined function would be used to create this substring?
mid
mod
len
char
Which pre-defined function returns the remainder of a calculation?
(a)
Which pre-defined function returns the keyboard character of an ascii code?
(a)
Which pre-defined function returns the ascii code of a keyboard character?
(a)
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?
Dim allpupils(20) as pupildata
Dim pupildata(20) as string
Dim pupildata(20) as structure
Dim allpupils as pupildata(20)
Which development process involves regular client feedback and the creation of prototypes?
iterative process
agile methodologies
Which testing tool can be used to halt the execution of a program when a variable's value is altered?
watchpoint
breakpoint
dry run
trace table
State the scope of the variable uniques
global
local
Which of these terms means the program can cope with errors without crashing?
fit for purpose
usable
maintainable
robust
Which of these terms means the solution does exactly as the requirements outline?
fit for purpose
usable
maintainable
robust
Which variable type can only be accessed by the procedure it is declared in?
global
local
An unexpected input is entered into a program. Which type of error would this result in?
Execution
Logic
Syntax
State one way to make code more readable.
(a)
What is the purpose of the visual basic code:
openmode.input?
opens a file for read access
opens a file for write access
How would a parameter be passed if the value requires updating?
byref
byval
