Font size
WorksheetsMega 100 Quiz!!!!!
Total questions: 100
Worksheet time: 41mins
What is the answer to this expression, 22%3 is
7
1
0
5
Which is the correct operator for power xy
x^y
x**y
x^^y
None of these
Which one of theses is floor division
/
//
%
None of theses
Mathematical operations can be performed on a string
True
False
print(Hello world!)
print(3*4+5)
people = ["John", "Rob", "Bob"]
print (people[4])
what would this result be?
word= "computer"
for num in range(1,6):
print(word)
4
3
2
1
3
2
1
0
2
11
2
21
2
3
11
2
3
21
What is a function?
A section of code that will return a value
A section of code that will return nothing
A section of code that will return a command
None of the above
2.4
name = "Mr Little"
username = input ("What is your name?")
if Name == username:
print ("Hello sir")
Which of the following is used in Python to calculate ten squared?
How can an algorithm be represented?
As a flowchart only
As pseudocode only
As a flowchart or pseudocode
Which of the following is not done by abstraction?
Identifies essential details
Disregards non-essential information
Breaks the problem down into smaller tasks
When drawing a dog, which of the following characteristics is non-essential?
Dogs have 4 paws
Dogs have fur
Dogs have brown fur
A school database has lots of information on students, the data manager needs to use abstraction. What data should she leave out?
Age
Guardian's phone numbers
Classes
Eye colour
x = 0
while x < 5:
- print(f'The current value of x is {x}')
-- x = x + 2
2,4
2,4,6
0,2,4
0,2,4,6
What is the output from this code?
ell
llo
ello,
Hello
Which of these is NOT a loop in python?
for loop
while loop
nested loop
if loop
What will be the output of this code?
1,2,3,4,5,6,7,8,9,10,11,12
0,2,4,6,8,10
2,4,6,8,10,12
2,4,6,8,10
If i want to continuously check for a correct answer, what loop would i use?
for loop
while loop
What is the error in this code?
incorrect variable name
incorrect indentation
incorrect speech marks
incorrect loop
Num = 90
Num = 20
print(Num)
90
4.5
20
1800
Which of the below are acceptable variable names?
result final = 5
result-final = 1
resultFinal = 3
result#final = 4
A computer has 1000 megabytes of RAM. That is the same as ...
1 Gb
1000 Gb
1 Kb
1 Tb
Which of the following types of storage would likely access its data the fastest? (4-6)
It is not a storage device
Magnetic
Solid State
Optical
Why does a laptop need secondary storage? (1/2)
To store data
To backup files to move to another computer
files and software for future use
To storage programs that are currently running
The types of storage are listed below from least expensive per GB to the most expensive per GB. Which order is correct? (9)
Solid State, Optical, Magnetic
Optical, Magnetic, Solid State
Magnetic, Solid State, Optical
Optical, Solid State, Magnetic
Magnetic, Optical, Solid State
The types of storage are listed below from the most reliable to the least reliable per GB. Which order is correct? (9)
Solid State, Magnetic, Optical
Optical, Solid State, Magnetic
Magnetic, Optical, Solid State
Solid State, Optical, Magnetic
Magnetic, Solid State, Optical
The types of storage are listed below from fastest to slowest. Which order is correct? (9)
Magnetic, Optical, Solid State
Solid State, Optical, Magnetic
Magnetic, Optical, Solid State
Optical, Magnetic, Solid State
Solid State, Magnetic, Optical
Where the operating system, programs and data are permanently stored is called what?
Primary Storage
Secondary Storage
Tertiary Storage
Backup
Which component of the computer, stores the data and programs which the computer is CURRENTLY using?
Primary Storage (RAM)
Secondary Storage (HDD/SSD)
CPU
Motherboard
What happens to the contents of the RAM when the computer is turned off?
It is deleted / lost
It is sent back to the secondary storage
It is processed by the CPU
It is stored until the computer is turned back on.
This component, executes the instructions from main (primary) memory. The speed it does this is measured in hertz (hz)
CPU
RAM
HDD
SSD
What is the speed of the processor measured in?
Hertz (hz)
Gigabytes (GB)
Megabytes (MB)
Miles Per Hour (MPH)
This component only executes instructions from the main (primary) memory which are to be displayed on the screen.
Graphics Card (GPU)
CPU
HDD
Motherboard
