wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Paper 2

Total questions: 82

Worksheet time: 47mins

Name
Class
Date
1.
Convert 65 to binary
a)
1000001  
b)
1000010
c)
1000011
d)
1100010
2.
Binary is:
a)
a system using the digits 0 and 1 to represent a letter, digit, or other character in a computer or other electronic device.
b)
the most common format for text files in computers and on the Internet
3.
10 can be read as what decimal number?
a)
10
b)
1
c)
4
d)
2
4.
ASCII was developed in what decade?
a)
1950s
b)
1960s
c)
1970s
d)
1940s
5.
The word "Hello" is made up of 5 characters. How many bits is this (hint: how many 1's and 0's are needed to write it)
a)
40
b)
60
c)
80
d)
48
6.
Convert 00100100 to decimal
a)
26
b)
36
c)
46
d)
56
7.
What is the answer to 010 + 010?
a)
110
b)
010
c)
100
d)
011
8.
Convert the Hex number B9 to binary.
a)
10111001
b)
10111000
c)
10111101
d)
10101001
9.

How many bits are used in ASCII

a)

16

b)

1

c)

7

d)

8

10.

A character set is...

a)

What language can be used in a computer system

b)

The fonts that a computer has installed

c)

The possible characters that can be represented by a computer system

11.
An IDE checks programming code using a:
a)
Debugger
b)
Fault finder
c)
Breakpoint
d)
Compiler
12.

HOw many Bytes are used in Unicode

a)

8

b)

16

c)

1

d)

2

13.
What is machine code?
a)
Instructions converted by a translator
b)
Instructions in an HLL used by the CPU
c)
Instructions in binary used by the CPU
d)
Instructions in assembly used by the CPU
14.

ASCII can represent more characters than Unicode

a)

TRUE

b)

FALSE

15.
What is a translator?
a)
A program that converts commands into machine code
b)
A program that converts HLL to assembly code
c)
A program that converts the inputs from a keyboard
d)
A program for writing code
16.
What is Assembly code?
a)
Another name for Pseudocode
b)
A programming language that uses mnemonic codes
c)
A program that joins pieces of code together
d)
Another name for machine code
17.
What is an interpreter?
a)
Converts source code one instruction at a time
b)
Converts source code between 2 HLLs
c)
Converts source code between HLL and Assembly
d)
Converts keyboard presses to an ASCII code
18.
Which sorting algorithm shifts elements instead of swapping elements if needed in each pass.
a)
Bubble Sort
b)
Selection Sort
c)
Insertion Sort
19.
IDE is the abbreviation of integrated development environment.
a)
True
b)
False
20.
What will the output be from the following code?
print("Hello world!\nHello world!")
a)
Hello world! Hello world!
b)
Hello world!
Hello world!
c)
SyntaxError
d)
Hello world!
21.
Code repeated / looped until a condition has been met or a set number of times.
a)
Sequence
b)
Selection
c)
Iteration
d)
Variable
22.
Which of these would you NOT find in an IDE?
a)
Debugger
b)
Picture Editor
c)
Auto Documentation
d)
Source Code Editor
23.
Python identifies blocks of code by
a)
BEGIN and END keywords
b)
{ and }
c)
aligning up the starts of lines (indentation)
d)
guessing
24.
What will the output be from the following code?
print("Hello world!" * 2)
a)
TypeError
b)
Hello world world!
c)
Hello world!Hello world!
d)
Hello world! * 2
25.
Joining elements together to make a string is called what?
a)
Combining
b)
Connecting
c)
Concatenation
d)
Stringing
26.
The following lists represent 3 passes of a sorting algorithm. Which algorithm is being used to sort the list?
 
4    5    9    6    2    7

4    5    6    2    7    9 
4    5    2    6    7    9
a)
Bubble Sort
b)
Selection Sort
c)
Insertion Sort
27.
What is Decomposition?
a)
•– the use of computers to solve problems.
b)
representing 'real world' problems in a computer using variables and symbols and removing unnecessary elements from the problem
c)
•breaking down a large problem into smaller sub-problems.
d)
•identifying the steps involved in solving a problem.
28.
We are sorting the following list in ascending order:
 
1    4    2    9    3    8    5
 
What does the list look like after one pass of the bubble sort algorithm. 
a)
1 2 4 3 8 5 9
b)
1 4 2 5 3 8 9
c)
4 2 9 3 8 5 1
29.

Which of these algorithms searches for something by first looking in the middle of a list?

a)

Bubble sort

b)

Merge sort

c)

Linear search

d)

Binary search

30.

Which of these algorithms is usually more efficient (takes fewer steps) in sorting a list of items?

a)

Bubble sort

b)

Merge sort

31.
What does this flowchart symbol represent?
a)
process  / sequence
b)
decision
c)
start / end
d)
wait
32.

What algorithm does this image represent?

a)

Bubble sort

b)

Merge sort

c)

Linear search

d)

Binary search

33.

Which algorithm does this image represent?

a)

Linear search

b)

Binary search

c)

Bubble sort

d)

Merge sort

34.
What is abstraction?
a)
The process of filtering out unnecessary detail.
b)
The process of filtering out irrelevant characteristics
c)
The process of filtering out irrelevant characteristics and unnecessary detail.
35.
What does this flowchart symbol represent?
a)
data input / output
b)
start / end
c)
decision
d)
wait
36.
A symbol that leads to two possibilities in a flow chart is known as a...
a)
loop
b)
decision
c)
end
d)
sequence
37.
A symbol that starts or ends a flow chart is known as a...
a)
terminator
b)
decision
c)
loop
d)
sequence
38.
Another name for a terminator in a flow chart is...
a)
start / end
b)
decision
c)
process
d)
data input / output
39.
What is Abstraction?
a)
•– the use of computers to solve problems.
b)
representing 'real world' problems in a computer using variables and symbols and removing unnecessary elements from the problem
c)
•breaking down a large problem into smaller sub-problems.
d)
•identifying the steps involved in solving a problem.
40.
A section in a flowchart that requires an action from a user is known as a...
a)
decision
b)
loop
c)
wait
d)
input
41.
What does this flowchart symbol represent?
a)
data input / output
b)
decision
c)
start / end
d)
process / sequence
42.
A section of flowchart that happens continuously is known as a...
a)
loop
b)
wait
c)
decision
d)
input / output
43.
What does Lossy Compression do to files?
a)
Increases the file size and keeps the same quality
b)
Eliminates no information at all
c)
Decreases the file size and keeps the same quality
d)
Eliminates unnecessary information in a file to reduce file size
44.
What does this flowchart symbol represent?
a)
start / end
b)
process / sequence
c)
data input / output
d)
wait
45.
What type of compression would you use to compress a video?
a)
Lossy
b)
Lossless
46.
Colour depth refers to:
a)
How many bits are used in a file to store colour information in every pixel
b)
Resolution divided by the number of colours in an image.
c)
Degree of file compression applied to an image file.
d)
Repeated resampling of an image.
47.
What type of compression would you use to compress a text file?
a)
Lossy
b)
Lossless
48.
When Lossy compression is used data is lost?
a)
True
b)
False
49.
JPEG stands for...
a)
Joint Photo Exempted Grade
b)
Joint Photographic Experts Group
c)
Junior Photographic Export Group
50.
Resolution is measured in:
a)
Pixels per mm or per inch
b)
Print size.
c)
Milimeters.
d)
Bytes.
51.
Most graphic formats create many colours from:
a)
Red, green, blue.
b)
Red, pink, yellow.
c)
Red, white, blue.
d)
Black, white, green.
52.
The purpose of a Digital to Analogue converter is to… (6-8)
a)
convert binary data into analogue form so we can hear it via a speaker
b)
convert sound waves into binary so it can be understood by a computer
53.
The smallest unit of data stored in an image file is called:
a)
Pixels
b)
Resolution
c)
Alpha
d)
Bitmap.
54.
What unit is sample rate measured in? (1-4)
a)
Bits per second (bps)
b)
Hertz (Hz)
c)
Megabits per second (Mbps)
55.
What is meant by bit depth? (3-6)
a)
The number of samples taken per second
b)
The amplitude of each sample
c)
The number of bits used per second of audio
d)
The number of bits used to store each sound sample
56.
What sample rate is used for CD quality sound? (6-8)
a)
44,100 Hz
b)
88,200 Hz
c)
22,100 Hz
57.
What is the difference between analogue and digital data?
a)
Analogue is continuous data, whereas digital signals have two values, 0 and 1.
b)
Analogue has two values 0 and 1, whereas digital is continuous data.
58.
Quality of an image depends on:
a)
Resolution
b)
Metadata
c)
Screen size
d)
Computer's speed
59.
What is measured when the wave is sampled? (3-6)
a)
Amplitude
b)
Hertz
c)
Bit rate
d)
Frequency
60.
Define the term 'sampling'.
a)
Snapshots of sound are taken as the wave cannot be represented as a series of continuous changes.
b)
The number of samples taken each second
c)
 The number of bits used per second of audio
d)
 The number of bits available for each clip
61.

Which logic gate is represented by this truth table?

a)
b)
c)
d)
62.

A programmer uses comments in their code to ...

a)

Explain the purpose of their code

b)

Make it look pretty

c)

Make the program run quicker

d)

Stop the program from getting bugs

63.

A programmer can use extra whitespace to help ...

a)

Make the code more readable

b)

Make the code less readable

c)

Make the code run quicker

d)

Make the code have fewer bugs

64.

Indentation is used to make the code difficult to read

a)

TRUE

b)

FALSE

65.

Which logic gate is represented by this truth table?

a)
b)
c)
d)
66.

Which logic gate represented by this symbol?

a)

AND

b)

OR

c)

XOR

d)

NAND

67.

A programmer is deciding what to name a list that stores players names. Which is the most suitable list name to use

a)

z = [ " Stewie " , " Peter " , " Meg " ]

b)

a_list = [ " Stewie " , " Peter " , " Meg " ]

c)

a_list_of_names_from_a_tv_program = [ " Stewie " , " Peter " , " Meg " ]

d)

names = [ " Stewie " , " Peter " , " Meg " ]

68.

Which logic gate represented by this symbol?

a)

OR

b)

NOR

c)

XOR

d)

NOT

69.

Code that is well maintained with comments / indentations / procedures and extra whitespace means that the program is more ...

a)

Robust

b)

Complicated

c)

Quicker

70.

A programmer is deciding what to name a variable that stores someones full name. Which is the most suitable variable name to use

a)

x = input ( "Enter full name" )

b)

jeff = input ( "Enter full name" )

c)

full_name = input ( "Enter full name" )

d)

full name = input ( "Enter full name" )

71.
A list contains the names:
George, Jane, Miranda, Ahmed, Sophie, Bernie, Keith.
They are sorted using Insertion sort. What is the first name to be moved?
a)
George
b)
Jane
c)
Ahmed
d)
Sophoe
72.
Convert 4800MB into GB
a)
480gb
b)
48gb
c)
4gb
d)
4.8gb
73.
Using extended 8-bit ASCII, how many bytes would eb required to store the phrase "Computer Science"?
a)
15
b)
16
c)
8
d)
2
74.

Which logic gate is represented by this truth table?

a)
b)
c)
d)
75.

You do not get access to the source code with compiled code.

a)

True

b)

False

76.

What is machine code?

a)

Instructions and data in binary

b)

Serial number of the CPU

c)

Instructions and data in human readable form

d)

Instructions and data in assembly code mnemonics

77.

What is assembly code?

a)

Another name for machine code

b)

High-level programming language

c)

Low-level programming language

d)

Type of object code Type of object code

78.

Why were high-level languages developed?

a)

Low-level language was too easy

b)

They were created by accident

c)

Low-level languages are hard to remember and use

d)

Computers were getting too advanced

79.

Why do we need translators?

a)

Computers only understand program's in assembly code.

b)

Computers only understand program's in high-level language.

c)

Computers only understand Norwegian.

d)

Computers only understand program's in machine language.

80.

It translates the whole program into machine code before it runs.

a)

Assembler

b)

Compiler

c)

Interpreter

d)

Linker

81.

What is the problem writing machine code?

a)

Quick to learn

b)

Easy to debug

c)

Easy to read

d)

Hard to remember the binary codes Hard to remember the binary codes

82.

What does a translator do?

a)

Swaps between different high-level languages

b)

Swaps between different machine code types

c)

Converts pseudocode to machine code

d)

Converts programs to machine code