wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Y9_2025_Assessment1

Total questions: 70

Worksheet time: 1hrs 10mins

Name
Class
Date
1.
What function is used to display output in Python?
a)
print()
b)
output()
c)
show()
d)
display()
2.
What is a variable used for in programming?
a)
To store data
b)
To draw graphics
c)
To clear memory
d)
To open files
3.
What symbol assigns a value to a variable?
a)
=
b)
==
c)
:=
d)
4.
What are the three main programming constructs?
a)
Sequence, Selection, Iteration
b)
Input, Process, Output
c)
RAM, CPU, GPU
d)
While, For, If
5.
What is sequence in programming?
a)
Code running in order, line by line
b)
Choosing between paths
c)
Repeating a loop
d)
Debugging
6.
What is selection in programming?
a)
Making decisions using conditions
b)
Writing code in order
c)
Repeating code
d)
Storing data
7.
What is iteration in programming?
a)
Repeating code in a loop
b)
Selecting from choices
c)
Storing variables
d)
Importing modules
8.
In the code school = 'Sir John Leman', what is school?
a)
A variable
b)
A function
c)
A loop name
d)
A comment
9.
In school = 'Sir John Leman', what does = represent?
a)
Assignment operator
b)
Equality check
c)
Mathematical equals
d)
Comparison symbol
10.
What is the value in school = 'Sir John Leman'?
a)
'Sir John Leman'
b)
school
c)
=
d)
"value"
11.
How do you display a variable in Python?
a)
print(variable_name)
b)
display.variable
c)
echo(variable)
d)
print("variable_name")
12.
What does the == operator do?
a)
Checks equality
b)
Assigns a value
c)
Subtracts values
d)
Starts a loop
13.
What does an if-elif-else structure allow?
a)
Decision-making
b)
Drawing graphics
c)
Declaring variables
d)
Playing sound
14.
What does elif do in Python?
a)
Checks another condition
b)
Ends all loops
c)
Resets variables
d)
Saves a file
15.
What happens if indentation is missing in an if statement?
a)
A syntax error occurs
b)
The code runs normally
c)
The variable resets
d)
The program loops forever
16.
What is the difference between a for loop and a while loop?
a)
for repeats set times; while repeats while condition is true
b)
while repeats set times; for repeats randomly
c)
for is faster than while
d)
They are identical
17.
What does range() do in a for loop?
a)
Generates a sequence of numbers
b)
Creates a list of strings
c)
Ends the loop
d)
Stores user data
18.
What happens if a while loop condition never becomes false?
a)
It becomes an infinite loop
b)
It runs once
c)
Python shuts down
d)
The code errors immediately
19.
Why is indentation important in a while loop?
a)
Shows which code belongs to the loop
b)
Makes code colourful
c)
Speeds execution
d)
Runs code backwards
20.
How can a loop allow multiple login attempts?
a)
By repeating the login code until correct
b)
By deleting the password
c)
By skipping validation
d)
By saving user data
21.
What does it mean to debug a program?
a)
Find and fix errors
b)
Make code longer
c)
Add comments
d)
Restart the computer
22.
How do you repeat an action five times?
a)
for i in range(5):
b)
loop 5 times
c)
repeat(5)
d)
while i = 5
23.
How can you check user input?
a)
Using if, elif, else
b)
Using print() only
c)
Using = for comparison
d)
Using range()
24.
What makes a program efficient?
a)
Using clean, minimal code
b)
Using many loops
c)
Using very long variable names
d)
Never testing code
25.
What strategy helps solve coding problems?
a)
Break into steps and test often
b)
Guess until it works
c)
Copy random code online
d)
Write it all at once
26.
Which of these is valid Python code?
a)
name = "Alex"
b)
var name = Alex
c)
name == Alex
d)
string name = "Alex"
27.
What is the purpose of input()?
a)
To receive user input
b)
To print output
c)
To stop a loop
d)
To set a variable type
28.
What type of data is "42"?
a)
A string
b)
An integer
c)
A float
d)
A boolean
29.
What does # mean in Python?
a)
A comment
b)
A loop
c)
A function marker
d)
A variable
30.
Which keyword ends a loop early?
a)
break
b)
stop
c)
quit
d)
end
31.
What does else do in an if statement?
a)
Runs when all conditions are false
b)
Checks new conditions
c)
Creates a variable
d)
Forces the code to restart
32.
What does IPO stand for in computing?
a)
Input, Process, Output
b)
Input, Program, Output
c)
Information, Process, Order
d)
Input, Print, Output
33.
Give one example of an input device.
a)
Keyboard
b)
Speaker
c)
Printer
d)
Projector
34.
What happens in the Fetch-Decode-Execute cycle?
a)
Instructions are fetched, understood, carried out
b)
The PC shuts down
c)
A file is saved
d)
A document prints
35.
Give one example of an output device.
a)
Monitor
b)
Keyboard
c)
Microphone
d)
Scanner
36.
What does CPU stand for?
a)
Central Processing Unit
b)
Computer Power Unit
c)
Core Peripheral Unit
d)
Central Program Utility
37.
What does RAM stand stand for?
a)
Random Access Memory
b)
Read All Memory
c)
Rapid Access Module
d)
Runtime Allocation Memory
38.
What is the function of the CPU?
a)
Processes instructions
b)
Stores files
c)
Cools the computer
d)
Sends Wi-Fi signals
39.
Name a device that acts as both input and output.
a)
Touchscreen
b)
USB stick
c)
Printer
d)
Mouse
40.
What does ROM stand for?
a)
Read-Only Memory
b)
Run-Only Mode
c)
Read Output Module
d)
Rapid Operation Module
41.
What is the purpose of a hard drive?
a)
Long-term storage
b)
Process data
c)
Improve graphics
d)
Cool the PC
42.
What does PSU stand for?
a)
Power Supply Unit
b)
Peripheral Support Utility
c)
Processor Service Unit
d)
Primary Storage Unit
43.
What is the motherboard?
a)
Main circuit board
b)
Cooling fan
c)
Storage chip
d)
Output device
44.
What happens if a password is weak?
a)
It can be easily guessed
b)
It cannot be changed
c)
It stops the computer working
d)
It increases speed
45.
Name a feature of word processors.
a)
Spell check
b)
Antivirus scan
c)
Disk cleanup
d)
Firewall
46.
What is a header in Word?
a)
Text at the top of a page
b)
Text at the bottom
c)
A toolbar
d)
A file name
47.
What is a footer in Word?
a)
Text at the bottom of a page
b)
Text at the top
c)
A picture caption
d)
A margin
48.
What tool corrects spelling errors?
a)
Spell Check
b)
Insert
c)
Page Layout
d)
Save As
49.
How do you insert a table in Word?
a)
Insert → Table
b)
Tools → Table
c)
View → Table
d)
Layout → Table
50.
What is a template?
a)
A pre-designed layout
b)
A font style
c)
A hyperlink
d)
A preview image
51.
What is Microsoft Publisher used for?
a)
Creating posters and leaflets
b)
Writing long documents
c)
Editing videos
d)
Coding programs
52.
What is a user interface (UI)?
a)
How users interact with an app
b)
A security feature
c)
A cloud backup
d)
A phone setting
53.
What does UX stand for?
a)
User Experience
b)
Universal Exchange
c)
User Extension
d)
Underlying XML
54.
What is an app prototype?
a)
A draft version of an app
b)
A virus
c)
A permanent app
d)
A screenshot
55.
Why are app updates important?
a)
Fix bugs and add features
b)
Slow down the device
c)
Delete files
d)
Remove Wi-Fi
56.
What is an in-app purchase?
a)
Buying features inside the app
b)
Buying a new phone
c)
Installing the app
d)
Removing ads manually
57.
What is responsive design?
a)
Adapts to different screen sizes
b)
Uses more storage
c)
Runs only on tablets
d)
Removes menus
58.
What does the micro:bit accelerometer measure?
a)
Movement/tilt
b)
Light
c)
Temperature
d)
Colour
59.
What is a forever loop on a micro:bit?
a)
Code that runs continuously
b)
Code that runs once
c)
Code that deletes data
d)
Code that stops automatically
60.
What does the micro:bit radio feature do?
a)
Communicates with other micro:bits
b)
Connects to Wi-Fi
c)
Plays sound louder
d)
Charges the device
61.
What is a variable used for in coding?
a)
Storing values
b)
Displaying graphics
c)
Resetting hardware
d)
Improving battery life
62.
Which tag is used for paragraphs in HTML?
a)
<p>
b)
<para>
c)
<body>
d)
<pg>
63.
What does HTML stand for?
a)
HyperText Markup Language
b)
High Tech Machine Logic
c)
Hyperlink Markup Layout
d)
Home Tool Media Link
64.
What does the <img> tag do?
a)
Inserts an image
b)
Inserts a video
c)
Makes text bold
d)
Adds a link
65.
What does the src attribute specify?
a)
Image file location
b)
Image caption
c)
Image border width
d)
Image size in pixels
66.
What does the <a> tag create?
a)
A hyperlink
b)
A table
c)
A list
d)
A heading
67.
What is CSS used for?
a)
Styling a website
b)
Adding images
c)
Saving data
d)
Debugging
68.
What does <br> do in HTML?
a)
Creates a line break
b)
Creates a list item
c)
Makes text bold
d)
Adds a border
69.
Difference between internal & external CSS?
a)
Internal is inside HTML; external is a separate file
b)
Internal loads faster
c)
External only works offline
d)
Internal is only for headings
70.
Which tag creates a numbered list?
a)
<ol>
b)
<ul>
c)
<li>
d)
<list>