Font size
WorksheetsYear 9 Semester 1 Final Quiz
Total questions: 52
Worksheet time: 46mins
A list is a variable that has many variables in it
Yes
No
I don't know
the variable height will accept values like 1.67 or 1.75
height=_____ input("What is your height in meters?")
int
string
float
list
L = [23,56,21,1,0,67,8]
What is the value of L[3]
23
1
0
56
X = 3
Y = 2 * X
X = X - Y
How much is X at the end?
3
-3
0
1
You should use a WHILE loop if we don't know how many times the loop will repeat
True
False
It doesn't matter
For x in range (110,34,-1)
print(x)
what is the sequence that will print?
31,32,33,..110
34,33,32,31,...
110,109,108,...
110,108,106,...,34
L =[27, 39, 6, 26, 10, 37]
How to add 25 to the list?
L.pop(25)
L.append(25)
append(L,25)
max(L)=25
What is the output/the Total?
3
10
8
1
y
x
-1
x
y
count
1
What will the be list ?
21,12,18,9,12,3,24,16
21,12,18,9,12,3,24,16,3
3,21,12,18,9,12,3,24,16
Which one is correct?
(a)
L = [12,34,5,5,8]
Which instruction gives us the position of a specific item of the list?
sum
len
index
max
age
x
age[names]
age[x]
L = ['John', 'Mary','Matt','Andy','Susan','Emily','Frank','Qiqi']
How to print the list ?
(a)
If the user enters 60, what is the output?
You are old!
You are middle-aged!
You are young!
Error message
What is the correct order of the following?
if
elif
else
if
elif
else
elif
if
else
elif
else
if
Select the correct answer:
x = 15
y = 4
print(x // y)
3
3.75
4
5
What is the Python code needed to ask a user for input?
input("what is your name?")
input="what is your name?"
(input)=what is your name?
input=what is your name?
Guess the output.
11
2
0
11
11
0
11
3
Guess the output.
The answer is 5
error
The answer is five
Most computers use a system of colors that combine
Red Green and Yellow
Black and White
Red Green and Blue
The primary colors
Which of these are image files?
jpg
gif
mp3
mp4
png
Which of the following are are sound file types?
jpg
mp3
wav
png
Audacity is a free software for
editing images
creating graphs
editing sounds
3d graphics
What is the colour depth of this image?
7 colours
8 colours
3 bits
24 bits
If I only like sandwiches with egg AND bacon. Do I like bacon sandwiches?
yes
no
it depends
I will go to the party if Billy or Bob are there - will I go if only Billy is there?
yes
no
it depends
What will this gate's output be?
0
1
The hexadecimal B is (a) in denary
Convert the value below to decimal
10110
(a)
Reorder the following from largest to smallest
gigabyte
megabyte
kilobyte,
byte
bit
What is the colour depth of the image?
colour depth of 1
colour depth of 2
colour depth of 4
colour depth of 16
Convert 129 to binary
10000001
01111110
01000000
11001100
Which block of code allows you to play a sound file?
Which one is the Thunkable icon?
What fun activity do you have planned for the CNY holiday? Write one word one
What is your Chinese new year Resolution? What do you want to do better next year?
1 or 2 words only
Draw here the Chinese new Year zodiac animal for 2024. Add the SOIS word in it.
You get 5, 3 or 1 point to add to your score.

