Font size
WorksheetsYear 11 PPE Prep - Paper 2 - March 2021
Total questions: 96
Worksheet time: 1hrs 2mins
Computers only understand binary because ...
Computers are made up of transistors that form logic gates which only have 2 states : on and off
it is cheaper and more efficient
Computers only understand binary
Computers are made up of transistors that form logic gates which only have 3 states : on, off , in between
Which of these is the correct sequence for the place values for binary numbers?
1, 2, 4, 8, 16, 32, 64, 128
1, 2, 4, 6, 8, 10, 12, 14, 16
1, 2, 3, 4, 5, 6, 7, 8
128, 64, 32, 16, 8, 4, 2, 1
How many bits are there in this binary number?
0 0 1 0 1 1 1 0
8
4
6
10
How many bytes is this binary number?
11100011 10101011
1
2
3
4
What is the biggest number you can represent in 1 byte?
e.g. 1 1 1 1 1 1 1 1
256
255
254
253
128, 64, ___ , 16, 8, 4, 2, 1
0 1
+ 1 0
_____
0 1 0
+ 1 0 1
______
0 0 1
+ 1 0 1
______
1 0 1
+ 1 0 1
_______
1 1 1 1 1 1 1 1
+ 0 0 0 0 0 0 0 1
_______________
0 0 0 1 1 0 1 0
What is the correct answer?
0 0 0 1 1 0 1 0
What is the correct answer?
0 0 0 1 1 0 1 0
What is the correct answer?
We use arrays [LISTs] in programming so that ...
you can store many items of different types of data (e.g. Integers / Float / Strings) within 1 variable
you can store many items of the same type of data (e.g. Integers only) within 1 variable
name = ['Bob' , 'Jeff' , 'Sue' , 'Sally']
This is an example of a ...
Variable
Array (LIST)
Loop
Procedure
We have an array [LIST] called names [ ]
What is the position of Sally in the array ?
names [ 2 , 0 ]
names [ 0 , 2 ]
names [ 3 , 1 ]
names [ 1 , 3 ]
We have an array [LIST] called names [ ]
What is the position of Jack in the array ?
names [ 0 , 2 ]
names [ 2 , 0 ]
names [ 1 , 3 ]
names [ 3 , 1 ]
We have an array [LIST] called names [ ]
What is the code to insert a new name 'Lee' into the space highlighted in yellow?
names [ 1 , 2 ] = " Lee "
names [ 2 , 3 ] = " Lee "
" Lee " = names [ 1 , 2 ]
" Lee " = names [ 2 , 3 ]
What programming construct is this?
All statements in the code will run each time
SEQUENCE
SELECTION
ITERATION
What programming construct is this?
Some statements in the code may or may not run depending on a condition
SEQUENCE
SELECTION
ITERATION
A named location in memory which stores a value which can change
Input
Variable
Integer
String
A whole number
Input
Variable
Integer
String
A collection of letters, numbers and or symbols
Input
Variable
Integer
String
A programming construct where the program or algorithm executes code line by line
Sequence
Selection
Iteration
A programming construct where the program or algorithm makes a decision based on choices
Sequence
Selection
Iteration
A programming construct where the program repeats instructions a given number of times or based on a condition
Sequence
Selection
Iteration
A type of loop which uses a counter to decide when to stop
Also known as a FOR LOOP
Count Controlled Loop
Condition Controlled Loop
Repeat instructions until a condition is met
Also known as a WHILE LOOP
Count Controlled Loop
Condition Controlled Loop
EQUAL TO
==
!=
<
>
NOT EQUAL TO
==
!=
<
>
LESS THAN
==
!=
<
>
MORE THAN
==
!=
<
>
MORE THAN OR EQUAL TO
<=
>=
<
>
LESS THAN OR EQUAL TO
<=
>=
<
>
your_feeling ( "Jeff " , " good " , 2 )
Less time to watch TV
Less time to watch TV
Less time to watch TV
More time to watch TV
your_feeling ( "Jeff " , " good " , 2 )
Less time to watch TV
Less time to watch TV
Less time to watch TV
More time to watch TV
What type of data is stored as an INTEGER?
Whole numbers
Decimal numbers
Strings
Yes / No ... True / False
What type of data is stored as REAL?
Whole numbers
Decimal numbers
Strings
Yes / No ... True / False
What type of data is stored as Boolean?
Whole numbers
Decimal numbers
Strings
Yes / No ... True / False
What type of data is stored as Text
Whole numbers
Decimal numbers
Strings
Yes / No ... True / False
A FUNCTION always returns a value
TRUE
FALSE
A SUB PROGRAM ...
choose 3 correct answers
is a self contained block of code
can be called anywhere within the main program
returns control to the main program when complete
makes the code all pretty and neat
must always have a loop
Look at the following statement ...
x = 50 OR ( y = 10 AND z != 10 )
What would the result be if
x = 50 ... y = 10 ... z = 3
TRUE ( 1 )
FALSE ( 0 )
Look at the following statement ...
x = 50 OR ( y = 10 AND z != 10 )
What would the result be if
x = 20 ... y = 10 ... z = 3
TRUE ( 1 )
FALSE ( 0 )
Look at the following statement ...
x = 50 OR ( y = 10 AND z != 10 )
What would the result be if
x = 20 ... y = 10 ... z = 10
TRUE ( 1 )
FALSE ( 0 )
Sound outside of computers is...
Analogue
Digital
In order for sound to be stored in a computer it must be converted to...
Analogue
Digital
Buddhism
JPEG
Sound waves must be samples to create digital sound. A sample is...
a measure of amplitude at a point in time
the number of samples taken per second
the file size of an image
When recording sound, the number of samples recorded per second is called the:
sample rate
sample resolution
colour depth
File size
To calculate the size of a sound file:
colour depth * resolution
sample rate * sample resolution * length in seconds
number of samples * sample rate
sample resolution squared
Increasing the sample rate of a recording will result in...
Higher-quality sound recording
Increased file size
Better compression
Higher colour depth
Increased amplitude
When recording sound, what is a SAMPLE?
A sample stores the height of the sound wave which is then converted into Binary
What the sound sounds like
A sample stores the width of the sound wave which is then converted into Binary
CASTING in programming means converting from 1 type of data into another
number = int ( INPUT ( ' Enter a number ' ) )
TRUE
FALSE
Look at the above pseudocode ...
What will be stored into the variable what_to_drink if the random number is 2 ?
Can of coke
Cup of tea
Glass of milk
Look at the above pseudocode ...
What will be stored into the variable what_to_drink if the random number is 3 ?
Can of coke
Cup of tea
Glass of milk
Look at the above pseudocode ...
What will be stored into the variable what_to_drink if the random number is 1 ?
Cup of tea
CUP OF TEA
cup of Tea
