Computer Science Revision Questions and answers
Computer Science Revision Questions and answers
Binary data is data represented using the binary number system, consisting of only
two digits: 1 and 0.
Computers are built using circuits and transistors. The circuits only need to
check for two states:
• On / off
• True / False
• North / south
• 1/0
5. Define transistor.
8. What is the largest decimal number that can be represented by 8 bits in binary?
• True or False?
ASCII can represent characters from all major languages around the
world.
False.
ASCII can only represent basic characters needed for English, limiting its
use for other languages.
• True or False?
True.
UNICODE uses more storage space than ASCII because it uses more bits to
represent characters.
• True or False.
True.
A drawback of ASCII is that it cannot represent special characters such as
emoji's (not enough bits)
15. What is the equation in terms of X for the maximum number of characters
in a character set using X bits?
An analogue signal is a continuous signal that can take on any value within
a range, such as a sound wave.
• True or False?
True.
Sample resolution is the number of bits stored per sample of the sound.
• True or False?
Higher sample rate and bit depth result in better sound quality but larger file
sizes.
True.
Higher sample rate and bit depth result in better sound quality but larger file
sizes.
• True or False?
The sample rate of a typical audio CD is 44.1 kHz (44,100 samples per
second).
True.
The sample rate of a typical audio CD is 44.1 kHz (44,100 samples per
second).
Duration is the length of time that something lasts, in the context of sound,
it refers to the length of the recorded audio.
• True or False?
True.
28. State the equation in terms of X for the maximum number of colours in an
image with colour depth X.
• True or False?
True.
Pixel depth is another term for colour depth, referring to the number of bits
used to represent the colour of each pixel.
The three main components of a packet are header, payload, and trailer.
35. Payload
A bit added to a packet to check that no bits have been flipped from 0 to
1 or vice versa.
39. Checksum
Routers control the routes taken for each packet and decide which
nearby router is closer to the destination device.
If a packet does not reach its destination, the receiver can send a resend
request to the sender to resend the packet.
45. Why is packet switching generally faster than sending a large packet?
Packet switching is generally faster because each packet finds the quickest
way around the network.
48. What are the three main steps in computer data processing?
The three main steps in computer data processing are input, process,
and output.
Stores the data or instruction which has been fetched from memory.
• Accumulator (ACC)
Stores the results of any calculations that have taken place in the
Arithmetic Logic Unit (ALU).
50. What is a bus in computer architecture?
The three types of buses are address bus, data bus, and control bus.
The address bus carries location data (addresses), data is written to/read
from.
54. What are the three main stages of the FDE Cycle?
55. In the fetch stage, what register holds the address of the next instruction?
In the fetch stage, the Program Counter (PC) holds the address of the next
instruction to be fetched from memory.
• Opcode
• Operand
During the decode stage, the CPU works out what is required from the
instruction by splitting it into opcode and operand.
• True or False?
The execute stage always involves performing a calculation.
False.
58. What is the purpose of the Control Unit (CU) in the fetch stage?
The Control Unit sends a signal along the control bus to initiate the read
operation from main memory.
59. How many times per second does a modern CPU typically perform the
Fetch-Decode-Execute cycle?
60. What are the three common characteristics of the CPU that impact its
performance?
• Clock Speed
• Cache Size
• Number of Cores
Clock speed is measured in Hertz (Hz) and measures the number of fetch-
decode-execute cycles that can take place in 1 second.
• True or False?
True.
The faster the Clock Speed, the more instructions can be fetched and
executed per second.
The larger the Cache Size, the more frequently used instructions or data
can be stored, resulting in fewer fetch cycles from RAM and improved
performance.
Each core works like its own CPU, so multiple cores allow multiple
processing units to fetch, decode and execute instructions
simultaneously.
• True or False?
A dual-core CPU with a Clock Speed of 3.6GHz can fetch, decode & execute
more instructions in 1 second that a quad-core CPU with a Clock
Speed of 2.5GHz?
False.
• Machine code
• True or False?
False.
The ADD instruction typically adds a value to the value currently stored in
the accumulator (ACC).
The LDA instruction typically loads the value stored in a memory location
into the accumulator.
• Heating thermostats
• Hospital equipment
• Washing machines
• small size
• use less power than general-purpose computers
• lower cost
• True or False?
False.
• True or False?
False.
While a fridge has a single main function, it does not contain a CPU, so it is
not considered an embedded system.
No.
• Keyboard
• Touchscreen
• Biometric device
• True or False?
A joystick is primarily used for word processing.
False.
• Barcode scanner
• Monitor
• Speakers
Speakers are output devices that output audio from the computer, such
as music, sound effects, or voice.
• Plotter
• True or False?
False.
Headphones are considered output devices that output audio directly to the
user, providing a more personal and potentially immersive experience.
• Monitoring system
A control system is a system that controls based upon the input from
sensors, such as starting a heater when water temperature falls below an
acceptable level.
• Feedback loop
• Accelerometer
An accelerometer is a sensor that measures acceleration rate, tilt,
and vibration.
• True or False?
True.
• pH sensor
93. What type of sensor would be used to help drivers when reversing?