WorksheetsYear 11 PPE March 2019 PAPER 2
Total questions: 111
Worksheet time: 3620secs
What is Computational thinking?
the use of computers to solve problems.
representing 'real world' problems in a computer using variables and symbols and removing unnecessary elements from the problem
breaking down a large problem into smaller sub-problems.
identifying the steps involved in solving a problem.
What is Abstraction?
the use of computers to solve problems.
representing 'real world' problems in a computer using variables and symbols and removing unnecessary elements from the problem
breaking down a large problem into smaller sub-problems.
identifying the steps involved in solving a problem.
What is Decomposition?
the use of computers to solve problems.
representing 'real world' problems in a computer using variables and symbols and removing unnecessary elements from the problem
breaking down a large problem into smaller sub-problems.
identifying the steps involved in solving a problem.
What is Algorithmic Thinking?
the use of computers to solve problems.
representing 'real world' problems in a computer using variables and symbols and removing unnecessary elements from the problem
breaking down a large problem into smaller sub-problems.
identifying the steps involved in solving a problem.
What is the difference between a function and procedure?
A function always RETURNS a value
A procedure always RETURNS a value
No difference
This is an example of ...
FUNCTION
PROCEDURE
The parameters in this Function are ...
add
num1 .... num2
firstNum .... secondNum
total
The add( ) function can be written out in PSEUDOCODE like ...
Which description is True? ...
The function takes in 2 parameters ... which are added together and stored into the variable Total. The function Returns the variable to where it was called from.
The function takes in 2 parameters ... which are then multiplied together and stored into the variable Total. The function Returns the variable to where it was called
The function takes in 3 parameters ... which are then added together and stored into the variable Total. The function Returns the variable to where it was called
If you are storing money into a variable, the data type should be a ...
STRING
FLOAT (REAL)
INTEGER
BOOLEAN
If you are storing how many cars were caught speeding, you should use the data type ...
STRING
FLOAT (REAL)
INTEGER
BOOLEAN
A FLOAT (REAL) data type allows you store ...
Whole numbers only
Decimal numbers
Letters and numbers
Letters only
Which line number has a SYNTAX error ?
6
7
8
9
A student scores a total of 120 marks. What will be displayed ?
Amazing
Good
Need to try harder
There is a LOGIC error on Line 4. How can the LOGIC error be fixed?
if Total < 120 :
if Total < = 120 :
if Total > = 120:
Total = Paper1 + Paper2
print ( ' The total score is ' + str( Total ) )
The area highlighted in RED ^ is an example of ...
Casting
Converting
Coupling
Joining
Casting means ...
changing the data type of a variable to a different data type (e.g INT > STRING )
Increasing the value of a variable
Decreasing the value of a variable
Removing the data type of a variable
Which programming construct is used?
SEQUENCE
SELECTION
ITERATION
Which programming construct is used?
SEQUENCE
SELECTION
ITERATION
Which programming construct is used?
SEQUENCE
SELECTION
ITERATION
9 == 9
9 == 10
9 != 10
9 != 9
'JEFF' == 'JEFF'
'JEFF' == 'jeff'
2 > 5
2 >= 5
2 >= 2
10 == 5 + 5
10 != 5 * 10 / 5
What arithmetic operator should I use to find the answer of a division as a whole number (DIV) ?
10 / 3
10 // 3
10 % 3
10 - 3
Modulus means ... ( e.g. 5 % 2 = 1 )
finds the remainder (after division)
division giving an integer (whole number as the answer)
DIV means ... ( e.g. 5 // 2 = 2 )
finds the remainder (after division)
division giving an integer (whole number as the answer)
What is the name given for the area highlighted in RED ?
RECORD
FIELD
TABLE
PRIMARY KEY
What is the name given for the area highlighted in BLUE?
RECORD
FIELD
TABLE
PRIMARY KEY
What is the name given for the area highlighted in YELLOW?
RECORD
FIELD
TABLE
PRIMARY KEY
What will be displayed using following SQL
SELECT * FROM Gymnasts WHERE HighScore = 9.1
0004 Tom 7.9 Vault
0005 Xavier 8.4 Floor
0006 Victoria 9.1 Rings
What will be displayed using following SQL
SELECT * FROM Gymnasts WHERE Competition = "Floor"
0004 Tom 7.9 Vault
0005 Xavier 8.4 Floor
0006 Victoria 9.1 Rings
What will be displayed using following SQL
SELECT ID FROM Gymnasts WHERE HighScore < 7
0004
0005
0003
0002
What will be displayed using following SQL
SELECT ID FROM Gymnasts WHERE HighScore >= 9 AND Competition = "Rings"
0004
0005
0003
0006
What is the correct definition of a Primary Key?
Uniquely identifies any record in a table
It is always a number
It is always the first number
Uniquely identifies any field in a table
What is the correct definition of a Field?
Uniquely identifies any record in a table
It is always a number
Used to store all of the data about each specific item
Used to store a category (e.g. Names / Gender / Mobile Num)
What is the correct definition of a Record?
Uniquely identifies any record in a table
It is always a number
Used to store all of the data about each specific item
Used to store a category (e.g. Names / Gender / Mobile Num)
What type of data is stored as Boolean?
Whole numbers
Decimal numbers
Strings
Yes / No ... True / False
SELECT *
_______ CUSTOMER;
What does "SQL" stand for?
Structured Question Language
Structured Query Language
Simple Query Language
Simple Question Language
Which word is missing from the following SQL statement?
Select * table_name
With
Where
From
And
What will the following SQL statement return?
SELECT Name, Competition FROM Gymnasts;
What will the following SQL statement return?
SELECT Name, Competition
FROM Gymnasts
WHERE HighScore < 7;
What's wrong with this SQL statement?
SELECT *
FROM Gymnasts
WHERE Competition = Floor;
should be: WHERE Competition = "Floor";
should be: SELECT all
An image that has a 2 bit colour depth means ...
there are 2 possible colours
there are 3 possible colours
there are 4 possible colours
there are 5 possible colours
An image that has a bit depth of 8 means ...
there are 256 possible colours
there are 512 possible colours
there are 8 possible colours
there are 1024 possible colours
Which best describes the relationship between bits per pixels and colours?
The number of bits of per pixel is not relevant to the colours
The number of bits per pixel links directly to how many colours the pixel can represent
The number of pixels per bit is always 16 (including 0)
How many bits are needed to represent 8 colours?
1
2
3
4
16
An 8 bit sequence can represent 256 colours
True
False
The greater the bit depth, the smaller the file size and the poorer the quality.
True
False
A 24 bit colour bitmap image will be better quality and have a greater file size than an 8 bit colour image
True
False
What is
1010 1111
in HEX ?
A F
B G
A G
C 8
What is
0011 1111
in HEX ?
3 F
3 G
2 G
2 F
Computers uses binary because
The transistors inside the computer only have 2 states ( 1 = ON .... 0 = OFF )
The transistors inside the computer only have one state ( 1 = ON )
The transistors inside the computer only have one state ( 0 = OFF )
It is the programming language that a computer understands
Hex is easier to work with rather than binary
Easier to convert to / from and read
Harder to convert to / from and read
Because it is smaller
4 bits represent 1 HEX number
TRUE
FALSE
HINT: It has an 8 and a 4 in it!
Which line contains a syntax error?
print("Hello")
sprint("Hello")
print("hello")
print("HELLO")
What is a null value test on data entry?
Data that does not have a value such as a name or phone number
Data that is not entered in order to test how the program responds
Data that has a value of zero
Data that is incorrect
Which data below is a valid test for an age field?
18.6
99
Twenty-five
17 years 5 months
What problems can occur when coding a program?
Bugs in code
Wrong user name / password details
Poorly designed GUI
Changes in program syntax
