NEW
Font size
WorksheetsDiagnostic Test. Computing
Total questions: 20
Worksheet time: 10mins
Which of the following is the MOST important characteristic of good pseudocode?
It must be written in a specific programming language.
It must be short, clear, precise, and have a defined beginning and end.
It must include colorful diagrams and graphics.
It must be as long and detailed as possible to avoid confusion.
Look at that pseudocode. What will be the output?
Grade: A
Grade: B
85
score >= 80
The first step in planning a program to draw a square is to break down the problem into smaller steps such as "move forward", "turn right 90 degrees", and "repeat 4 times". This process is called:
Loop
Decomposition
Encryption
Validation
A program needs to verify if a user is over 13 years old AND has parental permission to register. What logical operator is needed to check if BOTH conditions are true?
NOT
AND
OR
XOR
A network that connects devices within a single building, such as a school or office, is called:
PAN (Personal Area Network)
LAN (Local Area Network)
WAN (Wide Area Network)
MAN (Metropolitan Area Network)
In comparison to copper cables, what is the main advantage of fiber optic cables?
They are much cheaper to produce and install.
They are less fragile and easier to repair.
They can transmit data over longer distances at much higher speeds and are immune to electrical interference.
They can be used to provide electrical power to devices (Power over Ethernet).
What is the main purpose of a firewall in a network?
Scan and remove viruses from files.
Act as a barrier that monitors and controls incoming and outgoing network traffic according to security rules.
Increase internet connection speed for all users.
Compress data to save storage space.
A library of programs is best described as:
A place where programmers go to read books about coding.
A website to download movies and music.
A collection of pre-written code, routines, and functions that programmers can use to avoid writing code from scratch.
The part of the computer where all the software is physically stored.
What type of data would be most appropriate to store the value of π (pi, approximately 3.14)?
Integer
String
Real
Boolean
The process of repeatedly creating a prototype of a program, testing it, finding errors, and improving it is known as:
Linear development
Iterative development
Waterfall development
Final development
When testing a program that calculates the area of a circle (Area = πr²), which of the following is an example of extreme test data?
r = 5
r = 0
r = -10
r = 2.5
The main purpose of an operating system is:
To create spreadsheets and documents.
To provide a platform for running application software and managing the computer's hardware resources (such as memory and CPU).
To protect the computer from viruses.
To connect the computer to the internet.
Convert the decimal number 13 into an 8-bit binary number.
00001101
00001011
1101
1001
How does ASCII represent text in a computer?
Assigns a unique decimal number to each character (for example, 'A' is 65).
Stores text as images.
Uses artificial intelligence to guess what the text means.
Converts all text into binary audio files.
The main reason to compress a digital file is:
Improve the quality of the image or sound.
Reduce the file size for faster transmission and save storage space.
Encrypt it to make it secure.
Make it compatible with all operating systems.
Complete the truth table for the AND gate. What should the values for the output Y be?
0, 0, 0, 1
0, 1, 1, 1
1, 1, 1, 0
1, 0, 0, 0
What is the role of RAM (Random Access Memory) in a computer?
Store the startup instructions permanently (e.g., BIOS).
Provide long-term storage for files and programs.
Act as the temporary working memory of the computer for running programs and open data.
Control the speed of the computer's processor.
A form on a website asks for your age. If you write 'fifteen' instead of '15', and an error message appears asking for a number, this is an example of:
Compression
Data transmission
Data validation
Data encryption
A smartphone application that overlays digital information, such as historical facts, on the live camera view of a museum exhibit is an example of:
Virtual Reality
Machine Learning
Augmented Reality
Robotic Process Automation
A simple vacuum robot uses sensors to avoid falling down stairs. This is a basic example of:
Data compression
Autonomous programming
Network routing
Data validation
