wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computing 0860 - Stage 8 (Cover Page)

Total questions: 41

Worksheet time: 21mins

Name
Class
Date
1.

Choose the correct answer. Which of the following is a block-based programming language?

a)

Python

b)

Scratch

c)

Java

d)

C++

2.

Choose the correct answer. Which of the following is a text-based programming language?

a)

Blockly

b)

Scratch

c)

Python

d)

Alice

3.

Choose the correct answer. A flowchart is mainly used to:

a)

Store data

b)

Shows program steps visually

c)

Debug code automatically

d)

Design websites

4.

Choose the correct answer. Which of the following is an arithmetic operator in Python?

a)

if

b)

+

c)

Print

d)

else

5.

Choose the correct answer. What does IDE stand for?

a)

Internet Development Engine

b)

Integrated Development Environment

c)

Debug code automatically

d)

Design websites

6.

Choose the correct answer. In Python, which of the following is a valid variable name?

a)

2age

b)

my-name

c)

Age2

d)

print

7.

Choose the correct answer. What is the output of the code below? print(24}

a)

1

b)

24

c)

25

d)

error

8.

Choose the correct answer. An algorithm can be best described as:

a)

A computer hardware part

b)

A step-by-step procedure to solve a problem

c)

A flowchart symbol

d)

A flowchart symbol

9.

Choose the correct answer. What will the following code output? print("Hello GISU")

a)

Hello Gisu

b)

Hello World!

c)

Hello, World!

d)

A flowchart symbol

10.

Choose the correct answer. What will the code below output? If age > 18: print("adult") Else: print("child")

a)

Adult

b)

Error

c)

Child

d)

Imani

11.

What is a pseudocode?

a)

A programming language executed by the computer

b)

A plain-language description of algorithm steps using structured words and symbols

c)

A hardware diagram used to assemble computers

d)

A graphic file format used for screenshots

12.

Select all Python data types from the list below.

a)

int

b)

float

c)

string (str)

d)

list

e)

motherboard

13.

Which description best represents a simple guess game program in Python?

a)

The program asks the user for a number, compares it to a secret number, gives higher/lower hints, and repeats until correct

b)

The program prints the user’s name once and exits without checking anything

c)

The program continuously adds two numbers entered by the user without any conditions

d)

The program draws a flowchart showing steps but does not take input or compare values

14.

What is networking?

a)

Connecting computers and devices so they can share resources and information

b)

Installing more storage inside a single computer

c)

Writing code to control a robot arm

d)

Replacing old computers with new ones

15.

In Python, what is a keyword, and which of the following is an example?

a)

A word you make up to name data; example: age2

b)

A special reserved word with a fixed meaning in the language; example: if

c)

A filename used to save programs; example: game.py

d)

A library function you define yourself; example: print_user()

16.

What is Python programming?

a)

Designing computer hardware components

b)

Writing instructions in the Python language to create programs that solve problems

c)

Only drawing flowcharts for algorithms

d)

Browsing the internet with Python

17.

What is the output of the following code? print(" HELLO WORLD!')

a)

HELLO WORLD!

b)

Error

c)

HELLO WORLD! (with a leading space)

d)

No output

18.

What is the output of the following code? password = "RichardTamba147!"; if password == "Gisu2025": print("Access granted") else: print("Access denied")

a)

Access granted

b)

Access denied

c)

RichardTamba147!

d)

Error

19.

What is the output of the following code? num = 8; if NUM % 2 == 0: print("EVEN") else: print("ODD")

a)

EVEN

b)

ODD

c)

8

d)

Error

20.

What is the output of the following code? fieldStatus = "closed"; if fieldStatus == "Open": print("I want to go for play break.") elif fieldStatus == "CLOSED": print("I want to go and attend classes") elif fieldStatus == "closed": print("I want to go for snack break") else: print("Mr. Job Abe is our computing Teacher.")

a)

I want to go for play break.

b)

I want to go and attend classes

c)

I want to go for snack break

d)

Mr. Job Abe is our computing Teacher.

21.

A school has 40 computers. Why would networking be better than using each computer separately?

a)

It allows sharing printers, files, and internet access and makes management easier

b)

It makes every computer run without an operating system

c)

It prevents any computer from communicating with others for security

d)

It guarantees that no maintenance will ever be needed

22.

What is a data type?

a)

A classification that specifies the kind of data and the operations that can be performed on it

b)

A device used to connect computers to a network

c)

A step-by-step plan for solving a problem

d)

A printed report of program output

23.

What is a network topology (2 marks)?

a)

The physical size of a computer network

b)

The arrangement or layout of devices and cables in a network

c)

The brand of network devices used in an office

d)

A software program that monitors internet usage

24.

What is encryption? Choose the option that correctly explains it with an example (2 marks).

a)

Turning data into a secret code so only authorized users can read it, such as converting a message with a key before sending it

b)

Making a backup copy of files to protect against loss, such as saving a document to the cloud

c)

Compressing files to save space, such as zipping a folder before emailing it

d)

Scanning a computer for viruses, such as using an antivirus program daily

25.

Explain the use of a router (2 marks). Select the most accurate description.

a)

It stores files for users on a network

b)

It connects multiple networks and forwards data packets between them, often linking a LAN to the internet

c)

It provides electrical power to computers on a network

d)

It encrypts all wireless traffic by default

26.

A school wants to protect its network from hackers. Which network device should they use and why (2 marks)?

a)

Switch, because it increases internet speed for every user

b)

Firewall, because it monitors and filters incoming and outgoing traffic based on security rules

c)

Router, because it assigns usernames to students automatically

d)

Repeater, because it extends the physical length of network cables

27.

Draw any one type of topology you know and give a name to it (4 marks). Choose the option that correctly describes a named topology you could draw.

a)

Star topology: all devices connect to a central switch or hub

b)

Bus topology: devices form a closed loop with no terminators

c)

Ring topology: all devices connect to a single central backbone cable

d)

Mesh topology: all devices connect to a single hub only

28.

A school uses a star topology. One day all computers lost connection. Which device likely failed and why (3 marks)?

a)

A single computer’s network card, because it controls the whole network

b)

The central switch or hub, because it is a single point of failure for all connections

c)

One user’s Ethernet cable, because it disconnects every device

d)

The printer, because print jobs can block the network

29.

In a star topology, how are devices connected and what is the central device commonly called (2 marks)?

a)

Devices connect in a daisy-chain; the central device is a repeater

b)

Each device connects directly to a central switch or hub; the central device is a switch or hub

c)

Devices connect along a backbone; the central device is a router only

d)

Devices connect randomly; there is no central device

30.

A business wants a network where communication continues even if one cable fails. Which topology should they choose and why (3 marks)?

a)

Bus topology, because it uses a single backbone

b)

Ring topology, because each device has only one path

c)

Mesh topology, because multiple paths between devices provide redundancy

d)

Star topology, because devices are isolated and never depend on the center

31.

Who created Python and in which year was it released (1 mark)?

a)

James Gosling, 1995

b)

Guido van Rossum, 1991

c)

Dennis Ritchie, 1972

d)

Bjarne Stroustrup, 1985

32.

Consider the code shown: a variable score is set to 90, then an if–elif–else chain prints a grade based on these ranges: 80–100 → A, 70–79 → B, 60–69 → C, 50–59 → D, 0–49 → E; otherwise prints an invalid score message. What will be printed when the code runs (5 marks)?

a)

Grade: A

b)

Grade: B

c)

Grade: E

d)

Invalid score. Please enter a value between 0 and 100.

33.

Instagram wants to classify users by follower counts using these rules: 0–1,000 → Less Famous; 1,001–1,000,000 → Famous; 1,000,001–10,000,000 → Very Famous; Above 10,000,000 → Legendary Famous. If a user has 8,000,000 followers, what level should be displayed (5 marks)?

a)

Less Famous

b)

Famous

c)

Very Famous

d)

Legendary Famous

34.

Study the Python code shown in the diagram and choose the line that would be printed when the script runs with day set to "Wednesday" and gender set to "female".

a)

Go to the swimming pool for practice.

b)

Attend synchronized swimming practice.

c)

Take part in athletics on the track.

d)

It is the weekend! No school activities.

35.

Based on the Python code in the diagram, if gender is set to "male" and day is set to "Tuesday", which message would be printed?

a)

Attend basketball drills in the indoor court.

b)

Join the gymnastics session.

c)

Participate in rugby training.

d)

Go for boxing exercises in the gym.

36.

If a single equal sign is used in the if condition in the shown Python code (for example, if day = "Monday":), what will happen when the program is run?

a)

The code will run but always evaluate the condition as true.

b)

The program will raise a syntax error and stop running.

c)

It will compare strings without considering letter case.

d)

The assignment will silently change the value during the test with no error.

37.

Which kind of project could be built using the shown code that decides activities based on the day and gender?

a)

A sports activity scheduler that suggests sessions by day and gender.

b)

A temperature converter between Celsius and Fahrenheit.

c)

A random number guessing game.

d)

An image editing tool with filters.

38.

Which code snippet correctly checks whether an input number is positive, negative, or zero and prints the result?

a)

n = int(input()) if n > 0: print("Positive") elif n < 0: print("Negative") else: print("Zero")

b)

n = int(input()) if n >= 0: print("Negative") else: print("Positive")

c)

n = int(input()) if n = 0: print("Zero")

d)

n = int(input()) if n > 0: print("Positive")

39.

For the Open-Mind Python Challenge, select all requirements your program must meet.

a)

Be written in Python.

b)

Have at least 6 lines of code.

c)

Include at least one variable.

d)

Print useful or fun output.

e)

Include a graphical user interface.

40.

Which option correctly defines a list in Python and gives a valid example?

a)

An ordered collection of items, for example [1, 2, 3].

b)

A single number stored in memory, for example 42.

c)

A function that repeats code, for example for i in range(5).

d)

A text variable, for example "hello".

41.

What is a microbit?

a)

A small programmable microcontroller board for learning coding and electronics.

b)

A desktop operating system.

c)

A word processing software application.

d)

A type of computer virus.