wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Year 11 PPE Prep - Paper 2 - March 2021

Total questions: 96

Worksheet time: 1hrs 2mins

Name
Class
Date
1.

Computers only understand binary because ...

a)

Computers are made up of transistors that form logic gates which only have 2 states : on and off

b)

it is cheaper and more efficient

c)

Computers only understand binary

d)

Computers are made up of transistors that form logic gates which only have 3 states : on, off , in between

2.
What are the only two numbers you can use in binary?
a)
0 and 1
b)
1 and 2
c)
1, 2, 3, 4, 5, 6, 7, 8, 9, 10
d)
1, 2, 4, 8, 16
3.

Which of these is the correct sequence for the place values for binary numbers?

a)

1, 2, 4, 8, 16, 32, 64, 128

b)

1, 2, 4, 6, 8, 10, 12, 14, 16

c)

1, 2, 3, 4, 5, 6, 7, 8

d)

128, 64, 32, 16, 8, 4, 2, 1

4.
What is the denary number system?
a)
It counts the number of dens
b)
Our usual base 10 number system
c)
A special number system for computers
d)
Den Ary's number system
5.

How many bits are there in this binary number?


0 0 1 0 1 1 1 0

a)

8

b)

4

c)

6

d)

10

6.

How many bytes is this binary number?


11100011 10101011

a)

1

b)

2

c)

3

d)

4

7.

What is the biggest number you can represent in 1 byte?


e.g. 1 1 1 1 1 1 1 1

a)

256

b)

255

c)

254

d)

253

8.
Convert 00100100 to decimal
a)
26
b)
36
c)
46
d)
56
9.
What is the denary value for the binary number 0000 1101
a)
12
b)
13
c)
14
d)
15
10.
The missing binary heading is what?
128,  64, ___ , 16, 8, 4, 2, 1
a)
32
b)
30
c)
60
d)
20
11.
Convert 00010001 to decimal
a)
17
b)
27
c)
37
d)
47
12.
Convert 11111111 to decimal
a)
255
b)
245
c)
235
d)
225
13.
What is 1011 in denary?
a)
11
b)
14
c)
26
d)
1011
14.
How many MB is in 1 GB?
a)
10
b)
100
c)
1000
d)
10000
15.
How many MB is in 10 GB?
a)
10000
b)
100000
c)
1000
d)
10000000
16.
Convert the Binary number 1 0 0 1 0 0 0 1 into Denary
a)
144
b)
145
c)
146
d)
147
17.
Convert the Binary number 0 0 0 1 0 0 1 1 into Denary
a)
17
b)
18
c)
19
d)
20
18.
Convert the Denary number 200 into Binary
a)
1 1 0 0 1 1 0 1
b)
1 1 1 0 1 0 0 0
c)
1 1 0 0 1 0 0 0
d)
1 1 0 0 1 0 0 1
19.
What is the answer ?
   0 1
+ 1 0
_____
a)
01
b)
10
c)
11
d)
100
20.
What is the answer ?
   0 1 0
+ 1 0 1
______
a)
010
b)
101
c)
110
d)
111
21.
What is the answer ?
   0 0 1
+ 1 0 1
______
a)
010
b)
101
c)
110
d)
111
22.
What is the answer ?
   1 0 1
+ 1 0 1
_______
a)
1011
b)
1010
c)
1100
d)
1111
23.
What is the answer ?
   1 1 1 1 1 1 1 1
+ 0 0 0 0 0 0 0 1
_______________
a)
000000001
b)
111111110
c)
100000000
d)
111100001
24.
2 Place left shift on the binary number
0 0 0 1 1 0 1 0
What is the correct answer?
a)
1 1 1 0 0 1 0 1
b)
0 0 0 1 1 0 1 0 
c)
0 0 1 1 0 1 0 0 
d)
0 1 1 0 1 0 0 0
25.
4 Place left shift on the binary number
0 0 0 1 1 0 1 0
What is the correct answer?
a)
1 1 1 0 0 1 0 1
b)
1 0 1 0 0 0 0 0
c)
0 0 1 1 0 1 0 0 
d)
0 1 1 0 1 0 0 0
26.
2 Place right shift on the binary number
0 0 0 1 1 0 1 0
What is the correct answer?
a)
0 0 0 0 0 1 1 0 
b)
0 0 0 0 0 1 1 1
c)
0 0 0 0 1 0 1 0 
d)
0 1 1 0 1 0 0 0
27.
Left shifts multiplies a binary number?
a)
TRUE 
b)
FALSE
28.
Right shifts divides a binary number?
a)
TRUE 
b)
FALSE
29.
For every place shifted to the left ... the binary number is doubled.
a)
TRUE 
b)
FALSE
30.
For every place shifted to the right... the binary number is doubled.
a)
TRUE 
b)
FALSE
31.

We use arrays [LISTs] in programming so that ...

a)

you can store many items of different types of data (e.g. Integers / Float / Strings) within 1 variable

b)

you can store many items of the same type of data (e.g. Integers only) within 1 variable

32.

name = ['Bob' , 'Jeff' , 'Sue' , 'Sally']


This is an example of a ...

a)

Variable

b)

Array (LIST)

c)

Loop

d)

Procedure

33.

We have an array [LIST] called names [ ]


What is the position of Sally in the array ?

a)

names [ 2 , 0 ]

b)

names [ 0 , 2 ]

c)

names [ 3 , 1 ]

d)

names [ 1 , 3 ]

34.

We have an array [LIST] called names [ ]


What is the position of Jack in the array ?

a)

names [ 0 , 2 ]

b)

names [ 2 , 0 ]

c)

names [ 1 , 3 ]

d)

names [ 3 , 1 ]

35.

We have an array [LIST] called names [ ]


What is the code to insert a new name 'Lee' into the space highlighted in yellow?

a)

names [ 1 , 2 ] = " Lee "

b)

names [ 2 , 3 ] = " Lee "

c)

" Lee " = names [ 1 , 2 ]

d)

" Lee " = names [ 2 , 3 ]

36.

What programming construct is this?


All statements in the code will run each time

a)

SEQUENCE

b)

SELECTION

c)

ITERATION

37.

What programming construct is this?


Some statements in the code may or may not run depending on a condition

a)

SEQUENCE

b)

SELECTION

c)

ITERATION

38.

A named location in memory which stores a value which can change

a)

Input

b)

Variable

c)

Integer

d)

String

39.

A whole number

a)

Input

b)

Variable

c)

Integer

d)

String

40.

A collection of letters, numbers and or symbols

a)

Input

b)

Variable

c)

Integer

d)

String

41.

A programming construct where the program or algorithm executes code line by line

a)

Sequence

b)

Selection

c)

Iteration

42.

A programming construct where the program or algorithm makes a decision based on choices

a)

Sequence

b)

Selection

c)

Iteration

43.

A programming construct where the program repeats instructions a given number of times or based on a condition

a)

Sequence

b)

Selection

c)

Iteration

44.

A type of loop which uses a counter to decide when to stop


Also known as a FOR LOOP

a)

Count Controlled Loop

b)

Condition Controlled Loop

45.

Repeat instructions until a condition is met


Also known as a WHILE LOOP

a)

Count Controlled Loop

b)

Condition Controlled Loop

46.

EQUAL TO

a)

==

b)

!=

c)

<

d)

>

47.

NOT EQUAL TO

a)

==

b)

!=

c)

<

d)

>

48.

LESS THAN

a)

==

b)

!=

c)

<

d)

>

49.

MORE THAN

a)

==

b)

!=

c)

<

d)

>

50.

MORE THAN OR EQUAL TO

a)

<=

b)

>=

c)

<

d)

>

51.

LESS THAN OR EQUAL TO

a)

<=

b)

>=

c)

<

d)

>

52.
What is highlighted in red?
a)
Function
b)
Procedure
c)
Parameters
d)
Selection
53.
How many parameters are there?
a)
1
b)
2
c)
3
d)
4
54.
What is the name of the procedure in the above picture?
a)
name
b)
your_feeling
c)
number_of_homework
d)
feeling
55.
A set of instructions stored under one name that can be called from the main program.
a)
Procedure
b)
Function
56.
What will be displayed by the following call to the your_feeling() procedure?
your_feeling ( "Jeff " , " good " , 2 )
a)
Hello Jeff you are feeling good today.
Less time to watch TV
b)
Hello Jeff you are feeling bad today.
Less time to watch TV
c)
Hello James you are feeling good today.
Less time to watch TV
d)
Hello Jeff you are feeling good today.
More time to watch TV
57.
What will be displayed by the following call to the your_feeling() procedure?
your_feeling ( "Jeff " , " good " , 2 )
a)
Hello Jeff you are feeling good today.
Less time to watch TV
b)
Hello Jeff you are feeling bad today.
Less time to watch TV
c)
Hello James you are feeling good today.
Less time to watch TV
d)
Hello Jeff you are feeling good today.
More time to watch TV
58.
What data type is best used to store the first name?
a)
INTEGER
b)
TEXT / STRING
c)
BOOLEAN (True or False)
d)
CHARACTER
59.
What data type is best used to if a student eats school dinners?
a)
INTEGER
b)
TEXT / STRING
c)
BOOLEAN (True or False)
d)
CHARACTER
60.
What logic circuit shape is this?
a)
NOT
b)
OR
c)
AND
61.
What logic circuit shape is this?
a)
NOT
b)
OR
c)
AND
62.
What logic circuit shape is this?
a)
NOT
b)
OR
c)
AND
63.
Which boolean statement is this logic circuit showing?
a)
P = A AND B AND C
b)
P = (A AND B) NOT C
c)
P = (A AND B) OR C
d)
P = (A AND B) AND C
64.
Which boolean statement is this logic circuit showing?
a)
P = A AND B AND C
b)
P = (A AND B) OR C
c)
P = (A AND B) AND C
d)
P = (NOT A OR B) AND C 
65.
What programming structure is being used?
a)
SEQUENCE
b)
SELECTION
c)
ITERATION
66.
What programming structure is being used?
a)
SEQUENCE
b)
SELECTION
c)
ITERATION
67.
What programming structure is being used?
a)
SEQUENCE
b)
SELECTION
c)
ITERATION
68.

What type of data is stored as an INTEGER?

a)

Whole numbers

b)

Decimal numbers

c)

Strings

d)

Yes / No ... True / False

69.

What type of data is stored as REAL?

a)

Whole numbers

b)

Decimal numbers

c)

Strings

d)

Yes / No ... True / False

70.

What type of data is stored as Boolean?

a)

Whole numbers

b)

Decimal numbers

c)

Strings

d)

Yes / No ... True / False

71.

What type of data is stored as Text

a)

Whole numbers

b)

Decimal numbers

c)

Strings

d)

Yes / No ... True / False

72.
What is a procedure?
a)
A small section of code within a program which performs a task
b)
Code which produces a calculated result
73.
What is a function?
a)
A small section of code within a program which performs a task
b)
Code which produces a calculated result
74.
Which type of sort algorithm is this?
a)
Bubble
b)
Merge
c)
Insertion
75.
Which type of sort algorithm is this?
a)
Bubble
b)
Merge
c)
Insertion
76.
Which sorting algorithm is described by: split a list into individual lists, then combine these, two lists at a time.
a)
Merge
b)
Bubble
c)
Insertion
d)
None of the above
77.

A FUNCTION always returns a value

a)

TRUE

b)

FALSE

78.

A SUB PROGRAM ...


choose 3 correct answers

a)

is a self contained block of code

b)

can be called anywhere within the main program

c)

returns control to the main program when complete

d)

makes the code all pretty and neat

e)

must always have a loop

79.

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

a)

TRUE ( 1 )

b)

FALSE ( 0 )

80.

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

a)

TRUE ( 1 )

b)

FALSE ( 0 )

81.

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

a)

TRUE ( 1 )

b)

FALSE ( 0 )

82.
What gate is this table for?
a)
AND
b)
XOR
c)
OR 
d)
NOT
83.
What gate is this table for?
a)
AND
b)
XOR
c)
OR 
d)
NOT
84.
What gate is this truth table for?
a)
AND
b)
OR
c)
NOT
d)
THE 
85.
A truth table lists every possible combination of input and the resulting output
a)
True
b)
False
86.

Sound outside of computers is...

a)

Analogue

b)

Digital

87.

In order for sound to be stored in a computer it must be converted to...

a)

Analogue

b)

Digital

c)

Buddhism

d)

JPEG

88.

Sound waves must be samples to create digital sound. A sample is...

a)

a measure of amplitude at a point in time

b)

the number of samples taken per second

c)

the file size of an image

89.

When recording sound, the number of samples recorded per second is called the:

a)

sample rate

b)

sample resolution

c)

colour depth

d)

File size

90.

To calculate the size of a sound file:

a)

colour depth * resolution

b)

sample rate * sample resolution * length in seconds

c)

number of samples * sample rate

d)

sample resolution squared

91.

Increasing the sample rate of a recording will result in...

a)

Higher-quality sound recording

b)

Increased file size

c)

Better compression

d)

Higher colour depth

e)

Increased amplitude

92.

When recording sound, what is a SAMPLE?

a)

A sample stores the height of the sound wave which is then converted into Binary

b)

What the sound sounds like

c)

A sample stores the width of the sound wave which is then converted into Binary

93.

CASTING in programming means converting from 1 type of data into another


number = int ( INPUT ( ' Enter a number ' ) )

a)

TRUE

b)

FALSE

94.

Look at the above pseudocode ...


What will be stored into the variable what_to_drink if the random number is 2 ?

a)

Can of coke

b)

Cup of tea

c)

Glass of milk

95.

Look at the above pseudocode ...


What will be stored into the variable what_to_drink if the random number is 3 ?

a)

Can of coke

b)

Cup of tea

c)

Glass of milk

96.

Look at the above pseudocode ...


What will be stored into the variable what_to_drink if the random number is 1 ?

a)

Cup of tea

b)

CUP OF TEA

c)

cup of Tea