wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Mega 100 Quiz!!!!!

Total questions: 100

Worksheet time: 41mins

Name
Class
Date
1.

What is the answer to this expression, 22%3 is

a)

7

b)

1

c)

0

d)

5

2.

Which is the correct operator for power  xyx^y  

a)

x^y

b)

x**y

c)

x^^y

d)

None of these

3.

Which one of theses is floor division

a)

/

b)

//

c)

%

d)

None of theses

4.

Mathematical operations can be performed on a string

a)

True

b)

False

5.
The number or word we give to a variable
a)
Value
b)
Bug
c)
Information
d)
Text
6.
What is the word (command) used to display numbers and text on the screen?
a)
print
b)
input
c)
output
d)
command
7.
What is a variable?
a)
A box(memory location) where you store values
b)
a type of graphics
c)
Data type
d)
a type of memory
8.
Python is an example of a....
a)
Text-based programming language
b)
Object orientated programming language
c)
language written in java script
d)
Visual-based programming language
9.
What will the output be from the following code?
print(Hello world!)
a)
Hello world!
b)
SyntaxError
c)
Hello world
d)
print(Hello world!)
10.
What will the output be from the following code?
print(3*4+5)
a)
27
b)
17
c)
12
d)
SyntaxError
11.

people = ["John", "Rob", "Bob"]

print (people[4])

what would this result be?

a)
John
b)
Rob
c)
Bob
d)
Error
12.
Converts a number to a string
a)
str()
b)
int()
c)
parseInt()
d)
convert
13.
telephone = "02079876032" What is the data type of telephone?
a)
string
b)
int
c)
real
d)
float
e)
boolean
14.
which one is the "concatenation operator"?
a)
+
b)
-
c)
*
d)
/
e)
=
15.
Which one is NOT a arithmetic operator?
a)
+
b)
-
c)
*
d)
/
e)
=
16.
Which one is the list of RELATIONAL operators?
a)
+, -, *, /, **, %, //
b)
<, >, <=, >=, ==, !=
c)
and, or, not
d)
+=, -=, *=, /=, %=, //=
e)
(), {}, :, \n, \t
17.
How many times does the following program print the word ‘computer’:

word= "computer"  
for num in range(1,6):
 
    print(word)
a)
5
b)
6
c)
1
d)
0
18.
a)
5
4
3
2
1
b)
4
3
2
1
0
c)
5  4  3  2  1
d)
4  3  2  1  0
19.
What will print?
a)
1
2
11
b)
1
2
21
c)
1
2
3
11
d)
1
2
3
21
20.

What is a function?

a)

A section of code that will return a value

b)

A section of code that will return nothing

c)

A section of code that will return a command

d)

None of the above

21.
In programming 'Selection' means...
a)
The path through the program is carried out in order one instruction after another
b)
The path through the program is decided by looking at a condition then following a path based on that condition
c)
The program completes a set of instructions several times until a condition is met
d)
The program completes a set of instructions a specific number of times
22.
In programming 'Sequence' means...
a)
The path through the program is carried out in order one instruction after another
b)
The path through the program is decided by looking at a condition then following a path based on that condition
c)
The program completes a set of instructions several times until a condition is met
d)
The program completes a set of instructions a specific number of times
23.
In programming a 'FOR' loop can best be described by...
a)
The path through the program is carried out in order one instruction after another
b)
The path through the program is decided by looking at a condition then following a path based on that condition
c)
The program completes a set of instructions several times until a condition is met
d)
The program completes a set of instructions a specific number of times
24.
In programming a 'WHILE' loop can best be described by...
a)
The path through the program is carried out in order one instruction after another
b)
The path through the program is decided by looking at a condition then following a path based on that condition
c)
The program completes a set of instructions until a condition is met
d)
The program completes a set of instructions a specific number of times
25.
What does this flowchart symbol represent?
a)
data input / output
b)
start / end
c)
decision
d)
wait
26.
What does this flowchart symbol represent?
a)
data input / output
b)
decision
c)
start / end
d)
process / sequence
27.
What does this flowchart symbol represent?
a)
process  / sequence
b)
decision
c)
start / end
d)
wait
28.
Software has to be provided to the processor in ... 
a)
Python Language
b)
Machine Code
c)
Binary
d)
Assembly Language
29.
Pseudocode is...
a)
...the same as the Python programming language. 
b)
...used to describe a language which does not exist and tries to copy other programming languages.
c)
...used to describe the program structures and data flow in a structured form of English similar to a programming language.
d)
different to Python and does not use any of the same commands.
30.
Which is the correct data type for the following piece of data?
2.4
a)
Integer
b)
String
c)
Float (Real number)
d)
Boolean
31.
In programming, a 'VARIABLE' is...
a)
...a named storage space reserved in memory for a piece of data, which can change during the life of the program.
b)
...a piece of code which changes constantly
c)
...a names storage space reserved for a piece of data which does not change within the program.
d)
...a variable which does not change.
32.
When programming, you can use an IDE.  What does IDE stand for?
a)
Interpreted Diagram Explanation
b)
Integrated Diagram Environment
c)
Integrated Development Environment
d)
Integrated Deconstruction Environment
33.
A Logic Error is when a program...
a)
Stops immediately an raises an exception
b)
Stops immediately and reports and error
c)
Continues to run but does not give the correct answer
d)
Continues to run and raises an error report
34.
A Syntax Error is when...
a)
A command word has been spelt correctly
b)
A command word has been spelt correctly, and the program fails
c)
A command word is missing but the program still runs
d)
A command word has been spelt incorrectly, and the program halts.
35.
what is wrong with this Python code?
name = "Mr Little"
username = input ("What is your name?")
if Name == username:
   print ("Hello sir")
a)
name and Name are not the same
b)
You should use = to compare, not ==
c)
There is no colon (:) at the end of the if
d)
The print command is not indented.
36.
A step-by-step set of rules or instructions
a)
Algorithm
b)
Pseudocode 
c)
Conditional Code
d)
Logical Operator
37.
What will the lines of code print?
a)
A
b)
B C
c)
A B C
d)
A C
38.
Like every programming language Python has __________ which help to carry out math functions.
a)
syntax
b)
codes
c)
operators
d)
symbols
39.
10= 100
Which of the following is used in Python to calculate ten squared?
a)
10 ** 2
b)
10 * 2
c)
10 % 2
d)
10 ** 10
40.

How can an algorithm be represented?

a)

As a flowchart only

b)

As pseudocode only

c)

As a flowchart or pseudocode

41.
What are the three key parts of computational thinking?
a)
Programming, flowcharts and pseudo code
b)
Abstraction, decomposition and algorithm
c)
Input, processing and output
d)
Patterns, shapes and numbers
42.

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

43.

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

44.

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

45.

x = 0

while x < 5:

- print(f'The current value of x is {x}')

-- x = x + 2

a)

2,4

b)

2,4,6

c)

0,2,4

d)

0,2,4,6

46.
What letter will be printed on the screen after running this code:
a)
e
b)
x
c)
t
d)
Nothing prints
47.

What is the output from this code?

a)

ell

b)

llo

c)

ello,

d)

Hello

48.

Which of these is NOT a loop in python?

a)

for loop

b)

while loop

c)

nested loop

d)

if loop

49.

What will be the output of this code?

a)

1,2,3,4,5,6,7,8,9,10,11,12

b)

0,2,4,6,8,10

c)

2,4,6,8,10,12

d)

2,4,6,8,10

50.

If i want to continuously check for a correct answer, what loop would i use?

a)

for loop

b)

while loop

51.

What is the error in this code?

a)

incorrect variable name

b)

incorrect indentation

c)

incorrect speech marks

d)

incorrect loop

52.

Num = 90

Num = 20

print(Num)

a)

90

b)

4.5

c)

20

d)

1800

53.

Which of the below are acceptable variable names?

a)

result final = 5

b)

result-final = 1

c)

resultFinal = 3

d)

result#final = 4

54.
ROM stands for...
a)
Read Optical Memory
b)
Random Only Memory
c)
Read Only Memory
d)
Random Optical Memory
55.
RAM stands for ...
a)
Read Access Memory
b)
Random Application Memory
c)
Read Application Memory
d)
Random Access Memory
56.

A computer has 1000 megabytes of RAM. That is the same as ...

a)

1 Gb

b)

1000 Gb

c)

1 Kb

d)

1 Tb

57.
The characteristics of RAM are it is .....
a)
Permanent, non-volatile, not expandable and you can't write to it
b)
Temporary, volatile, expandable and you can write to it.
58.
This memory stores the data of the operating system and programs that are currently running, for access by the CPU.
a)
RAM
b)
ROM
c)
Cache memory
d)
Flash memory
59.
Why is ROM need in a computer system?
a)
It stores the 'bootstrap loader' which is needed to load the operating system.Without it, the computer wouldn't turn on.
b)
It stores the data of the operating system and programs that are currently running, for access by the CPU.
60.
This is a method of making a computer appear to have more primary memory than it has really has physically. For instance a PC might have 2Gb of RAM as primary memory, but ___ of 4Gb.  If a computer relies on this memory it will be slow.
a)
Virtual Memory
b)
Random Access Memory
c)
Read Only Memory
d)
Cache Memory
61.
Why is Virtual Memory needed in a computer system?
a)
It is used as a fast type of memory for programs currently in use to speed up the performance of a computer.
b)
When several programs run at the same time, the RAM can be full. Instead of closing programs the Operating system uses virtual memory to store some data.
62.
Where is data stored when it is Virtual Memory?
a)
It is stored on a area of a secondary storage device e.g. hard disk drive.
b)
It is stored in the RAM.
c)
It is stored in the ROM.
d)
It is stored in an optical drive e.g. CD.
63.
What is a disadvantage of Virtual Memory?
a)
Read/Write speed of a hard disk drive is slower than RAM. If the computer has to rely on this, the system is much slower.
b)
Read/Write speeds of a hard drive are faster than RAM, meaning the system is much faster.
64.
Optical device, fairly fragile, easy to snap or scratch.
a)
Flash memory
b)
Magnetic Tape
c)
CD
d)
Hard disk
65.
Not intended to be a portable storage device.
a)
CD
b)
Flash memory
c)
DVD
d)
Internal hard disk
66.
Very portable as it is designed to be fitted into small electronic devices.
a)
Flash memory devices
b)
Internal hard disk
c)
Magnetic tape
d)
Server
67.
The most durable storage device as it has not moving parts
a)
Solid State Storage
b)
Magnetic Storage
c)
Optical Storage
68.
Large computers used for backup storage are called
a)
Supercomputers
b)
Servers
c)
Clients
d)
Giants
69.
Which is a disadvantage of cloud storage?
a)
It's expensive
b)
It doesn't last long
c)
It could be a security risk
d)
It's 
70.
Which of the following is not a type of storage. (1/2)
a)
Magnetic
b)
Solid State
c)
Optical
d)
Hard Drive
71.
What type of storage is a DVD ROM? (1/2)
a)
It is not a storage device
b)
Solid State
c)
Optical
d)
Magnetic
72.
What type of storage is a USB memory stick? (4/5)
a)
Solid State
b)
Optical
c)
Magnetic
d)
It is not a storage device
73.
What type of storage is a SSD card? (4/5)
a)
Magnetic
b)
It is not a storage device
c)
Solid State
d)
Optical
74.
What type of storage is a HDD? (4/5)
a)
Solid State
b)
Optical
c)
Magnetic
d)
It is not a storage device
75.

Which of the following types of storage would likely access its data the fastest? (4-6)

a)

It is not a storage device

b)

Magnetic

c)

Solid State

d)

Optical

76.
Which of the following types of storage is the most durable? (9)
a)
Optical
b)
It is not a storage device
c)
Solid State
d)
Magnetic
77.
Which of the following types of storage is the most expensive per MB/GB? (9)
a)
Solid State
b)
Magnetic
c)
It is not a storage device
d)
Optical
78.
Why is a Hard Disk Drive (HDD) not very portable? (9)
a)
It has moving parts
b)
It will break if you touch it
c)
It is too small
d)
It is too large
79.

Why does a laptop need secondary storage? (1/2)

a)

To store data

b)

To backup files to move to another computer

c)

files and software for future use

d)

To storage programs that are currently running

80.
Which type of storage uses lasers to write the data? (4/5)
a)
Magnetic
b)
All types
c)
Solid state
d)
Optical
81.

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

a)

Solid State, Optical, Magnetic

b)

Optical, Magnetic, Solid State

c)

Magnetic, Solid State, Optical

d)

Optical, Solid State, Magnetic

e)

Magnetic, Optical, Solid State

82.

The types of storage are listed below from the most reliable to the least reliable per GB. Which order is correct? (9)

a)

Solid State, Magnetic, Optical

b)

Optical, Solid State, Magnetic

c)

Magnetic, Optical, Solid State

d)

Solid State, Optical, Magnetic

e)

Magnetic, Solid State, Optical

83.

The types of storage are listed below from fastest to slowest. Which order is correct? (9)

a)

Magnetic, Optical, Solid State

b)

Solid State, Optical, Magnetic

c)

Magnetic, Optical, Solid State

d)

Optical, Magnetic, Solid State

e)

Solid State, Magnetic, Optical

84.
What are these?
a)
Tower
b)
Motherboard
c)
Harddrive
d)
RAM memory
85.
What is this?
a)
Harddrive
b)
Tower
c)
Motherboard
d)
DVD
86.
What are the programs that run on a computer system called? 
a)
Algorithms
b)
Code
c)
Software
d)
Languages
87.
What does CPU stand for?
a)
Central Processing Unit
b)
Computer Processing Unit
c)
Computing Part Unit
d)
Core Process Unit
88.
What does the CPU do?
a)
Provides electricity
b)
Executes Instructions
c)
Stores Files
d)
Connects everything together
89.
What does the motherboard do?
a)
Processes instructions
b)
Keeps the computer safe
c)
Connects everything together
d)
Generates electricity
90.
What is this component called?
a)
Spinning Disk Drive
b)
Optical Disk Drive
c)
Hard Disk Drive
d)
Floppy Disk Drive
91.
Identify this computer part.
a)
CPU
b)
hard disk drive
c)
RAM module
d)
motherboard
92.
What are the physical components of a computer system called?
a)
Hardware
b)
Desktop
c)
Devices
d)
Peripherals
93.

Where the operating system, programs and data are permanently stored is called what?

a)

Primary Storage

b)

Secondary Storage

c)

Tertiary Storage

d)

Backup

94.

Which component of the computer, stores the data and programs which the computer is CURRENTLY using?

a)

Primary Storage (RAM)

b)

Secondary Storage (HDD/SSD)

c)

CPU

d)

Motherboard

95.

What happens to the contents of the RAM when the computer is turned off?

a)

It is deleted / lost

b)

It is sent back to the secondary storage

c)

It is processed by the CPU

d)

It is stored until the computer is turned back on.

96.

This component, executes the instructions from main (primary) memory. The speed it does this is measured in hertz (hz)

a)

CPU

b)

RAM

c)

HDD

d)

SSD

97.

What is the speed of the processor measured in?

a)

Hertz (hz)

b)

Gigabytes (GB)

c)

Megabytes (MB)

d)

Miles Per Hour (MPH)

98.

This component only executes instructions from the main (primary) memory which are to be displayed on the screen.

a)

Graphics Card (GPU)

b)

CPU

c)

HDD

d)

Motherboard

99.
How do we measure Processor Speed?
a)
Gigahertz
b)
Gigahurts
c)
Gigabytes
d)
Giga-burgers
100.
The performance of which three components is most important in a Gaming computer?
a)
CPU, RAM, Graphics Card
b)
RAM, Hard Disk Drive, CPU
c)
Hard Disk Drive, BIOS, Monitor
d)
Motherboard, USB Socket,