Font size
WorksheetsName
Total questions: 147
Worksheet time: 2hrs 38mins
Select the correct declaration of variables when finding the highest value in a list of values
Highest ← 0
Highest ← 100
Highest ← [9]
Highest ← Lowest
Which of these is are selection statements?
CASE...OF...OTHERWISE...ENDCASE
IF...THEN...ELSE...ENDIF
IF...THEN...ELSE...IF...THEN...ENDIF...ENDIF
FOR....TO...NEXT
Which lines are the errors located on?
Line 4, 5, 8
Line 1, 3, 4,
Line 4, 5, 7
Line 4, 5, 8 and a missing input
Describe with an example the purpose of the validation check?
Correct the error on line 6
(a)
Describe with an example the purpose of the verification check?
A value that cannot change whilst the program is running
Array
Variable
Constant
Table
Correct the error on line 2
Counter = 0
Counter = Num
Counter = Total
Counter = 100
Which lines are the errors located on?
Line 2, 7, 3
Line 2, 6, 7,
Line 8, 3, 7
Line 2, 6, 7, 8
A value that can change whilst the program is running
Array
Variable
Constant
Table
Select the correct declaration of variables when finding the lowest value in a list of values
lowest ← 0
lowest ← 100
lowest ← [9]
lowest ← Highest
A series of element of the same data type is
Array
Variable
Constant
Table
In Cambridge IGCSE 0478 Computer Science Standards,
Pseudocode is presented in a monospaced (fixed-width) font and will be consistent throughout.
True
False
In Cambridge IGCSE 0478 Computer Science Standards,
Pseudocode is presented in a multi-spaced (flexi-width) font and will be consistent throughout.
True
False
In Cambridge IGCSE 0478 Computer Science Standards,
Generally, Pseudocodes are indented by four (4) spaces.
True
False
In Cambridge IGCSE 0478 Computer Science Standards,
Generally, Pseudocodes are indented by four (4) spaces. But THEN & ELSE clause in an IF statement is indented by two (2) spaces.
True
False
In Cambridge IGCSE 0478 Computer Science Standards,
Generally, Pseudocodes are indented by four (4) spaces. But THEN & ELSE clause in an IF statement is indented by three (3) spaces.
True
False
In Cambridge IGCSE 0478 Computer Science Standards,
KEYWORDS can be lower or upper case.
True
False
In Cambridge IGCSE 0478 Computer Science Standards,
KEYWORDS are in upper case.
True
False
In Cambridge IGCSE 0478 Computer Science Standards,
Identifiers are in mixed case. (upper case or lower case)
True
False
In Cambridge IGCSE 0478 Computer Science Standards,
Angled brackets < > are used to enclose meta-variables that can be substituted by other symbols.
True
False
In Cambridge IGCSE 0478 Computer Science Standards,
Line numbers are used for each line of statement. However, when a statement runs over one line of text, the continuation lines are not numbered.
True
False
In Cambridge IGCSE 0478 Computer Science Standards,
Line numbers are used for each line of statement including when it runs over one line of text.
True
False
In Cambridge IGCSE 0478 Computer Science Standards,
Putting a comment on a Pseudocode section to clarify is encouraged.
True
False
In Cambridge IGCSE 0478 Computer Science Standards,
The symbol for comment in Pseudocode is...
</ comment />
// comment
< comment >
// comment //
In Cambridge IGCSE 0478 Computer Science Standards,
is the atomic datatype keyword for whole number
INTEGER
BOOLEAN
STRING
CHAR
REAL
In Cambridge IGCSE 0478 Computer Science Standards,
is the atomic datatype keyword for a sequence of zero or more characters.
INTEGER
BOOLEAN
STRING
CHAR
REAL
In Cambridge IGCSE 0478 Computer Science Standards,
is the atomic datatype keyword for numbers capable of containing fractional part.
INTEGER
BOOLEAN
STRING
CHAR
REAL
In Cambridge IGCSE 0478 Computer Science Standards,
is the atomic datatype keyword for TRUE OR FALSE logical values.
LOGIC
BOOLEAN
GATES
CHAR
REAL
In Cambridge IGCSE 0478 Computer Science Standards,
it is the atomic datatype keyword for a single character
CHARACTER
BOOLEAN
STRING
CHAR
ALPHABET
In Cambridge IGCSE 0478 Computer Science Standards,
it is a good practice to use identifier names that describe the variable, procedure, or function they refer to.
TRUE
FALSE
In Cambridge IGCSE 0478 Computer Science Standards,
when writing Identifiers should be considered as mixed case throughout.
TRUE
FALSE
In Cambridge IGCSE 0478 Computer Science Standards,
when writing Identifiers, it should be considered as case - sensitive.
TRUE
FALSE
In Cambridge IGCSE 0478 Computer Science Standards,
assignments should be made in the following format:
<identifier> --> <value>
TRUE
FALSE
In Cambridge IGCSE 0478 Computer Science Standards,
assignments should be made in the following format:
<identifier> <-- <value>
TRUE
FALSE
In Cambridge IGCSE 0478 Computer Science Standards,
Arrays in main pseudocode statements, only one index value is used for each dimension in the square brackets. e.g. StudentNames[1] <-- "Ali"
TRUE
FALSE
In Cambridge IGCSE 0478 Computer Science Standards,
Arrays in main pseudocode statements, only multiple index value can be used for each dimension in the square brackets. e.g. StudentNames[1] <-- "Ali", "George", "Rebecca"
TRUE
FALSE
In Cambridge IGCSE 0478 Computer Science Standards,
Arrays in main pseudocode statements, can be used in assignment statements (provided they have the same size and data type).
TRUE
FALSE
In Cambridge IGCSE 0478 Computer Science Standards,
A statement should NOT, however, refer to a group of array elements individually.
StudentNames [ 1 TO 30] <-- " "
TRUE
FALSE
In Cambridge IGCSE 0478 Computer Science Standards,
A statement CAN refer to a group of array elements individually.
StudentNames [ 1 TO 30] <-- " "
TRUE
FALSE
In Cambridge IGCSE 0478 Computer Science Standards,
multiple values are allowed for INPUT and OUTPUT statements
TRUE
FALSE
In Cambridge IGCSE 0478 Computer Science Standards,
The identifier of a COUNT controlled (FOR) loop must be a variable of data type INTEGER.
TRUE
FALSE
How many late homework's should Mr H allow before he offers you the help you need in an after school Detention?
2
3
4
5
It does not matter as I will never hand in any late work!
What symbol is this?
Set Ans = calculation
rectangle
Processing
calculation
What symbol is this?
Read DataItem
rectangle
slanted box
Input
parallelogram
What shape is this?
Read DataItem
rectangle
slanted box
Input
parallelogram
What symbol is this?
Question?
Decision
diamond
YES
NO
What shape is this?
Question?
Decision
diamond
YES
NO
What symbol is this?
arrow
downward arrow
down
direction
What shape is this?
arrow
downward arrow
down
direction
Java, Python, PHP, and C++ are examples of
low level languages
Graphic arts languages
medium level languages
high level languages
What is the purpose of a flowchart?
Which shape in a flowchart represents a process or action?
What does the diamond shape represent in a flowchart?
Which symbol is used to represent the start and end of a flowchart?
What does the oval shape represent in a flowchart?
In a flowchart, which symbol is used for input and output operations?
What does a flowchart use to represent a conditional statement or decision point?
Which direction do arrows in a flowchart usually indicate?
In a flowchart, which symbol is used for a process that requires a decision?
What does the parallelogram shape represent in a flowchart?
Which shape is used to indicate a predefined process in a flowchart?
What does it mean when a flowchart path splits into two or more paths?
What does the curved arrow represent in a flowchart?
Which shape is used to indicate the flow of information to and from a database in a flowchart?
In a flowchart, what does the process symbol with double lines indicate?
Which shape is used to represent a document or report in a flowchart?
What does the connector symbol represent in a flowchart?
What does a loop symbol in a flowchart indicate?
Which shape is used to represent a storage or data repository in a flowchart?
What is the purpose of using connectors in a flowchart?
Yes
19
What will happen if the user's book return is late?
Sends them an SMS (text)
Does not send them an SMS (text)
How many arrows come out of the end symbol in the flowchart?
0
1
2
3
How many arrows come out of the start symbol in the flowchart?
0
1
2
3
This flowchart is made to...
Calculate the area and perimeter of a square
Output figures of different sizes
Calculate the area and perimeter of a circle
Find out how long it takes to get to the moon
In this flowchart, r ...
is the radius of a circle
stands for random number
represents a running total
is a miscellaneous variable
In this flowchart the diamond shape helps with...
Deciding whether the student should pass or fail
Adding up the student's marks
Making sure the student gets good marks
Checking the student's general behaviour
This flowchart is made to ...
Check whether a number is odd or even
Decide if we like a number or not
Calculate the remainder of a number + 2
Help people with Maths
What is a record?
A set of numbers grouped in an array
A collection of arrays in a group
A data structure that groups together related items
A program designed to create an array
What is meant by 'declaring' an array?
Create an array in a program, specifying its name and size
creating a program, specifying its size
create a program, specifying its name
create an array to assign to a Selection process
scores = [5,7,0,10,8,3,7,3]
Which value will be found using the following statement:
print(scores[2])
5
7
0
10
Which iteration method is commonly used with arrays?
ELSE
WHILE
IF
FOR
What is the name given to a number that corresponds to the location of an item of data in an array?
Initial
Primary
Index
Identifier
Arrays have a fixed number of items.
True or False
True
False
Arrays can have different data types?
True or False?
True
False
Which type of array is the following example?
score = [5,7,0,10,8,3,7,3]
1D
2D
3D
4D
How may index numbers are used in accessing a 2D array?
1
2
3
4
Python has true 2-dimensional arrays?
True or False?
True
False
What is the name given to an abstract representation of how data is stored in a 2D array?
Record
File
Field
Table
Which of these is a list?
fruit = "apples", "oranges", "bananas"
fruit = ["apples", "oranges", "bananas"]
fruit = {"apples", "oranges", "bananas"}
fruit = ("apples", "oranges", "bananas")
What is the position of the name 'Paula' in the following list:
names = ["Paul","Pranav","Paula","Prea"]
0
1
2
3
In the following list, which item has the index number 3?
["John", "Harry", "Jesse", "John", "Jairus", "Hamza"]
"Jairus"
"Harry"
"Jesse"
"John"
What type of structure is this in Python?
shopping=[["tomato","rice","cheese","milk"],["soap","masks","detergent"]]
1D array
List
List of Lists
Tuple
What is a nested loop?
one loop that sits within another loop
one loop that has stalled and is not working
one loop replaced by another loop
one loop that has become selection
A record allows multiple data items to be stored using ________ ________ to identify each item of data
record entries
table references
array lists
field names
Records would typically be seen in use with which type of software?
image editor
browser
database
defragmenter
Which would be correct pseudo-code for creating a 1D array?
students : ['Imogen','Tia',Muhammad']
students ← ['Imogen','Tia',Muhammad']
students → ('Imogen','Tia',Muhammad')
students → ['Imogen','Tia',Muhammad']
System.out.println("Number: " + numArray[2]);
System.out.println("Number: " + numArray[0]);
System.out.println("Number: " + numArray[numArray.length - 1]);
System.out.println(numArray.length);
int[] numbers = new int[5];
