wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

OCR GCSE Computer Science (J277) — 100 Multiple Choice Questions

Total questions: 113

Worksheet time: 58mins

Name
Class
Date
1.

What does CPU stand for?

a)

Central Processing Unit

b)

Computer Processing Unit

c)

Central Program Unit

d)

Computer Program Utility

2.

What does a logic gate do?

a)

Stores data

b)

Performs logical operations

c)

Transfers data

d)

Controls input/output

3.

Which is a high-level programming language?

a)

Python

b)

Assembly

c)

Machine code

d)

Binary

4.

What does LAN stand for?

a)

Local Area Network

b)

Large Area Network

c)

Limited Access Network

d)

Light Area Network

5.

Which is an example of an input device?

a)

Keyboard

b)

Monitor

c)

Printer

d)

Speaker

6.

Which is an example of an output device?

a)

Mouse

b)

Printer

c)

Scanner

d)

Microphone

7.

What is an algorithm?

a)

A. A type of software

b)

B. Step-by-step instructions to solve a problem

c)

C. Computer memory

d)

D. A network protocol

8.

Which of these is volatile memory?

a)

SSD

b)

HDD

c)

RAM

d)

ROM

9.

Which of these is non-volatile memory?

a)

ROM

b)

RAM

c)

Cache

d)

Registers

10.

What does HTML stand for?

a)

HyperText Markup Language

b)

HighText Machine Language

c)

HyperTool Multi Language

d)

High Transfer Markup Language

11.

Which of these is a protocol for sending emails?

a)

SMTP

b)

HTTP

c)

FTP

d)

HTTPS

12.

What is the purpose of the MAR?

a)

Stores data temporarily

b)

Holds the address of the next instruction

c)

Performs arithmetic operations

d)

Controls the CPU

13.

What is the purpose of the MDR?

a)

Holds the instruction to be executed

b)

Holds the data fetched from memory

c)

Controls the ALU

d)

Stores the program counter

14.

Which of the following is a high-level language?

a)

Python

b)

Machine code

c)

Assembly

d)

Binary

15.

What is a firewall?

a)

Physical security for the CPU

b)

Software/hardware that blocks unauthorized access

c)

Antivirus software

d)

Backup storage

16.

What is a LAN?

a)

Network within a small area

b)

Network across multiple countries

c)

Internet access provider

d)

Wireless access protocol

17.

What is a WAN?

a)

Wireless area network

b)

Network covering a large area

c)

Network of LANs within one building

d)

Internet connection type

18.

Which is a common network topology?

a)

Star

b)

Circle

c)

Hexagon

d)

Triangle

19.

Which is a mesh network feature?

a)

Every device connected to every other device

b)

Only one central device

c)

Devices not connected

d)

Linear connection

20.

Which of the following is an example of secondary storage?

a)

RAM

b)

SSD

c)

Cache

d)

Registers

21.

What is the purpose of the ALU?

a)

To control the CPU

b)

To perform arithmetic and logic operations

c)

To store data

d)

To transfer data

22.

Which of these is an example of a high-level programming construct?

a)

IF statement

b)

AND gate

c)

Fetch-execute cycle

d)

Binary operation

23.

What does the program counter do?

a)

Stores data temporarily

b)

Keeps track of the next instruction

c)

Performs calculations

d)

Controls input/output

24.

Which of the following is an example of lossy compression?

a)

PNG

b)

JPEG

c)

WebP

25.

Which is an example of lossless compression?

a)

JPEG

b)

MP3

c)

PNG

d)

MPEG

26.

What is the difference between RAM and ROM?

a)

RAM is volatile; ROM is non-volatile

b)

RAM is non-volatile; ROM is volatile

c)

Both are volatile

d)

Both are non-volatile

27.

Which of these is an embedded system?

a)

Desktop PC

b)

Washing machine

c)

Laptop

d)

Server

28.

Which logic gate outputs 1 only when both inputs are 1?

a)

A. OR

b)

B. AND

c)

C. NOT

d)

D. XOR

29.

Which logic gate outputs 1 if at least one input is 1?

a)

A. OR

b)

B. AND

c)

C. NOT

d)

D. NAND

30.

Which logic gate inverts its input?

a)

NOT

b)

AND

c)

OR

d)

XOR

31.

Which is an example of a network protocol?

a)

FTP

b)

CPU

c)

RAM

d)

ALU

32.

Which of the following is an advantage of a star network?

a)

Easy to add new devices

b)

Requires no central device

c)

Difficult to maintain

d)

Highly redundant

33.

Which of the following is a disadvantage of a mesh network?

a)

High reliability

b)

Expensive to install

c)

Easy to maintain

d)

Single point of failure

34.

What does the fetch-execute cycle do?

a)

Fetches instructions and executes them

b)

Fetches data only

c)

Executes arithmetic only

d)

Stores data

35.

What is the binary equivalent of decimal 10?

a)

1010

b)

1100

c)

1001

d)

1110

36.

What is the hexadecimal equivalent of decimal 255?

a)

FF

b)

F0

c)

EE

d)

AA

37.

Which of these is a characteristic of a high-level language?

a)

Machine specific

b)

Human-readable

c)

Binary only

d)

Assembly only

38.

What does HTTPS provide that HTTP does not?

a)

Faster loading

b)

Encryption

c)

Compression

d)

Open-source

39.

Which of these is a type of software?

a)

Operating system

b)

RAM

c)

CPU

d)

ROM

40.

What is the purpose of an operating system?

a)

To execute user instructions

b)

To manage hardware and software

c)

To store data permanently

d)

To compile code

41.

Which is an example of an application software?

a)

Microsoft Word

b)

BIOS

c)

Device driver

d)

Kernel

42.

What is the function of a device driver?

a)

Translates instructions for hardware

b)

Provides internet access

c)

Controls user accounts

d)

Compiles code

43.

What is ASCII used for?

a)

Representing characters

b)

Image compression

c)

Networking

d)

CPU management

44.

Which of the following is a Unicode feature?

a)

Supports multiple languages

b)

Only English characters

c)

Only numbers

d)

Only symbols

45.

What does a router do?

a)

Connects networks

b)

Stores files

c)

Compiles code

d)

Executes instructions

46.

What is cloud computing?

a)

Remote storage and services

b)

A type of CPU

c)

Network cable

d)

A monitor technology

47.

Which is a cybersecurity threat?

a)

Virus

b)

Firewall

c)

RAM

d)

SSD

48.

Which of these is a strong password feature?

a)

Includes uppercase, lowercase, numbers, symbols

b)

Uses only letters

c)

Uses only numbers

d)

Less than 6 characters

49.

What is phishing?

a)

Attempt to steal information via fake emails

b)

Computer virus

c)

Firewall attack

d)

Backup process

50.

Which of these is an ethical issue?

a)

Digital divide

b)

CPU speed

c)

Monitor resolution

d)

RAM size

51.

Which is an environmental issue?

a)

E-waste

b)

Software license

c)

Binary code

d)

Input device

52.

What is binary?

a)

Number system using 0 and 1

b)

Number system using 0-9

c)

Text encoding

d)

Software type

53.

What is hexadecimal?

a)

A. Base 16 number system

b)

B. Base 10 number system

c)

C. Base 2 number system

d)

D. Base 8 number system

54.

Which of the following is an example of iteration?

a)

A. FOR loop

b)

B. IF statement

c)

C. AND gate

d)

D. Fetch cycle

55.

Which of the following is selection?

a)

A. IF statement

b)

B. FOR loop

c)

C. While loop

d)

D. Arithmetic operation

56.

What is the purpose of a trace table?

a)

To follow the execution of code

b)

To store data

c)

To execute instructions

d)

To compile code

57.

Which of these is an example of debugging?

a)

Fixing errors in code

b)

Writing code

c)

Compiling code

d)

Running hardware

58.

What is a subroutine?

a)

A. A small program within a program

b)

B. Network protocol

c)

C. Storage device

d)

D. CPU instruction

59.

Which of these is a data type?

a)

Integer

b)

CPU

c)

ROM

d)

Ethernet

60.

What is a constant?

a)

A value that does not change

b)

A variable

c)

A function

d)

A loop

61.

What is a variable?

a)

A. A named storage location

b)

B. Fixed value

c)

C. CPU instruction

d)

D. Network device

62.

Which is an example of a boolean value?

a)

True

b)

2

c)

Hello

d)

3.14

63.

What is the purpose of comments in code?

a)

To explain code to humans

b)

To execute instructions

c)

To store data

d)

To manage networks

64.

What is an IDE?

a)

Integrated Development Environment

b)

Internet Device Explorer

c)

Internal Data Entry

d)

Input Data Engine

65.

What is a syntax error?

a)

Mistake in code grammar

b)

Logical error

c)

Runtime error

d)

Hardware fault

66.

What is a logic error?

a)

Code executes but gives wrong results

b)

Code fails to compile

c)

Network issue

d)

CPU failure

67.

Which of these is an advantage of a solid-state drive over HDD?

a)

Faster access speed

b)

Cheaper

c)

Requires defragmentation

68.

Which is an optical storage device?

a)

CD

b)

RAM

c)

ROM

d)

SSD

69.

Which of these is an advantage of cloud storage?

a)

Accessible anywhere

b)

Always free

c)

Unlimited speed

d)

No security needed

70.

Which of these is a disadvantage of cloud storage?

a)

Security concerns

b)

Can't access remotely

c)

No backups

d)

Incompatible file formats

71.

Which of the following is an example of malware?

a)

Virus

b)

Firewall

c)

Router

d)

Antivirus

72.

Which of these is a network device?

a)

Switch

b)

Compiler

c)

IDE

d)

OS

73.

Which is a difference between LAN and WAN?

a)

LAN is local; WAN is wide-area

b)

LAN is slower

c)

WAN is smaller

d)

LAN is always wireless

74.

Which of these is a wireless network type?

a)

Wi-Fi

b)

Ethernet

c)

USB

d)

Fiber

75.

Which of these is an advantage of wireless networks?

a)

Mobility

b)

No interference

c)

Unlimited bandwidth

d)

Cheaper cables

76.

Which of these is an example of an IP address?

a)

192.168.0.1

b)

WWW

c)

HTML

d)

00:1A:2B:3C:4D:5E

77.

Which of these is a CPU component?

a)

ALU

b)

ROM

c)

SSD

d)

Router

78.

What does the control unit do?

a)

Directs data flow and instructions

b)

Performs arithmetic

c)

Stores files

d)

Handles graphics

79.

Which of these is an arithmetic operation?

a)

Addition

b)

IF statement

c)

OR gate

d)

While loop

80.

Which is a logic operation?

a)

A. AND

b)

B. RAM

c)

C. SSD

d)

D. FOR loop

81.

Which of the following is an input device?

a)

Scanner

b)

Printer

c)

Monitor

d)

Speaker

82.

Which of these is an output device?

a)

Speaker

b)

Mouse

c)

Keyboard

d)

Graphics Tablet

83.

Which of these is a function of an operating system?

a)

Memory management

b)

CPU speed

c)

Storage device speed

d)

Keyboard layout

84.

Which is an advantage of high-level languages?

a)

Easier to read and maintain

b)

Faster than machine code

c)

Uses less memory

d)

Requires no compiler

85.

Which is a disadvantage of high-level languages?

a)

Slower than machine code

b)

Difficult to read

c)

Hard to maintain

d)

Cannot use loops

86.

What is a loop?

a)

Repeated execution of code

b)

Single instruction

c)

Variable declaration

d)

Network packet

87.

Which is a network security measure?

a)

Firewall

b)

Brute Force

c)

DOS

d)

Text to Speach

88.

What is the purpose of backup?

a)

Protect against data loss

b)

Increase speed

c)

Encrypt data

d)

Improve graphics

89.

Which of these is a data unit?

a)

Bit

b)

RAM

c)

CPU

d)

Logic gate

90.

Which is the largest data unit?

a)

Terabyte

b)

Byte

c)

Nibble

d)

Megabyte

91.

Which is an example of ethical computing practice?

a)

Respecting user privacy

b)

Installing malware

c)

Phishing

d)

Ignoring copyright

92.

Which is an example of environmental computing practice?

a)

Recycling e-waste

b)

Overclocking CPU

c)

Excessive energy use

d)

Leaving devices on standby

93.

Which device is used to connect a LAN to a WAN?

a)

Keyboard

b)

Printer

c)

Monitor

d)

Router

94.

What is the main function of the ALU in a CPU?

a)

Stores instructions

b)

Performs arithmetic and logic operations

c)

Controls input devices

d)

Manages network connections

95.

Which of the following is a privacy concern in computing?

a)

Processor type

b)

Printer speed

c)

Unauthorized data access

d)

Screen size

96.

Which of these is an example of volatile memory?

a)

Hard Disk

b)

ROM

c)

SSD

d)

RAM

97.

What is the main function of the control unit in a CPU?

a)

Manages network connections

b)

Performs arithmetic calculations

c)

Stores data permanently

d)

Directs operations of the processor

98.

Which register temporarily holds the address of data to be fetched?

a)

Cache

b)

ALU

c)

MDR

d)

MAR

99.

Which of the following is a function of the control unit in a CPU?

a)

Provides internet access

b)

Performs calculations

c)

Manages the execution of instructions

d)

Stores data permanently

100.

What does RAM stand for?

a)

Remote Access Method

b)

Rapid Application Module

c)

Random Access Memory

d)

Readily Available Memory

101.

A (a)   is a labelled storage box for data

102.

How do you assign a value to a variable in Python?

a)

variable_name == value

b)

variable_name : value

c)

variable_name = value

d)

value = variable_name

103.

What happens when you assign a new value to an existing variable?

a)

The variable stores the new value, replacing the old value

b)

a syntax error occurs

c)

a new variable is created

d)

the variable stores both the old and the new value

104.

What will the following code output?
name = Anna
print(name)



(a)  

105.

Why don’t we use quotation marks when printing a variable?

a)

it causes an error

b)

it prints the variable's name instead of its value

c)

it deletes the variable

d)

it stops the program

106.

Which of the following is a key difference between variables and constants in Python?

a)

Constants can only store floats or integers

b)

variables can not be printed

c)

Constants' values cannot be changed during the program's execution

d)

Variables must be declared before use

107.

Why is it important to use descriptive variable names?

a)

To make the program run faster

b)

To follow Python's syntax rules

c)

To make code easier to understand

d)

To avoid using too much memory

108.

Can you change a variable's name while a program is running?

a)

Yes

b)

No

109.

Why do programmers use subprograms?

a)

To make the program run faster

b)

To break down a problem into smaller, manageable parts

c)

To create variables with global scope

d)

Python's syntax demands it

110.

Which of the following has the correct syntax for defining a subprogram?

a)

subprogram name():

b)

def name:

c)

def name():

d)

program name():

111.

What is the difference between a function and a procedure?

a)

Functions are faster than procedures

b)

Functions have more parameters

c)

Functions return a value, procedures don't

d)

Functions must be defined before the main program

112.

What is the difference between an argument and a parameter?

a)

There is no difference

b)

Parameters are used in the subprogram definition, arguments are the values passed when calling

c)

Arguments are used in the definition, parameters are used when calling

d)

Both are used only when calling the subprogram

113.

What is the correct way to call a function that takes two parameters?

a)

function(parameter1, parameter2)

b)

function(argument1 argument2)

c)

function[argument1, argument2]

d)

function(argument1), function(argument2)