wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

N5 Software Development (full)

Total questions: 140

Worksheet time: 1hrs 10mins

Name
Class
Date
1.
In analysis, what is an input?
a)
Information a user puts into a program.
b)
Information a user gets out of a program.
c)
Information displayed by a program.
d)
Data put out of a program.
2.
In analysis, what is an output?
a)
Information displayed by a program.
b)
Information entered into a program.
c)
Information a user puts into a program.
d)
Data put into a program.
3.
In analysis, what is a process?
a)
What a program does to its inputs to get the right outputs.
b)
A calculation a program makes.
c)
An operation carried out by a program. Examples include addition or concatenation.
d)
All of the above.
4.
Why do we identify the inputs, outputs and processes for a program specification?
a)
To identify the functional requirements.
b)
To waste time.
c)
Because it is fun.
d)
So that we can make sure our program is secure.
5.
What are the three main tasks to identify in functional analysis?
a)
inputs, outputs and processes
b)
inputs, outputs and messages
c)
inputs, calculations and processes.
d)
data, information and messages
6.
What do we call the data a user puts in to a program?
a)
outputs
b)
strings
c)
messages
d)
inputs
7.
What do we call the information a user gets out of a program?
a)
outputs
b)
strings
c)
messages
d)
inputs
8.
What do we call the data a program displays?
a)
outputs
b)
strings
c)
processes
d)
inputs
9.
What do we call the information a program asks for?
a)
outputs
b)
processes
c)
messages
d)
inputs
10.
What do we call what a program does to its data?
a)
outputs
b)
processes
c)
messages
d)
inputs
11.
Which one is NOT an example of a process?
a)
formatting
b)
calculation
c)
operation
d)
input data
12.
Which one is NOT an example of a process?
a)
formatting
b)
calculation
c)
operation
d)
output data
13.
What does a user interface design show?
a)
the inputs of a program
b)
the outputs of a program
c)
the inputs and outputs of a program
d)
the processes of a program
14.
What is a variable?
a)
A variable stores a single item of data in a program.
b)
A variable is an input to a program.
c)
A variable is a process.
d)
A variable is an output from a program.
15.

What data type can hold letters, numbers and symbols?

(a)  

16.

What data type holds whole numbers?

(a)  

17.

What data type can hold a single letter, number or symbol?

(a)  

18.

What data type holds numbers with digits after the decimal point?

(a)  

19.

What data type holds TRUE or FALSE?

(a)  

20.
What is a String?
a)
letters, numbers and symbols
b)
a whole number
c)
a fraction (e.g. 1.25)
d)
Just 1 letter, number or symbol
21.
What is a Character?
a)
letters, numbers and symbols
b)
a whole number
c)
a fraction (e.g. 1.25)
d)
Just 1 letter, number or symbol
22.
What is a Real?
a)
letters, numbers and symbols
b)
a whole number
c)
a fraction (e.g. 1.25)
d)
Just 1 letter, number or symbol
23.
What is an Integer?
a)
letters, numbers and symbols
b)
a whole number
c)
a fraction (e.g. 1.25)
d)
Just 1 letter, number or symbol
24.
What is a Boolean?
a)
TRUE or FALSE
b)
a whole number
c)
a fraction (e.g. 1.25)
d)
Just 1 letter, number or symbol
25.

What symbol do we use to tell LiveCode we are writing a string?

(a)  

26.

What symbols must delimit (go round) a string?

(a)  

27.

What symbol do we use to tell LiveCode we are joining strings together?

(a)  

28.

What symbol do we use to concatenate strings?

(a)  

29.
What is concatentation?
a)
Joining two strings together.
b)
Adding two values.
c)
Initialising an array.
30.
What do we call resetting or clearing a variable?
a)
declaration
b)
assignment
c)
initialisation
d)
selection
e)
iteration
31.
What do we call making a variable?
a)
declaration
b)
assignment
c)
initialisation
d)
selection
e)
iteration
32.
What does assigning a value to a variable mean?
a)
giving the variable a value
b)
creating the variable
c)
making the variable
d)
giving the variable a name
33.
What happens when a variable is assigned a value?
a)
It is given a value.
b)
It is created.
c)
It is given a name.
d)
It is declared.
34.
What does declaring a variable do?
a)
gives the variable a value
b)
creates the variable
c)
initialises the variable
d)
resets the variable
35.
What happens when a variable is declared?
a)
It is given a value.
b)
It is created.
c)
It is given a name.
d)
It is assigned.
36.
What does initialise a variable mean?
a)
giving the variable its first value
b)
creating the variable
c)
making the variable
d)
giving the variable a name
37.
What happens when a variable is initialised?
a)
It is given its first value.
b)
It is created.
c)
It is given a name.
d)
It is deleted.
38.
How do we choose names for our variables?
a)
Use a short name that describes the information being stored.
b)
Start at A and work down the alphabet.
c)
It doesn't matter, any name will do.
39.
What two things does a variable need?
a)
A name.
b)
A data type.
c)
A name and a data type.
d)
A name that includes the data type e.g MessageString
40.

Which symbol do we use to add in Computing?

(a)  

41.

Which symbol do we use to subtract (take away) in Computing?

(a)  

42.

Which symbol do we use to multiply in Computing?

(a)  

43.

Which symbol do we use to divide in Computing?

(a)  

44.

Which symbol do we use to make a power in Computing?

(a)  

45.
What does + mean in Computing?
a)
add
b)
subtract
c)
multiply
d)
divide
e)
to the power
46.
What does - mean in Computing?
a)
add
b)
subtract
c)
multiply
d)
divide
e)
to the power
47.
What does * mean in Computing?
a)
add
b)
subtract
c)
multiply
d)
divide
e)
to the power
48.
What does / mean in Computing?
a)
add
b)
subtract
c)
multiply
d)
divide
e)
to the power
49.
What does ^ mean in Computing?
a)

add

b)

subtract

c)

multiply

d)

divide

e)

to the power

50.
What are the conditional operators?
a)
Operators that let you make a question.
b)
Operators that let you manupulate numbers.
c)
Operators that let you ask complex questions.
51.
What does = mean?
a)
Is equal to
b)
Is not equal to
c)
Is less than
d)
Is greater than
52.
What does < mean?
a)
Is equal to
b)
Is not equal to
c)
Is less than
d)
Is greater than
53.
What does > mean?
a)
Is equal to
b)
Is not equal to
c)
Is less than
d)
Is greater than
54.
What does <> mean?
a)
Is equal to
b)
Is not equal to
c)
Is less than
d)
Is greater than
55.
What does <= mean?
a)
Is less than or equal to
b)
Is greater than or equal to
c)
Is less than
d)
Is greater than
56.
What does >= mean?
a)
Is less than or equal to
b)
Is greater than or equal to
c)
Is less than
d)
Is greater than
57.
What is selection in Computing Science?
a)
It allows the program to ask a question to choose which code to run.
b)
It allows the program to loop.
c)
It allows the program to execute in order.
58.

What command do we use for selection?

(a)  

59.
What is the Computing Science term for IF?
a)
Sequence
b)
Selection
c)
Iteration
d)
Dictation
60.
What is the Computing Science term for a question?
a)
Expression
b)
Arithmetic
c)
Condition
d)
ASK
61.
What is a condition in Computing Science?
a)
A sequence
b)
Repetition
c)
A question
d)
Arithmetic
62.
What is iteration in Computing Science?
a)
It allows the program to ask a question to choose which code to run.
b)
It allows the program to loop.
c)
It allows the program to execute in order.
63.
What is iteration in Computing Science?
a)
It means asking a question.
b)
It means repeating bits of code.
c)
It means branching.
d)
It means doing arithmetic.
64.
What is a fixed loop?
a)
Code that is repeated a certain number of times.
b)
Code that is repeated exactly once.
c)
Code that is repeated forever.
d)
Code that is repeated until a question is true.
65.

What command do we use for iteration (in LiveCode)?

(a)  

66.
What is a conditional loop?
a)
Code that is repeated a certain number of times.
b)
Code that is repeated exactly once.
c)
Code that is repeated forever.
d)
Code that is repeated until a question is true.
67.
What is a fixed loop?
a)
A loop that goes round a certain number of times.
b)
A loop that goes round exactly once.
c)
A loop that goes round forever.
d)
A loop that stops based on a question.
68.

What command do we use for loops (in LiveCode)?

(a)  

69.
What is a conditional loop?
a)
A loop that goes round a certain number of times.
b)
A loop that goes round exactly once.
c)
A loop that goes round forever.
d)
A loop that stops based on a question.
70.
What kind of loop is a REPEAT WITH index = loop?
a)
Fixed
b)
Conditional
71.
What kind of loop is a REPEAT…UNTIL loop?
a)
Fixed
b)
Conditional
72.
What kind of loop is a WHILE loop?
a)
Fixed
b)
Conditional
73.
What kind of loop is a FOR loop?
a)
Fixed
b)
Conditional
74.
What are the logical operators?
a)
AND, OR, NOT
b)
+, -, *, /
c)
<, <=, =, >=, >, <>
75.
What is a complex condition?
a)
A question made up of two or more parts.
b)
A question with a logical operator.
c)
A question with an arithmetic operator.
76.
Which one is *not* a logical operator?
a)
AND
b)
OR
c)
NOT
d)
+
77.
Which one is a logical operator?
a)
+
b)
<
c)
^
d)
OR
78.
Which one is a logical operator?
a)
-
b)
>
c)
^
d)
AND
79.
Which one is a logical operator?
a)
/
b)
*
c)
^
d)
NOT
80.
When is C1 AND C2 true?
a)
When both C1 and C2 are true.
b)
When either C1 or C2 is true.
c)
When neither C1 nor C2 is true.
d)
When C1 is true and C2 is false
81.
When is C1 OR C2 true?
a)
When either C1 or C2 (or both) is true.
b)
When neither C1 nor C2 is true.
c)
When both C1 and C2 are false.
82.
What does the logical operator NOT do?
a)
Flip the result of a condition.
b)
Make a condition true.
c)
Make a condition false.
d)
Something else.
83.
What is an algorithm?
a)
An ordered set of steps to solve a problem.
b)
A set of steps
c)
A way to solve a problem.
d)
A set of steps to solve a problem.
84.
What does the function Round() do?
a)
It changes the number of decimal places in a real number.
b)
It returns the number of characters in a string.
c)
It draws a circle.
d)
It goes round adding numbers to get a total.
85.
What function do we use to change the number of decimal places in a number?
a)
Length
b)
Random
c)
Round
d)
DecimalPlaces
86.
What does the Length() function do?
a)
It changes the number of decimal places in a real number.
b)
It returns the number of characters in a string.
c)
It draws a line.
d)
It adds numbers to get a total.
87.
What function finds how many characters are in a string?
a)
Length
b)
Random
c)
Round
d)
numChar
88.
What does the Random() function do?
a)
It changes the number of decimal places in a real number.
b)
It returns the number of characters in a string.
c)
It returns a number apparently chosen by chance.
d)
It adds numbers to get a total.
89.
What function do we use to choose a number as if by chance?
a)
Length
b)
Random
c)
Round
d)
Chance
90.
What is Normal test data?
a)
Valid data that a user could enter.
b)
Nonsense data like "Bob McBob" or "Donald Duck".
c)
The minimum or maximum that is allowed.
d)
Data that should not be allowed.
91.
What is Extreme test data?
a)
Valid data that a user could enter.
b)
Nonsense data like "Donald Duck".
c)
The minimum or maximum that is allowed.
d)
Data that should not be allowed.
92.
What Is Exceptional test data?
a)
Valid data that a user could enter.
b)
Nonsense data like "To infinity and beyond".
c)
The minimum or maximum that is allowed.
d)
Data that should not be allowed.
93.

What do we call test data that is inside the range the program should work with?

(a)  

94.

What do we call test data that is at the edges of the range the program should work with?

(a)  

95.

What do we call test data that is outside the range the program should work with?

(a)  

96.
Which error type prevents the program from compiling?
a)
Syntax Error
b)
Execution Error
c)
Logic Error
97.
Which error type prevents the program from running?
a)
Syntax Error
b)
Execution Error
c)
Logic Error
98.
Which error type prevents the program from starting?
a)
Syntax Error
b)
Execution Error
c)
Logic Error
99.
Which error type stops a program in the middle?
a)
Syntax Error
b)
Execution Error
c)
Logic Error
100.
Which error type does not stop the program, but gives the wrong results.
a)
Syntax Error
b)
Execution Error
c)
Logic Error
101.
Which error type gives the wrong results but seems like it is working.
a)
Syntax Error
b)
Execution Error
c)
Logic Error
102.
How do you know you have a syntax error?
a)
The program will not run.
b)
The program stops in the middle.
c)
The program works, but the output is wrong.
103.
How do you know you have an execution error?
a)
The program will not run.
b)
The program stops in the middle.
c)
The program works, but the output is wrong.
104.
How do you know you have a logic error?
a)
The program will not run.
b)
The program stops in the middle.
c)
The program works, but the output is wrong.
105.
Which type of error makes a program crash?
a)
Syntax Error
b)
Execution Error
c)
Logic Error
106.
True or False? An array is a data structure that stores lots of values of the same data type.
a)
True
b)
False
107.
True or False? We use square brackets [] to identify one element of an array.
a)
True
b)
False
108.
True or False? The first item of an array is [0].
a)
True
b)
False
109.
True or False? An index is a number used to identify the elements of an array.
a)
True
b)
False
110.
Which one is *not* an example of readability?
a)
Using spaces to break up the code.
b)
Using indentation to show which lines of code are in a loop.
c)
Making sure our code is all spelt correctly.
d)
Using comments to explain the code.
111.
What is readability in programming?
a)
Code that can be easily understood by any programmer.
b)
Code with no execution errors.
c)
Code with no logic errors.
d)
Code with no comments.
112.
What is robustness in programming?
a)
Code that can be easily understood by any programmer.
b)
Code with no execution errors.
c)
Code with no logic errors.
d)
Code with no comments.
113.
What is robustness in programming?
a)
Code that can be easily understood by any programmer.
b)
Code that does not crash.
c)
Code with no logic errors.
d)
Code that crashes.
114.
Which one is not part of code readability?
a)
Indentation
b)
Blank lines to separate blocks of code.
c)
Code with no errors.
d)
Clear comments.
115.
Which one is a way to ensure code is robust?
a)
Indentation
b)
Readability
c)
Input Validation
d)
Arrays
116.
Which type of test data is used to check code is robust?
a)
Normal
b)
Extreme
c)
Exceptional
d)
Valid
117.
Which type of error proves code is not robust?
a)
Syntax Error
b)
Execution Error
c)
Logic Error
118.
Which one is not required for a program to be fit for purpose?
a)
It meets all the functional requirements.
b)
It produces the correct results for the inputs.
c)
It has no errors.
d)
The code is readable and efficient.
119.
Which one is not a design technique?
a)
Flow chart
b)
Structure Diagram
c)
Pseudocode
d)
SQL Reference Language
120.
Which design technique is text based?
a)
Pseudocode
b)
Flowchart
c)
Structure Diagram
121.
Which graphical design technique uses arrows?
a)
Flowchart
b)
Structure Diagram
122.
Which shape is a decision in a Flowchart?
a)
Diamond
b)
Rectangle
c)
Rounded Rectangle
d)
Parallelogram
123.
Which shape is a single instruction in a Flowchart?
a)
Diamond
b)
Rectangle
c)
Rounded Rectangle
d)
Parallelogram
124.
Which shape is an input in a Flowchart?
a)
Diamond
b)
Rectangle
c)
Rounded Rectangle
d)
Parallelogram
125.
Which shape is an output in a Flowchart?
a)
Diamond
b)
Rectangle
c)
Rounded Rectangle
d)
Parallelogram
126.
Which shape is START and END in a Flowchart?
a)
Diamond
b)
Rectangle
c)
Rounded Rectangle
d)
Parallelogram
127.
What is a diamond in a Flowchart?
a)
A decision
b)
A single instruction
c)
An input or output
d)
START or END
128.
What is a rectangle in a Flowchart?
a)
A decision
b)
A single instruction
c)
An input or output
d)
START or END
129.
What is a parallelogram in a Flowchart?
a)
A decision
b)
A single instruction
c)
An input or output
d)
START or END
130.
What is a rounded rectangle in a Flowchart?
a)
A decision
b)
A single instruction
c)
An input or output
d)
START or END
131.
Which shape is a decision in a structure diagram?
a)
Hexagon
b)
Rectangle
c)
Oval
132.
Which shape is a single instruction in a structure diagram?
a)
Hexagon
b)
Rectangle
c)
Oval
133.
Which shape is a loop in a structure diagram?
a)
Hexagon
b)
Rectangle
c)
Oval
134.
What is a hexagon used for in a structure diagram?
a)
A decision
b)
A single instruction
c)
A loop
135.
What is a rectangle used for in a structure diagram?
a)
A decision
b)
A single instruction
c)
A loop
136.
What is an oval used for in a structure diagram?
a)
A decision
b)
A single instruction
c)
A loop
137.
What is pseudocode?
a)
Structured English that describes an algorithm.
b)
A graphical design technique
c)
A programming language.
138.
What does "the loop terminates" mean?
a)
The loop ends.
b)
The loop goes on forever.
c)
The loop continues.
d)
The loop is not executed at all.
139.
What term do we use to explain that a loop ends?
a)
The loop terminates.
b)
The loop goes on forever.
c)
The loop continues.
d)
The loop repeats infinitely.
140.
What does "the loop continues" mean?
a)
The loop terminates.
b)
The loop goes on forever.
c)
The loop goes round again.
d)
The loop ends.