wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

J277 End of Term 1

Total questions: 168

Worksheet time: 2hrs 30mins

Name
Class
Date
1.
Part of the CPU that performs mathematical operations on data e.g. addition, subtraction
a)
Arithmetic Logic Unit (ALU)
b)
Accumulator
c)
Registers
d)
Read Only Memory (ROM)
2.
Component of the CPU that directs operation of the processor
a)
Control Unit (CU)
b)
Graphics Processing Unit (GPU)
c)
Assembler
d)
Interpreter
3.
Small amounts of high-speed memory within the CPU
a)
Registers
b)
BIOS
c)
Program Counter (PC)
d)
Virtual memory
4.
Holds memory addresses for data or instructions about to be used by the CPU
a)
Memory Address Register (MAR)
b)
Random Access Memory (RAM)
c)
Arithmetic Logic Unit (ALU)
d)
Flash memory
5.
Holds the contents found at the address held in the mar, or data which is being transferred to or from memory
a)
Memory Data Register (MDR)
b)
Fetch
c)
Read Only Memory (ROM)
d)
Volatile
6.
Stores results of calculations in the ALU
a)
Accumulator
b)
Embedded system
c)
Random Access Memory (RAM)
d)
Virtual memory
7.
Holds memory address of the instruction for each cycle
a)
Program Counter (PC)
b)
Accumulator
c)
BIOS
d)
Registers
8.
The next instruction is retrieved by the CPU from memory
a)
Fetch
b)
Cache
c)
Execute
d)
Decode
9.
The instruction is broken down and decoded so computer can execute it
a)
Decode
b)
Encryption
c)
Fetch
d)
Execute
10.
The CPU performs the instruction
a)
Execute
b)
Decode
c)
Compression
d)
Fetch
11.
A computer system built within a digital device e.g. camera, washing machine, car
a)
Embedded system
b)
Central Processing Unit (CPU)
c)
Operating System
d)
ALU
12.
Memory loses its data when power off
a)
Volatile
b)
Non-volatile
c)
Virtual memory
d)
Registers
13.
Memory retains its data when power off
a)
Non-volatile
b)
Volatile
c)
Flash memory
d)
BIOS
14.
Read/write - function is to load open programs and operating system data currently in use - volatile
a)
Random Access Memory (RAM)
b)
Read Only Memory (ROM)
c)
Cache
d)
Virtual memory
15.
Can only be read, can't be changed, stores essential programs to be run in order to boot the computer - non-volatile
a)
Read Only Memory (ROM)
b)
Flash memory
c)
Random Access Memory (RAM)
d)
Registers
16.
A type memory that stores copies of frequently used data, much faster than RAM, lower capacity - closer to CPU
a)
Cache
b)
Read Only Memory (ROM)
c)
BIOS
d)
Flash memory
17.
Collection of wires that carry signals between various components of the computer system
a)
Buses
b)
Graphics Processing Unit (GPU)
c)
Central Processing Unit (CPU)
d)
Control Unit (CU)
18.
Processes all of the data and instructions that make the system work - can be affected by clock speed, number of cores, cache size
a)
Central Processing Unit (CPU)
b)
Arithmetic Logic Unit (ALU)
c)
Program Counter (PC)
d)
Graphics Processing Unit (GPU)
19.
How fast the computer does the FDE cycle
a)
Clock speed
b)
Cache
c)
Bandwidth
d)
Bit rate
20.

The role of the ALU is ...

a)

to carry out calculations

b)

to carry out logic comparisons

c)

to carry out calculations and instructions

d)

to carry out calculations and logic comparisons

21.

Which of the following is not done by abstraction?

a)

Identifies essential details

b)

Disregards non-essential information

c)

Breaks the problem down into smaller tasks

22.

Which of the following is not done by decomposition?

a)

Allows multiple people to work on the problem together

b)

Disregards non-essential information

c)

Breaks the problem down into smaller tasks

23.

When drawing a dog, which of the following characteristics is non-essential?

a)

Dogs have 4 paws

b)

Dogs have fur

c)

Dogs have brown fur

24.

When designing a building that must be accessible for wheelchairs, which of the following characteristics is non-essential?

a)

Number of doors

b)

Number of walls

c)

Number of wall paintings

25.

One advantage of abstraction is that it means no mistakes can be made

a)

True

b)

False

26.

You could use abstraction to replace specific objects with simple shapes

a)

True

b)

False

27.

This is a good example of decomposition

Sit down

Do homework

a)

True

b)

False

28.

Decomposition allows each task to become _______

a)

More manageable

b)

Easier

c)

Quicker

29.

Decomposition allows the entire task to be completed as _____

a)

A Team

b)

A Whole

c)

Quickly as possible

30.

Abstraction and Decomposition are separate concepts, you would usually choose to do either one or the other

a)

True

b)

False

31.

It is always necessary to decompose a task

a)

True

b)

False

32.

Abstraction and Decomposition are examples of...

a)

Computational Thinking

b)

Algorithmic Thinking

c)

Computer Science

d)

Logical Reasoning

33.

What is pattern recognition?

a)

Breaking down a complex problem into smaller problems

b)

Looking for similarities among and within problems

c)

Building models from patterns

34.

Why do we need to look for patterns in problems?

a)

Patterns make it easier for us to solve complex problems

b)

We don't need to look for patterns

c)

Patterns make it more difficult complex problems

35.

If you don't look for patterns in a problem, your solution might be _____

a)

Wrong

b)

Inefficient

c)

Too slow

36.

Identifying the steps involved in solving a problem

a)

Abstraction

b)

Decomposition

c)

Pattern Recognition

d)

Algorithmic Thinking

37.
Which of the following is an example of thinking computationally?
a)
Planning out your route when going to meet a friend
b)
When going to meet a friend, wandering around until you find them
c)
When going to meet a friend, asking a parent to plan your route for you
38.

Looking for similarities and trends within a problem

a)

Abstraction

b)

Decomposition

c)

Pattern recognition

d)

Algorithmic Thinking

39.

What is a flowchart?

a)

A visual representation of an algorithm.

b)

A diagram that shows abstraction.

c)

A series of shapes.

40.

A school database has lots of information on students, the data manager needs to use abstraction. What data should she leave out?

a)

Age

b)

Guardian's phone numbers

c)

Classes

d)

Eye colour

41.

Which of these describes maintainability?

a)

Making the program easier to use for the user

b)

Making the code easier to read for the user

c)

Making the code easier to read for the programmer

d)

Making the program easier to use for the programmer

42.

In order to explain what you mean to another programmer in words in the code you use...

a)

Sub-Programs

b)

Whitespace

c)

Indentation

d)

Comments

43.

What word describes: giving variables names that reflect what their purpose is?

(a)  

44.

Which of these would you NOT use to add whitespace

a)

spaces

b)

indentation

c)

extra variable names

d)

empty lines

45.

What maintainability term describes splitting code up into methods that perform some of the work?

(a)  

46.

Why is code indented?

a)

To group together a function

b)

The code does not use a { syntax and indentation is used instead

c)

To make the code easier to read

d)

All of the above

47.

Which of these is not a method for authenticating a user?

a)

Password

b)

Password and Username

c)

Finger print scanner

d)

Encryption

48.

When should comments be used within a program?

a)

To help describe what code and structures are expected to do

b)

To remind the developer if when lunch is

c)

To include what tests must be carried out on the code

d)

Every line, so that you know exactly what is happening

49.

Which of the following are maintainability considerations - tick all that apply

a)

authentication

b)

comments

c)

naming conventions

d)

anticipating misuse

e)

use of subprograms

50.

Why do we want code to be maintainable?

a)

To make code easy to edit by other programmers

b)

To lessen the chance of mistakes when programming

c)

To make it easier to make corrections to your own code

d)

All of the above

51.

Machine code is used in which generation of a programming language?

a)

1st Generation

b)

2nd Generation

c)

3rd Generation

d)

4th Generation

52.

Which language translator is needed for the first generation?

a)

Compiler

b)

Interpreter

c)

No Translator

d)

Language Translator

53.

Which of these is an example of a low-level language?

a)

Delphi

b)

Little Man Computer

c)

Basic

d)

C#

54.

Which language translator(s) is/are used with the third generation?

a)

Compiler

b)

Interpreter

c)

No Translator

d)

Language Translator

55.

Which generation would create the fastest code to execute?

a)

1st Generation

b)

2nd Generation

c)

3rd Generation

d)

4th Generation

56.

Which generation would be easier to program for a programmer?

a)

1st Generation

b)

2nd Generation

c)

3rd Generation

57.

An advantage of programming in a high-level programming language is

a)

One to One (One high level instruction is equivalent to one low level)

b)

One to Two (For every high level instruction there are two low level instructions)

c)

One to many (For every high level instruction there are many low level instructions)

d)

Many to One (Many high level instructions translate into one low level instruction)

58.

Executes instructions written in a programming language

a)

Language Translator

b)

Compiler

c)

Interpreter

d)

Source Code

59.

Software program which optimizes code, ready for execution

a)

Language Translator

b)

Compiler

c)

Interpreter

d)

Source Code

60.

Converts instructions in a programming language to a single executable file

a)

Compiler

b)

Interpreter

c)

Source Code

d)

Object Code

61.

Which translator stops when it encounters an error?

a)

Compiler

b)

Interpreter

62.

Which translator produces Object Code and an Error Report listing the errors found

a)

Compiler

b)

Interpreter

63.

What is meant by source code

a)

The final executable program

b)

The code written by the programmer

c)

The additional information about errors

d)

Code relating to sources of information on the Internet

64.

Machine Code is used in which generation of a programming language?

a)

1st

b)

2nd

c)

3rd

d)

4th

65.

Which language translator is needed for the first generation?

a)

Compiler

b)

Interpret

c)

No Translator

d)

Language Translator

66.

Which of these is an example of a low-level language?

a)

Delphi

b)

LMC

c)

Basic

d)

C#

67.

Which of these converts a computer program from one language to another?

a)

Compiler

b)

Interpreter

c)

No Translator

d)

Language Translator

68.

Which generation would create the fastest code to execute?

a)

1st

b)

2nd

c)

3rd

d)

4th

69.

An advantage of programming in low-level programming is

a)

Easier to understand

b)

Takes up less code

c)

Produce programs that require small file sizes

d)

Easier to de-bug

70.

An advantage of programming in a high-level programming language is

a)

Easier to understand

b)

Useful for device drivers

c)

Programs require smaller file sizes

d)

Programs execute faster than other generations

71.

What sort of relationship are low-level languages said to have with high-level languages?

a)

One to One (One high level instruction is equivalent to one low level)

b)

One to Two (For every high level instruction - two low level instructions)

c)

One to many (For every high level instruction-many low level instructions)

d)

Many to One (Many high level instructions translate into one low level one)

72.

Translation software needed at run-time

a)

Language Translator

b)

Compiler

c)

Interpreter

73.

Code is optimised

a)

Language Translator

b)

Compiler

c)

Interpreter

74.

Translates entire source code in one go

a)

Language Translator

b)

Compiler

c)

Interpreter

75.

Which translator stops when it encounters an error?

a)

Language Translator

b)

Compiler

c)

Interpreter

76.

Which translator converts from different languages?

a)

Language Translator

b)

Compiler

c)

Interpreter

77.

Which translator is used at the end of development?

a)

Language Translator

b)

Compiler

c)

Interpreter

78.

What is meant by source code?

a)

The final executable program

b)

The code written by the programmer

c)

The additional information about errors

d)

Code relating to sources of information on the Internet

79.

Nearly all IDEs will have this to manipulate source code

a)

Text Editor

b)

Debugger

c)

Compiler

80.

Helps identify and fix errors in code

a)

Text Editor

b)

Debugger

c)

Compiler

81.

Translates source code from a high-level language to a lower level language

a)

Text Editor

b)

Debugger

c)

Compiler

82.

Which one would I be using if I had syntax highlighting?

a)

Text Editor

b)

Debugger

c)

Compiler

83.

What is a debugger?

a)

The final executable program

b)

The code written by the programmer

c)

Assists in the detection and correction of errors

d)

Translates code

84.
A programming tool used to halt a program at a specific place
a)
Breakpoint
b)
Concatenation
c)
Debugging
d)
Function
85.

RAM - What happens when the electricity Is turned off?

a)

The data from the memory is saved onto virtual memory

b)

The data from the memory is not saved

c)

The data from the memory is saved onto the hard disk

d)

The data from the memory is saved onto ROM

86.

Where does virtual memory live?

a)

RAM

b)

Cache

c)

Hard Disk

d)

ROM

87.

Where does the BIOS live?

a)

RAM

b)

Cache

c)

Hard Disk

d)

ROM

88.

Where are the currently used data and instructions kept?

a)

RAM

b)

Cache

c)

Hard Disk

d)

ROM

89.

A computer is continuously paging to the swap file. Discuss why this might be happening

a)

There is not enough RAM

b)

The virtual memory is too small

c)

The cache is too slow

d)

The hard disk is too slow

90.

Which of the following is not a type of storage?

a)

Optical

b)

Magnetic

c)

Solid State

d)

Hard Drive

91.

What type of storage is a DVD ROM?

a)

Optical

b)

Magnetic

c)

Solid State

d)

It is not a storage device

92.

What type of storage is a USB memory stick?

a)

Optical

b)

Magnetic

c)

Solid State

d)

It is not a storage device

93.

What type of storage is a SSD card?

a)

Optical

b)

Magnetic

c)

Solid State

d)

It is not a storage device

94.

What type of storage is a HDD?

a)

Optical

b)

Magnetic

c)

Solid State

d)

It is not a storage device

95.

Which of the following types of storage would likely access its data the fastest?

a)

Optical

b)

Magnetic

c)

Solid State

d)

They are all the same

96.

Which of the following types of storage is the most durable?

a)

Optical

b)

Magnetic

c)

Solid State

d)

They are all the same

97.

Which of the following types of storage is the most expensive per MB/GB?

a)

Optical

b)

Magnetic

c)

Solid State

d)

They are all the same

98.

Why is a Hard Disk Drive (HDD) not very portable?

a)

It has moving parts

b)

It will break if you touch it

c)

It is too large

d)

It is too small

99.

Why does a laptop need secondary storage?

a)

To backup files to move to another computer

b)

To storage programs that are currently running

c)

To store data, files and software for future use

d)

To store data that the processor needs

100.

Which type of storage uses lasers to write the data?

a)

Magnetic

b)

Solid State

c)

All types

d)

Optical

101.

The R/W speed of storage are listed below from fastest to slowest. What is the correct order?

a)

Solid State, Optical, Magnetic

b)

Optical, Magnetic, Solid State

c)

Optical, Magnetic, Solid State

d)

Solid State, Magnetic, Optical

102.

The types of storage are listed below from least expensive per GB to the most. What is the correct order?

a)

Solid State, Optical, Magnetic

b)

Optical, Magnetic, Solid State

c)

Magnetic, Optical, Solid State

d)

Solid State, Magnetic, Optical

103.

The types of storage are listed below from the most reliable to the least reliable. Pick the one that is the correct order.

a)

Solid State, Optical, Magnetic

b)

Optical, Magnetic, Solid State

c)

Magnetic, Optical, Solid State

d)

Solid State, Magnetic, Optical

104.

How many bytes are there per character in a text file?

a)

0.5

b)

1

c)

1.5

d)

2

105.

Which is the smallest of these data capacities?

a)

2 KB

b)

2049 bytes

c)

0.5 MB

d)

3GB

106.

Which is the largest of these data capacities?

a)

2048 MB

b)

2 GB

c)

2050 MB

d)

100000 KB

107.

Which formulae can be used to estimate the file size of an image?

a)

number of pixels * number of bytes per pixel

b)

number of pixels *

c)

number of pixels wide number of pixels high number of bytes per pixel *

d)

number of pixels wide number of bytes per pixel number of pixels *

108.

Which formulae can be used to estimate the file size of a sound file?

a)

bytes per sample channels height + number of minutes

b)

samples per second number of seconds

c)

samples per second bytes per sample duration

d)

samples per second samples per second channels * duration

109.

How many bytes are needed to store 32769 different colours?

a)

1

b)

2

c)

3

d)

4

110.

What numeric base does binary operate on?

a)

2

b)

1

c)

8

d)

16

111.

How many bits are there in a byte?

a)

8

b)

16

c)

1

d)

2

112.

What is the maximum number of bits needed to represent 15 in denary?

a)

6

b)

4

113.

What is the 8 bit binary representation of 17?

a)

00010010

b)

00001101

c)

00010001

d)

00100010

114.

What is the binary representation of 32?

a)

00110000

b)

00100001

c)

00100100

d)

00100000

115.

What is the denary representation of this 8 bit number? 01001111

a)

59

b)

79

c)

69

d)

49

116.

What is the denary representation of this 8 bit number? 11010101

a)

199

b)

206

c)

228

d)

213

117.

How Bytes are there in a Terabyte?

a)

1024 Kilobytes

b)

1024 Megabytes

c)

1024 Gigabytes

d)

1024 bytes

118.

Why do we use the binary number system in Computing?

a)

Because a CPU has two transistors

b)

To represent the two different states of transistors

c)

To allow the CPU to be in one of two states

d)

Because it means true/false

119.

What is the hex number 6B in binary?

a)

01101011

b)

01110111

c)

10101110

d)

01110100

120.

How many bits are used in ASCII?

a)

1

b)

8

c)

7

d)

16

121.

How many Bytes are used in Unicode?

a)

8

b)

16

c)

2

d)

1

122.

The ASCII code is represented by using 16 bits.

a)

True

b)

False

123.

Upper and lower case letters have a different ASCII code?

a)

True

b)

False

124.

What is the maximum number of values that can be represented in 8-bits?

a)

16

b)

256

c)

65,536

d)

128

125.

What is the maximum number of values that can be represented in 7-bits?

a)

16

b)

256

c)

65,536

d)

128

126.

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.

d)

The alphabet

127.

ASCII can represent more characters than Unicode?

a)

True

b)

False

128.

ASCII Stands for

a)

American Standard Code for Information Interchange

b)

American Scientific Code for Information Interchanging

c)

Absolute Standard Codes for Instruction Interchange

d)

American Standard Codes for Instruction Interchange

129.

What do we call the smallest unit of data that can be represented in an image?

a)

Pixel

b)

Dot

c)

Colour

d)

Bit

130.

What is meant by colour depth?

a)

Number of pixels in the image

b)

The number of colours available for each pixel

c)

How pixelated the image is

d)

How deep the colour

131.

If you increase the colour depth the file size will decrease.

a)

True

b)

False

132.

How many colours can be represented with a 4 bit colour depth?

a)

2

b)

4

c)

16

d)

256

133.

In modern technology what unit of measurement would be used for screen resolution?

a)

Pixels per inch (PPI)

b)

Dots per inch (DPI)

c)

Pixels per meter (PPM)

d)

Grains per inch (GPI)

134.

Which of the following is not stored as metadata about an image?

a)

Height

b)

Colour depth

c)

Resolution

d)

Number of people in the image

135.

Which of the following is not an image file?

a)

PNG

b)

JPEG

c)

Bitmap

d)

MPEG

136.

What three colours are used to produce a broad array of colours in a computers?

a)

Green, Red, Orange

b)

Red, Green, Blue

c)

Yellow, Green, Red

d)

Purple, Pink, Black

137.

What is the name of the type of graphic that uses shapes of solid colour?

a)

Raster

b)

GIF

c)

Vector

d)

JPEG

138.

What unit is sample rate measured in?

a)

Bits per second (bps)

b)

Hertz (Hz)

c)

Megabits per second (Mbps)

139.

Which of the following is not true if you increase the sample rate?

a)

Better quality of recording

b)

Needs greater storage space

c)

larger file size

d)

Decrease in quality

140.

What is meant by bit depth?

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

141.

What is measured when the wave is sampled?

a)

Amplitude

b)

Hertz

c)

Bit rate

d)

Frequency

142.

What sample rate is used for CD quality sound?

a)

44,100 Hz

b)

88,200 Hz

c)

22,100 Hz

d)

72,100 Hz

143.

What piece of hardware would you use to input sound into a computer?

a)

Speaker

b)

Analogue to digital converter

c)

Microphone

d)

Digital to analogue converter

144.

If you increase the bit depth of an audio file, you increase the quality.

a)

True

b)

False

145.

The amplitude of a sound wave is…

a)

How high the wave is from the crest or trough

b)

The frequency at which it is sampled

c)

The frequency at which it is sampled

146.

What is compression?

a)

Converts one file to another

b)

Reduces the size of data to save space

c)

Minimizes the time taken for a file to be downloaded

d)

Compresses something by pressing it very hard

147.

What does Lossy Compression do to files?

a)

Decreases the file size and keeps the same quality

b)

Eliminates no information at all

c)

Eliminates unnecessary information in a file to reduce file size

d)

Increases the file size and keeps the same quality

148.

What is Lossless Compression?

a)

No information is lost but file size is increased

b)

There is no loss in information at all after compression

c)

Files which have the exact same data after compression

d)

Compression that involves an algorithm

149.

What type of compression does the ZIP format use?

a)

Lossy

b)

Lossless

150.

What type of compression would you use to compress a video?

a)

Lossy

b)

Lossless

151.

What type of compression would you use to compress a text file?

a)

Lossy

b)

Lossless

152.

What type of compression may remove some of the data?

a)

Lossy

b)

Lossless

153.

Which of the following are not usually in a compressed format?

a)

JPEG

b)

MPEG

c)

Bitmap

d)

MP3

154.

Uncompressed audio and video files require less memory than compressed

a)

True

b)

False

155.

JPEG stands for…

a)

Joint Photo Exempted Grade

b)

Joint Photographic Experts Group

c)

Junior Photographic Export Group

d)

Junior Photographic Experts Group

156.

Machine code is used in which generation of a programming language?

a)

1st Generation

b)

2nd Generation

c)

3rd Generation

d)

4th Generation

157.

Which language translator is needed for the first generation?

a)

Compiler

b)

Interpreter

c)

No Translator

d)

Language Translator

158.

Which of these is an example of a low-level language?

a)

Delphi

b)

Little Man Computer

c)

Basic

d)

C#

159.

Which language translator is used with the third generation?

a)

Compiler

b)

Interpreter

c)

No Translator

d)

Language Translator

160.

Which generation would create the fastest code to execute?

a)

1st Generation

b)

2nd Generation

c)

3rd Generation

d)

4th Generation

161.

Which generation would be easier to program for a programmer?

a)

1st Generation

b)

2nd Generation

c)

3rd Generation

d)

4th Generation

162.

An advantage of programming in a high-level programming language is

a)

One to One (One high level instruction is equivalent to one low level)

b)

One to Two (For every high level instruction there are two low level instructions)

c)

One to many (For every high level instruction there are many low level instructions)

d)

Many to One (Many high level instructions translate into one low level instruction)

163.

Executes instructions written in a programming language

a)

Language Translator

b)

Compiler

c)

Interpreter

d)

Source Code

164.

Software program which optimizes code, ready for execution

a)

Language Translator

b)

Compiler

c)

Interpreter

d)

Source Code

165.

Converts instructions in a programming language to a single executable file

a)

Compiler

b)

Interpreter

c)

Source Code

d)

Object Code

166.

Which translator stops when it encounters an error?

a)

Compiler

b)

Interpreter

167.

Which translator produces Object Code and an Error Report listing the errors found

a)

Compiler

b)

Interpreter

168.

What is meant by source code

a)

The final executable program

b)

The code written by the programmer

c)

The additional information about errors

d)

Code relating to sources of information on the Internet