Font size
WorksheetsOCR GCSE Computer Science (J277) — 100 Multiple Choice Questions
Total questions: 113
Worksheet time: 58mins
What does CPU stand for?
Central Processing Unit
Computer Processing Unit
Central Program Unit
Computer Program Utility
What does a logic gate do?
Stores data
Performs logical operations
Transfers data
Controls input/output
Which is a high-level programming language?
Python
Assembly
Machine code
Binary
What does LAN stand for?
Local Area Network
Large Area Network
Limited Access Network
Light Area Network
Which is an example of an input device?
Keyboard
Monitor
Printer
Speaker
Which is an example of an output device?
Mouse
Printer
Scanner
Microphone
What is an algorithm?
A. A type of software
B. Step-by-step instructions to solve a problem
C. Computer memory
D. A network protocol
Which of these is volatile memory?
SSD
HDD
RAM
ROM
Which of these is non-volatile memory?
ROM
RAM
Cache
Registers
What does HTML stand for?
HyperText Markup Language
HighText Machine Language
HyperTool Multi Language
High Transfer Markup Language
Which of these is a protocol for sending emails?
SMTP
HTTP
FTP
HTTPS
What is the purpose of the MAR?
Stores data temporarily
Holds the address of the next instruction
Performs arithmetic operations
Controls the CPU
What is the purpose of the MDR?
Holds the instruction to be executed
Holds the data fetched from memory
Controls the ALU
Stores the program counter
Which of the following is a high-level language?
Python
Machine code
Assembly
Binary
What is a firewall?
Physical security for the CPU
Software/hardware that blocks unauthorized access
Antivirus software
Backup storage
What is a LAN?
Network within a small area
Network across multiple countries
Internet access provider
Wireless access protocol
What is a WAN?
Wireless area network
Network covering a large area
Network of LANs within one building
Internet connection type
Which is a common network topology?
Star
Circle
Hexagon
Triangle
Which is a mesh network feature?
Every device connected to every other device
Only one central device
Devices not connected
Linear connection
Which of the following is an example of secondary storage?
RAM
SSD
Cache
Registers
What is the purpose of the ALU?
To control the CPU
To perform arithmetic and logic operations
To store data
To transfer data
Which of these is an example of a high-level programming construct?
IF statement
AND gate
Fetch-execute cycle
Binary operation
What does the program counter do?
Stores data temporarily
Keeps track of the next instruction
Performs calculations
Controls input/output
Which of the following is an example of lossy compression?
PNG
JPEG
WebP
Which is an example of lossless compression?
JPEG
MP3
PNG
MPEG
What is the difference between RAM and ROM?
RAM is volatile; ROM is non-volatile
RAM is non-volatile; ROM is volatile
Both are volatile
Both are non-volatile
Which of these is an embedded system?
Desktop PC
Washing machine
Laptop
Server
Which logic gate outputs 1 only when both inputs are 1?
A. OR
B. AND
C. NOT
D. XOR
Which logic gate outputs 1 if at least one input is 1?
A. OR
B. AND
C. NOT
D. NAND
Which logic gate inverts its input?
NOT
AND
OR
XOR
Which is an example of a network protocol?
FTP
CPU
RAM
ALU
Which of the following is an advantage of a star network?
Easy to add new devices
Requires no central device
Difficult to maintain
Highly redundant
Which of the following is a disadvantage of a mesh network?
High reliability
Expensive to install
Easy to maintain
Single point of failure
What does the fetch-execute cycle do?
Fetches instructions and executes them
Fetches data only
Executes arithmetic only
Stores data
What is the binary equivalent of decimal 10?
1010
1100
1001
1110
What is the hexadecimal equivalent of decimal 255?
FF
F0
EE
AA
Which of these is a characteristic of a high-level language?
Machine specific
Human-readable
Binary only
Assembly only
What does HTTPS provide that HTTP does not?
Faster loading
Encryption
Compression
Open-source
Which of these is a type of software?
Operating system
RAM
CPU
ROM
What is the purpose of an operating system?
To execute user instructions
To manage hardware and software
To store data permanently
To compile code
Which is an example of an application software?
Microsoft Word
BIOS
Device driver
Kernel
What is the function of a device driver?
Translates instructions for hardware
Provides internet access
Controls user accounts
Compiles code
What is ASCII used for?
Representing characters
Image compression
Networking
CPU management
Which of the following is a Unicode feature?
Supports multiple languages
Only English characters
Only numbers
Only symbols
What does a router do?
Connects networks
Stores files
Compiles code
Executes instructions
What is cloud computing?
Remote storage and services
A type of CPU
Network cable
A monitor technology
Which is a cybersecurity threat?
Virus
Firewall
RAM
SSD
Which of these is a strong password feature?
Includes uppercase, lowercase, numbers, symbols
Uses only letters
Uses only numbers
Less than 6 characters
What is phishing?
Attempt to steal information via fake emails
Computer virus
Firewall attack
Backup process
Which of these is an ethical issue?
Digital divide
CPU speed
Monitor resolution
RAM size
Which is an environmental issue?
E-waste
Software license
Binary code
Input device
What is binary?
Number system using 0 and 1
Number system using 0-9
Text encoding
Software type
What is hexadecimal?
A. Base 16 number system
B. Base 10 number system
C. Base 2 number system
D. Base 8 number system
Which of the following is an example of iteration?
A. FOR loop
B. IF statement
C. AND gate
D. Fetch cycle
Which of the following is selection?
A. IF statement
B. FOR loop
C. While loop
D. Arithmetic operation
What is the purpose of a trace table?
To follow the execution of code
To store data
To execute instructions
To compile code
Which of these is an example of debugging?
Fixing errors in code
Writing code
Compiling code
Running hardware
What is a subroutine?
A. A small program within a program
B. Network protocol
C. Storage device
D. CPU instruction
Which of these is a data type?
Integer
CPU
ROM
Ethernet
What is a constant?
A value that does not change
A variable
A function
A loop
What is a variable?
A. A named storage location
B. Fixed value
C. CPU instruction
D. Network device
Which is an example of a boolean value?
True
2
Hello
3.14
What is the purpose of comments in code?
To explain code to humans
To execute instructions
To store data
To manage networks
What is an IDE?
Integrated Development Environment
Internet Device Explorer
Internal Data Entry
Input Data Engine
What is a syntax error?
Mistake in code grammar
Logical error
Runtime error
Hardware fault
What is a logic error?
Code executes but gives wrong results
Code fails to compile
Network issue
CPU failure
Which of these is an advantage of a solid-state drive over HDD?
Faster access speed
Cheaper
Requires defragmentation
Which is an optical storage device?
CD
RAM
ROM
SSD
Which of these is an advantage of cloud storage?
Accessible anywhere
Always free
Unlimited speed
No security needed
Which of these is a disadvantage of cloud storage?
Security concerns
Can't access remotely
No backups
Incompatible file formats
Which of the following is an example of malware?
Virus
Firewall
Router
Antivirus
Which of these is a network device?
Switch
Compiler
IDE
OS
Which is a difference between LAN and WAN?
LAN is local; WAN is wide-area
LAN is slower
WAN is smaller
LAN is always wireless
Which of these is a wireless network type?
Wi-Fi
Ethernet
USB
Fiber
Which of these is an advantage of wireless networks?
Mobility
No interference
Unlimited bandwidth
Cheaper cables
Which of these is an example of an IP address?
192.168.0.1
WWW
HTML
00:1A:2B:3C:4D:5E
Which of these is a CPU component?
ALU
ROM
SSD
Router
What does the control unit do?
Directs data flow and instructions
Performs arithmetic
Stores files
Handles graphics
Which of these is an arithmetic operation?
Addition
IF statement
OR gate
While loop
Which is a logic operation?
A. AND
B. RAM
C. SSD
D. FOR loop
Which of the following is an input device?
Scanner
Printer
Monitor
Speaker
Which of these is an output device?
Speaker
Mouse
Keyboard
Graphics Tablet
Which of these is a function of an operating system?
Memory management
CPU speed
Storage device speed
Keyboard layout
Which is an advantage of high-level languages?
Easier to read and maintain
Faster than machine code
Uses less memory
Requires no compiler
Which is a disadvantage of high-level languages?
Slower than machine code
Difficult to read
Hard to maintain
Cannot use loops
What is a loop?
Repeated execution of code
Single instruction
Variable declaration
Network packet
Which is a network security measure?
Firewall
Brute Force
DOS
Text to Speach
What is the purpose of backup?
Protect against data loss
Increase speed
Encrypt data
Improve graphics
Which of these is a data unit?
Bit
RAM
CPU
Logic gate
Which is the largest data unit?
Terabyte
Byte
Nibble
Megabyte
Which is an example of ethical computing practice?
Respecting user privacy
Installing malware
Phishing
Ignoring copyright
Which is an example of environmental computing practice?
Recycling e-waste
Overclocking CPU
Excessive energy use
Leaving devices on standby
Which device is used to connect a LAN to a WAN?
Keyboard
Printer
Monitor
Router
What is the main function of the ALU in a CPU?
Stores instructions
Performs arithmetic and logic operations
Controls input devices
Manages network connections
Which of the following is a privacy concern in computing?
Processor type
Printer speed
Unauthorized data access
Screen size
Which of these is an example of volatile memory?
Hard Disk
ROM
SSD
RAM
What is the main function of the control unit in a CPU?
Manages network connections
Performs arithmetic calculations
Stores data permanently
Directs operations of the processor
Which register temporarily holds the address of data to be fetched?
Cache
ALU
MDR
MAR
Which of the following is a function of the control unit in a CPU?
Provides internet access
Performs calculations
Manages the execution of instructions
Stores data permanently
What does RAM stand for?
Remote Access Method
Rapid Application Module
Random Access Memory
Readily Available Memory
A (a) is a labelled storage box for data
How do you assign a value to a variable in Python?
variable_name == value
variable_name : value
variable_name = value
value = variable_name
What happens when you assign a new value to an existing variable?
The variable stores the new value, replacing the old value
a syntax error occurs
a new variable is created
the variable stores both the old and the new value
What will the following code output?
name = Anna
print(name)
(a)
Why don’t we use quotation marks when printing a variable?
it causes an error
it prints the variable's name instead of its value
it deletes the variable
it stops the program
Which of the following is a key difference between variables and constants in Python?
Constants can only store floats or integers
variables can not be printed
Constants' values cannot be changed during the program's execution
Variables must be declared before use
Why is it important to use descriptive variable names?
To make the program run faster
To follow Python's syntax rules
To make code easier to understand
To avoid using too much memory
Can you change a variable's name while a program is running?
Yes
No
Why do programmers use subprograms?
To make the program run faster
To break down a problem into smaller, manageable parts
To create variables with global scope
Python's syntax demands it
Which of the following has the correct syntax for defining a subprogram?
subprogram name():
def name:
def name():
program name():
What is the difference between a function and a procedure?
Functions are faster than procedures
Functions have more parameters
Functions return a value, procedures don't
Functions must be defined before the main program
What is the difference between an argument and a parameter?
There is no difference
Parameters are used in the subprogram definition, arguments are the values passed when calling
Arguments are used in the definition, parameters are used when calling
Both are used only when calling the subprogram
What is the correct way to call a function that takes two parameters?
function(parameter1, parameter2)
function(argument1 argument2)
function[argument1, argument2]
function(argument1), function(argument2)
