wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

UVI - Revision Xmas

Total questions: 72

Worksheet time: 1hrs 3mins

Name
Class
Date
1.

Organise these components of the CPU

Categorize the following

Program counter (PC)

Memory Address Register (MAR)

Memory Data Register (MDR)

Accumulator

Control Unit Send scontrol signals to the other parts of the CPU

Stores frequently used data and instructions

Faster read write access times than RAM

very small amount of super fast store of data for CPU processing

Acts as the conductor to all the components of the CPU

Registers
Control Unit (CU)
Cache
2.

Which of the following is the correct Boolean expression for this circuit?

a)

(A AND B) OR (X AND Y) = Z

b)

NOT (A AND B) = Z

c)

(NOT X) OR (NOT Y) = Z

d)

(NOT A) AND (NOT B) = Z

3.

Which of the truth tables shown below, accurately represents this logic circuit?

a)
b)
c)
d)
4.

Which of the following is the correct truth table for the Boolean expression shown here:

a)
b)
c)
d)
5.

The name of the parameter in this code is

(a)  

6.

Select the symbol that assigns a value to a variable.​ (a)  

Choose from the below words
=
+
^
==
.
*
7.

Type the LINE number that has a logical error

(Line number is on the left of the code snippet)

(a)  

8.

Match the code to the technical vocabulary

a)

1.

Selection

b)

2.

Condition

c)

3.

Iteration

d)

4.

Assignment

9.

Which of these names is NOT one of Father Christmas’ Reindeer?

Comet, Cupid, Dasher, Dancer, Prancer, Chaser, Vixen, Donner, Blitzen.

(a)  

10.

CHALLENGE QUESTION

Where was St. Nicholas born?

a)

Greece

b)

Turkey

c)

Egypt

d)

Russia

11.

From the note names guess the song

E E E E E E E G C D E

a)

Jingle Bells

b)

Jolly Old St. Nicholas

c)

The First Noel

12.

Finish the lyric:

All I want for Chirstmas...

(a)  

13.

Song: Santa Clause is Coming To Town


"You better not ____, better not ____."

a)

Cry, Shout

b)

Cry, Pout

c)

Cry, Doubt

d)

Cry, Flout

14.

Song: Frosty The Snowman


"Frosty the Snowman, was a ____ happy soul."

a)

Jelly

b)

Very

c)

Jolly

d)

Merry

15.

Song: 12 Days of Christmas


"On the fourth day of Christmas my true love sent to me, ____"

a)

Four French Hens

b)

Four Calling Birds

c)

Four Golden Rings

d)

Four Colly Birds

16.

What is the name of the sweet bread eaten during Christmas in Italy?

a)

Panettone

b)

Stollen

c)

Baklava

d)

Turron

17.

Who sings the famous Christmas hit Last Christmas?

a)

Elton John

b)

Michael Bublé

c)

Wham!

d)

George Michael

18.

Which song begins with the lyrics, “Dashing through the snow”?

(a)  

19.

Draw the Grinch as you remember him

20.

In Home Alone, where does Kevin’s family travel for Christmas?

a)

Paris

b)

New York

c)

London

d)

Los Angeles

21.

Combien font 14 + 2?

a)

soixante

b)

six

c)

seize

d)

quatorze

22.

Rudolf is famous for his glowing red nose. The consumption of __________ could possible make his nose emit light.

a)

fungi

b)

bacteria

c)

animals

d)

glowsticks

23.

The reason Santa's hair is completely white is because of the _________________ clock.

a)

melanogenic

b)

santaogenic

c)

whiteogenic

d)

Digital

24.

The ability to avoid detection and observation is ________

a)

crypsis

b)

stealthiness

c)

really cool

d)

hideandseekiness

25.

What kind of change occurs to the turkey and ham traditionally cooked for Christmas dinner?

a)

physical change

b)

chemical change

26.

A large male reindeer has a mass of 300kg, what size force is this?

a)

30 Newtons

b)

150 Newtons

c)

300 Newtons

d)

3000 Newtons

27.

A large male reindeer has a mass of 300kg, what size force is this?

a)

30 Newtons

b)

150 Newtons

c)

300 Newtons

d)

3000 Newtons

28.

On Christmas Eve, Santa has 32 hours to deliver presents. Why does he have longer than a day?

a)

he travels east to west maximise darkness

b)

he travels west to east maximise darkness

c)

He travels faster than light

d)

The elves help for 8 hours

29.
The process by which objects of one class acquire the properties of objects of another class is known as
a)
Polymorphism
b)
Inheritance
c)
Data Hiding
d)
None of the above.
30.
The wrapping up of data and functions into a single unit is called
a)
overloading
b)
class
c)
object
d)
encapsulation 
31.

Translates low level assembly language mnemonic into machine code

a)

Assembler

b)

Compiler

c)

Interpreter

32.

Which of the following is NOT a translator?

a)

Assembler

b)

Compiler

c)

Interpreter

d)

Executable

33.

Which of these is high level code?

a)
b)
34.

The correct order of the stages of compilation is:

a)

Lexical Analysis, Syntax Analysis, Code Generation, Code Optimisation

b)

Lexical Analysis, Syntax Analysis, Code Optimisation, Code Generation

c)

Syntax Analysis, Lexical Analysis, Code Optimisation, Code Generation

d)

Syntax Analysis, Lexical Analysis, Code Generation, Code Optimisation

35.

The code is checked against the rules in:

a)

Lexical Analysis

b)

Syntax Analysis

c)

Code Generation

d)

Code Optimisation

36.
Give two advantages of using compiled code over interpreted code
a)
Faster to execute
b)
Does not require compiler to run
c)
Is platform independent
d)
Runs instantly without time waiting for compilation
37.
Describe the function of a loader
a)
Provided by the operating system, a loader retrieves the library or subroutine from the given memory location
b)
Tokens are compared to the rules of the programming language
c)
Syntax errors are identified
d)
Symbol table updated with more details
e)
Semantic analysis (finding logic errors)
38.
Which type of sort algorithm is this?
a)
Bubble
b)
Merge
c)
Insertion
39.
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
40.

The number of chocolates a family ate on Christmas Day was recorded. The range was 8 chocolates and the highest amount was eaten by Kevin who had 13 chocolates.

What was the least number of chocolates eaten?

a)

5

b)

13

c)

18

d)

21

41.

Organise these options into the right categories

Categorize the following

Complex circuitry

Less complex circuitry

Multiple clock cycles per instruction

Single clock cycle per instruction

Less memory used to store the instructions for a program

Piepling harder to implement

More suited to pipelining

Less power consumption

Higher power consumption

Generates less heat

runs at lower clock speed

CISC
RISC
42.

CISC stands for

(a)  

43.

Organise these options into the right categories for global and local variables

Categorize the following

Declared outside any sub-routines

Scope - accessible throughout the entire program

Declared in a sub-routine

Scope only accesible within the sub-routine

Kept in memory for duration of the program

COuld mean more memory is being used than needed

Can be accessed by any function in the program

Typically used for constants and configuration settings

Changes to global variables can affect the entire program

Can lead to unintended side effects if not managed properly

Memory is released when the sub-routine exits

Can have the same name as global variables without conflict

Used for temporary data storage

Helps in reducing the risk of unintended side effects

Encourages modular programming practices

Easier for different programmers to work on teh program

Global
Local
44.

Select the objects attributes initialized in the Room class constructor method.

45.

Put each of the following into the correct category

Categorize the following

set_description()

get_ description()

describe()

init()

self.name

self.description

self.linked_rooms

self.characters

room_name

Room

Methods
Attributes
Parameters
Class
46.

Write a line of code to run the describe method on a Room object called room1

(a)  

47.

Which of the following is a benefit of inheritance in OOP?

a)

Code reusability

b)

Increased playability

c)

Simpler syntax

d)

Faster execution

48.
Which life cycle is this?
a)
Spiral
b)
Waterfall
c)
Incremental
d)
V-shaped
49.

The waterfall method is......

a)

pouring water on your keyboard and hoping it makes software

b)

a linear approach to software development

c)

a way to develop software quickly

d)

unorganized

50.
A scout company have a database with records of all the scouts.  They want to create a list of all scouts who are under 15 and their achievements. What would they use? 
a)
SQL UPDATE command
b)
Form 
c)
SQL SELECT Query
d)
Sort
51.

Which validation check would we use to check that a field is empty:

a)

Presence check

b)

Length check

c)

Range check

d)

Format check

52.

What do we use to connect tables in a relational database:

a)

Foreign Key

b)

Query

c)

Fields

d)

Table

53.

Select the field which may be used a primary key

54.

Select the record in this table

55.

Select the field in this table

56.
Which of the following is a mechanism by which object acquires the properties of another object?
a)
Encapsulation
b)
 Abstraction
c)
Inheritance
d)
 Polymorphism
57.

Definition of encryption

a)

Using an algorithm and a key to convert message data into a form that is not understandable without that key.

b)

A method of trying to find the plain text from the cipher text without the decryption key.

c)

Process of turning legible text into gobbledygook.

d)

Using an algorithm and a key to convert encrypted message data into its plain text equivalent.

58.
How many keys are used in asymmetric encryption?
a)
Two (one public and one private)
b)
Two (two public)
c)
Two (two private)
d)
One (one public)
e)
One (one private)
59.
In which kind of lossless compression are repeated characters replaced by one occurrence and the number of times to repeat the character?
a)
Run length encoding
b)
Dictionary encoding
c)
Transform Coding
d)
Perceptual Coding
60.
What is meant by compression?
a)
The process of reducing the space required to store a file
b)
To keep data secure during transmission
c)
To hide files from third parties
61.

A Caesar cipher encrypts the plaintext Et tu, Brute into the ciphertext ix xy, fvyxi. What would the same cipher encrypt it was Greek to me into?

a)

mx aew kviio xs qi

b)

ny bfx lwjjp yt rj

c)

ep swo cnaag pk ia

d)

qb eia ozmms bw um

62.

What is the main difference between hashing and encryption as shown in the image?

a)

Hashing and encryption both produce a human-readable output.

b)

Hashing is reversible while encryption is not.

c)

Hashing produces a fixed-size hash value, whereas encryption produces an encrypted value that can be of variable length.

d)

Encryption uses a key for the transformation process, while hashing does not.

63.

What is the main difference between hashing and encryption techniques?

a)

Hashing is a two-way process, while encryption is not.

b)

Encryption is a one-way process, while hashing is not.

c)

Hashing is a one-way process, while encryption is a two-way process.

d)

There is no difference; both are two-way processes.

64.

What is one of the benefits of using hashing in data storage and retrieval?

a)

It requires the data to be sorted.

b)

It increases the time complexity for searching.

c)

It allows for quick searching, insertion, and deletion of data.

d)

It is only useful for small datasets.

65.
Which part of TCP/IP prepares the message for being sent and reassembles any incoming messages?
a)
TCP
b)
IP
66.

The ability of a programming language to process objects differently depending on their class is called ...

a)

Encapsulation

b)

Inheritance

c)

Polymorphism

d)

Instantiation

e)

Attributes

67.

is a device used to connect computers together to form a LAN

a)

Router

b)

Hub

c)

Modem

68.
Which device filters data packets and only sends to those that require the data?
a)
Router
b)
Switch
c)
Hub
d)
WAP
69.

The code below creates a turtle object and then tells it to move forwards 50 steps. What is the name of the method being called in this code?

a)

tracy

b)

Turtle

c)

forward

d)

50

70.

Name the condition at which the recursive method will stop calling itself.

a)

Base case

b)

Worst Case

c)

Best Case

d)

None of the above

71.

The number of recursive calls is limited to the ____ of the stack.

a)

time

b)

ability

c)

quality

d)

size

72.

What is the returned value of recmethod(5)?

a)

68

b)

70

c)

75

d)

82