CAIE IGCSE Computer Science Theory
CAIE IGCSE Computer Science Theory
ORG
CAIE IGCSE
COMPUTER SCIENCE
SUMMARIZED NOTES ON THE THEORY SYLLABUS
Prepared for Shubh for personal use only.
CAIE IGCSE COMPUTER SCIENCE
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
Note: We move from RHS to LHS, and when adding values,
Given Value : 1 0 0 0 0 1 1 1 1 1 1 1 0 1 we use the rules given above. If the bit crosses the limit
When grouped: 10 0001 1111 1101 (overflows), we put the value in brackets, denoting it is
overflow.
After 2 values added to left: 0010 0001 1111 1101
iii. The solution would now be (1) 0 1 0 0 1 1 0 0
After Conversion to Denary: 2 1 15 13
Logical Shifts
Denary to Hexadecimal: 21FD
The logical shift means moving a binary value to the left
Converting Hexadecimal to Denary or the right
When doing a logical shift, keep in mind that the bit
Convert the value to binary as shown above, and then being emptied is going to become 0
convert the final answer to denary
Explanation with Example
Converting Denary to Hexadecimal
Shifting 10101010 - 1 place left:
Convert the value to binary, and then convert it to 1. The furthest bit in the direction to be logically
hexadecimal as explained above shifted is removed ( in this case, one at the LHS is
removed) - ==(if it were two places, 2 bits would
1.3. Binary Calculations have been removed)==
2. Every bit is moved in given places to the given
Binary values are not added the way denary values are direction ( every bit is moved one place to the left
added, as when adding 1 and 1, we cannot write two in this case, and the leftover bit in the right is
because it doesn’t exist in binary. marked 0, so 10101010 would become 01010100)
When adding two values, if the solution exceeds the limit Firstly, write the binary value and locate the first one
of given values, e.g., the solution has 9 bits, but the from the right; e.g., 1101100 would have the first one at
question had 8 bits per value, the 9th bit (most left bit) is the third position from the right.
called overflow. Now, switch every value to the left of the first one
This indicates that the memory doesn’t have enough located above (not switching the one), e.g., the value in
space to store the answer to the addition done in the our example becomes 0010100, which is the two’s
previous part. complement of itself.
Steps to add Two Values (With Example) Converting negative values to two complement
The values we will add are 1 1 0 1 1 1 0 and 1 1 0 1 1 1 1 Find the binary equivalent of the value ignoring the - sign
0 Convert the binary value to two’s complement
1. Convert both the bytes into 8 bits (add zero to the Make the MSB 1, if not already
left-hand side to match them).
e.g., 1 1 0 1 1 1 0 would become 0 1 1 0 1 1 1 0 Converting Two’s Complement Value to Denary:
2. Add the values as follows with the points given
We do it the same way as a normal value is converted
above
from binary to denary; we only replace 128 with -12,8
Carry 1 1 1 1 1 1 1 e.g., for 1011101,0 we do the:
Byte 1 0 1 1 0 1 1 1 0
-128 64 32 16 8 4 2 1
Byte 2 1 1 0 1 1 1 1 0
1 0 1 1 1 0 1 0
OVERFLOW
Solution 1 0 1 0 0 1 1 0 0 -128 + 32 + 16 + 8 + 2 = -70
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
Sampling Rate
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
Name of memory No. of
The sampling rate is the number of sound samples taken Equivalent Denary Value
size Bytes
per second, which is measured in Hertz (Hz) 1 kibibyte (1KiB) 210 1 024 bytes
A higher sampling rate would allow more accurate sound
as fewer estimations will be done between samples. 1 mibibyte (1MiB) 220 1 048 576 bytes
1 gibibyte (1GiB) 230 1 073 741 824 bytes
Images 1 tibibyte (1TiB) 240 1 099 511 627 776 bytes
1 125 899 906 842 624
Bitmap Images 1 pibibyte (1PiB) 250 bytes
MP3
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
It uses technology known as Audio Compression to It reduces the size of a string of adjacent, identical data
convert music and other sounds into an MP3 file format (e.g. repeated colours in an image)
This compression reduces the normal file size by 90% A repeating string is encoded into two values: the first
Done using file compression algorithms, which use value represents the number of identical data items (e.g.
Perceptual Music Shaping characters), and the second value represents the code of
Removes sounds that the human ear cannot hear the data item (such as ASCII code if it is a keyboard
properly character), e.g. ‘aaaaabbbbccddddd’ becomes “05 97 04
Certain sounds are removed without affecting the 98 02 99 05 100.”
quality, too much RLE is only effective where there is a long run of
CD files are converted using File Compression Software repeated units/bits
Use lossy format as the original file is lost following the One difficulty is that RLE compression isn't perfect for
compression algorithm strings like "cdcdcdcdcd". We use a flag to solve this; e.g.,
255 can be made as the flag. Now 255 will be put before
MP4 every repeating value, e.g. our previous example
This format allows the storage of multimedia files rather becomes 255 05 97 255 04 98 255 02 99 255 05 100
than just sound where 255 now indicates that the next character/set of
characters is approaching
Music, videos, photos and animations can be stored
Videos could be streamed without losing any real
discernible quality
Lossy File Compression
Joint Photographic Experts Group (JPEG) The file compression algorithm eliminates unnecessary
data bits like in MP3 and JPEG formats.
JPEG is a file format used to reduce photographic file It is impossible to get the original file back once it is
sizes compressed
Reducing picture resolution is changing the number of Reduces file quality
pixels per centimetre In this, the image's resolution and colour depth are
When a photographic file undergoes compression, file reduced.
size is reduced
JPEG will reduce the raw bitmap image by a factor
between 5 and 15 2. Data Transmission
1.8. Lossless and Lossy File 2.1. Types and Methods of Data
Compression Transmission
Lossless File Compression Data Packets
All the data bits from the original file are reconstructed
again when the file is uncompressed.
Important for files where the loss of data would be
disastrous (spreadsheet)
An algorithm is used to compress data
No data is lost
Repeated patterns/text are grouped together in indexes
Run-Length Encoding
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
Packet Structure -
Header 2.2. Universal Serial Bus (USB)
Contains the IP address of the sender and the
receiver USB is an asynchronous serial data transmission method
USB consists of:
The sequence number of the packet
Four-wire shielded cable
Size of the packet
Payload Two wires are used for power and earth
Contains the actual data Two wires are used in data transmission
Trailer Advantages Disadvantages
Includes a method of identifying the end of the Transmission rate is less than
packet Automatically detected
120 MB/sec
Error-Checking methods Only fit one way, prevents Maximum cable length is about
Packet Switching - Method of data transmission where incorrect connections 5 metres
the data is broken into multiple packets. Packets are Different data transmission
then sent independently from start to end and rates
reassembled at the receiver’s computer. Backwards compatible
Industry-standard
Advantages Disadvantages
There is no need to create a
single line of communication
Packets may be lost 2.3. Methods of Error Detection
Possible to overcome failed or
More prone to errors in real-
busy nodes time streaming Parity Checks
Delay at the receiver while the
High data transmission speed
packets are being re-ordered It uses the number of 1-bits in a byte
Easy to expand package usage Type Types -
Even - Even number of 1-bits
Data Transmission Odd - Odd numbers of 1-bits
Example (Even Parity) -
Simplex data transmission is in one direction only (e.g.
computer to printer) 0 1 0 1 1 0 1 0
Half-duplex data transmission is in both directions but
not at the same time (e.g., walkie-talkie) The LMB (Left-Most Bit) is the parity bit. As the number
Full-duplex data transmission is in both directions of 1s is even, the parity bit would be set to even.
simultaneously (e.g. broadband connection on the phone Limitations with Parity Checks
line) Two bits may change during transmission; therefore
Serial data transmission is when data is sent one bit at a error is not found
time over a single wire Even though the parity checks would reveal the errors,
Parallel data transmission is when data of several bits (1 the bit(s) changed wouldn’t be identified
byte) are sent down several wires at the same time.
Parity Blocks
Comparison of Serial and Parallel Data
Transmission
Serial Parallel
Better for longer distances Better for short distances
(Telephone Lines) (Internal circuits)
Expensive (More hardware
Cheaper Option
required)
Used when the size of data
Used when speed is necessary
transmitted is small
Slower Option Faster than Serial
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
To overcome the limitations of parity bits, Parity blocks Uses acknowledgements and timeouts to make sure the
would be used. user received the data
The receiver would check the data for any errors; if none
are found, a positive acknowledgement is sent to the
sender. However, if errors are found, a negative
acknowledgement will be sent, and the data will be sent
again.
The sender uses timeouts to wait for a pre-determined
amount for the acknowledgement.
If no acknowledgements are received after the timeout,
the data will be sent again to the receiver.
Any changes in bits would be identified through the rows 2.4. Encryption
and columns
Encryption is a process of turning the data into an
Checksum unreadable form so it doesn’t make sense to hackers and
other attackers.
Whenever a block of data needs to be sent, the sender
would calculate the checksum value using a specific Plaintext and Ciphertext
algorithm.
Once the data has been sent, The receiver would Plaintext is the original data that is being sent
Ciphertext is the text produced after encryption
calculate the checksum again with the same set of data
and the same algorithm used before.
The receiver would then compare the value received and
Symmetric and Asymmetric Encryption
the newly calculated value. If they aren’t matched, A Symmetric Encryption:
request is made to re-send the data. It uses an encryption key for the encryption process;
the same key is used for encrypting and decrypting
Echo Check the data.
Once the data has been sent, The receiver will send the Asymmetric Encryption:
data back to the sender for verification. Uses a public key and a private key. The public key is
The sender would compare the received and original available to everyone, whereas the private key is only
available to the user.
data for errors.
The receiver would have the private key, and they
The only downside is that we wouldn’t know if the error
occurred when sending the data or sending the data would send the public key to the sender. The sender
back for verification. can encrypt the message with the public key, and the
data can be decrypted using the private key.
Check Digits
Check digits are calculated from all the other digits in the
3. Hardware
data (ex-codes). The check digit would be the last digit of
the code. 3.1. Computer Architecture & Von
These are used to identify mistyping errors such as -
6372 typed as 6379
Neumann Architecture
8432 typed as 842
The central processing unit (CPU) (also known as a
microprocessor or processor) is central to all modern
Automatic Repeat Requests (ARQs)
computer systems
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
Processor: The processor contains the Arithmetic and 1. PC contains the address of the next instruction to be
Logic Unit (ALU) fetched
Control Unit: The control unit controls the operation of 2. This address is copied to the MAR via the address bus
the memory, processor and input/output devices 3. The instruction of the address is copied into the MDR
Arithmetic Logic Unit: Carries out the logic system like temporarily
calculations 4. The instruction in the MDR is then placed in the CIR
System Clock: The system clock is used to produce 5. The value in the PC is incremented by 1, pointing to
timing signals on the control bus the next instruction to be fetched
6. The instruction is finally decoded and then executed
Buses: Carry data through components. The following are its
types. Stored Program Concept
Address bus – unidirectional Instructions are stored in the main memory
Data Bus – bi-directional Instructions are fetched, decoded, and executed by
Control Bus – bi-directional the processor
Immediate Access Store: Stores the instructions that are to Programs can be moved to and from the main memory
be processed, which are fetched by the CPU
Memory Concept
The following registers also exist in the architecture:
A computer’s memory is divided into partitions: Each
REGISTER ABBREVIATION FUNCTION partition consists of an address and its contents, e.g.
Stores the instruction the
Current instruction MEMORY LOCATION CONTENT
CIR CPU is currently decoding
register
or executing 10101010 01010110
Stores the Address of the
Memory address
MAR instruction, copy it, and Instruction Set:
register
sends it to MDR An instruction set is a list of all the commands that a CPU
Stores the Data from the can process, and the commands are machine code
MDR Memory data register address received from the
MAR and sends data to CIR
Stores the address of the 3.2. Cores, Cache and Internal Clock
PC Program counter next instruction to be
fetched from memory System’s Clock
During calculations, data is
ACC Accumulator
temporarily held in it The clock defines the clock cycle that synchronises all
computer operations. By increasing the clock speed, the
computer's processing speed also increases. This doesn’t
mean that the computer's performance is increased,
however.
Overclocking
Using a clock speed higher than the computer was designed
for.
It leads to multiple issues.
Cache
Cache memory is located within the CPU itself
-- allows faster access to the CPU
-- stores frequently used instructions and data that need to
be accessed faster, which improves CPU performance
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
The larger the cache memory size, the better the CPU
performance Make use of (OCR) to produce digital images which
represent the passport pages
Cores Text can be stored in ASCII format
The 2D photograph in the passport is also scanned and
The more cores in the CPU, the better and faster the stored as jpeg image
performance The passenger’s face is also photographed using a digital
camera and compared to using face recognition software
But if any number of cores are used, it could slow down Key parts of the face are compared (distance between
the system performance as the communication between eyes, width of nose)
each core increases, and so do the data cables between
each. Which in turn reduces the potential system Barcode readers/scanners
performance.
You might have heard about quad and dual cores, not A barcode is a series of dark and light parallel lines of
septa or octa cores. varying thicknesses
The numbers 0 -9 are each represented by a unique
series of lines
3.3. Input Devices The left and right-hand sides of the barcode are separate
using guard bars
Two-dimensional Scanners: Allows barcode to be scanned in any direction
Used to input hard-copy documents The barcode is read by a red laser or red LED
The image is converted into an electronic form, which Light is reflected off the barcode; dark areas reflect
can be stored in the computer little light, which allows the bars to be read
The document is placed on a glass panel Reflected light is read by sensors (photoelectric cells)
A bright light illuminates the document The pattern is generated, which is converted to digital
A scan head moves across the document until the Quick Response (QR) Codes
whole page is scanned. An image of the document is
produced and sent to a lens using a series of mirrors Another type of barcode is the QR codes
The lens focuses on the document image Made up of a matrix of filled-in dark squares on a light
The focused image now falls onto a charge-coupled background
device (CCD), which consists of several integrated Can hold more storage (7000 digits)
circuits Advantages of QR codes:
The software produces a digital image in the No need for the user to write down the website
electronic form address
Optical Character Recognition (OCR) is a software which QR codes can store website addresses
converts scanned documents into a text file format
If the original document was a photo/image, then the Digital Cameras
scanned image forms an image file such as JPEG
It is controlled by a microprocessor that adjusts the
Three-dimensional Scanners shutter speed, focuses the image, etc.
Photo is captured when light passes through the lens
3D scanners can scan solid objects and produce a three- onto a light sensitive cell
dimensional image The cell is made up of pixels
Scanners take images at several points, x, y and z (lasers, The number of pixels determines the size of the file
magnetic, white light)
The scanned images can be used in Computer-Aided Keyboards
Design (CAD) or in a 3D printer to produce a working
Connected to a computer with a USB connection or by
model wireless connection
Application of 2D Scanners at an Airport: Each character has an ASCII value and is converted into a
digital signal
Slow method
Prone to errors
Pointing devices
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
Used to print one-off pictures and documents The actuators convert electrical signals to mechanical
Data from the document sent to the printer driver processes.
The printer driver ensures data is in the correct format Used in many control applications involving sensors and
Check made by printer driver that the chosen printer is devices (ADC and DAC)
available
Data is sent to the printer and stored in a temporary Loudspeakers/Headphones
memory (printer buffer)
Sound is produced by passing the digital data through a
A sheet of paper is fed; the sensor detects if the paper is DAC, then through an amplifier, and then emerges from
available in the paper tray the loudspeaker
The print head moves across paper printing text/image, Produced by voltage differences vibrating a cone in the
four ink colours sprayed in the exact amount speaker at different frequencies
Paper is advanced, so the next line is printed
Repeated until the buffer is empty LCD and LED Monitors
Once it is done, the printer sends an interrupt to the
processor (request for more data to be sent) The front layer of the monitor is made up of Liquid
Crystal Display (LCD); these tiny diodes are grouped in
Laser Printers threes as pixels (LCD doesn’t emit any light)
LCD monitors are backlit using Light Emitting Diode (LED)
Used to print flyers, high quality
because:
Use dry powder ink (toner) and static electricity to LEDs reach their maximum brightness immediately
produce text and images LEDs sharpen image (higher resolution), and CCFL
Prints the whole page in one go has a yellow tint
1. (steps 1-4 same as inkjet) LEDs improve the colour image
2. The printing drum is given a positive charge; as the Monitors using LED are much thinner than CCFL
drum rotates, a laser beam is scanned across it; LEDs consume very little power
removing the positive charge leaves negatively Before LEDs, LCD monitors were backlit using CCFL
charged areas which match the text/image CCFL uses two fluorescent tubes behind the LCD screen,
3. The drum is then coated with positively charged which supplies the light source
toner; it only sticks to negatively charged parts of the
Light Projectors:
drum
4. A negatively charged sheet is rolled over the drum Two common types of light projectors:
5. The toner on the drum now sticks to the paper to Digital Light Projector (DLP)
produce a copy of the page LCD Projector
6. Paper finally goes through a fuser (set of heated Projectors are used to project computer output onto
rollers); heat melts the ink so it is permanent larger screens/interactive whiteboards
7. The discharge lamp removes all electric charge from
the drum, ready to print on the next page Digital Light Projectors (DLP)
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
Older technology than DLP RAM is used by a system when it needs to store and
A powerful beam of white light is generated from a bulb access data that is actively being used or processed by
This beam of light is then sent to a group of chromatic- the user immediately.
coated mirrors; these reflect the light at different Features of RAM
wavelengths Volatile/temporary memory (contents lost if RAM is
When the white light hits the mirrors, the reflected light turned off)
has wavelengths corresponding to red, green, and blue Used to store; data, files
These three different lights pass through three LCD It can be written to or read from, and the contents of
screens; these screens show the image to be projected the memory can be changed
as millions of pixels in grayscale The larger the size of the RAM, the faster the computer
When the coloured light passes through the LCD screens, will operate
a red, green and blue version of the grey image emerges RAM never runs out of memory and continues to run
Finally, the image passes through the projector lens onto slow
the screen As RAM becomes full, the processor has to access the
continually hard drive to overwrite old data on RAM with
new data
RAM is of two types:
3.5. Memory, Storage Devices & Media Science - Second Edition (Hodder Education)
Virtual memory
Primary vs. Secondary Storage When RAM runs out of memory, there is a problem with
The CPU directly accesses primary storage memory management; thus, the system has a high
The CPU does not directly access secondary storage chance of crashing. This is why virtual memory comes
RAM, ROM, and cache memory are some examples into the picture.
HDD, SSD, DVD, memory stick, and Blu-ray disc are some The virtual memory can be either HDD or SSD (these
examples storages are discussed below)
Primary Memory:
Random Access Memory (RAM)
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
You may be expected to draw a diagram like the above. Laser (red) light is used to read and write data on the
The main advantages of virtual memory are surface of the disk.
They can be larger than the physical memory A thin layer of metal alloy is used to store data.
provided in the RAM. Both systems use a single spiral track that runs from the
Avoids the need to install/upgrade RAM, as it could centre of the disk to the edge
be expensive DVD uses Dual-Layering, which increases the storage
The system wastes no storage on unwanted/unused capacity (two individual recording layers)
data.
Blu-ray Disks
Read Only Memory (ROM)
Uses a blue laser to carry out read-and-write operations
Features of ROM The wavelength of laser light is less than CD and DVD
Non-volatile/permanent memories (contents remain (stores up to five times more data than DVD)
even when ROM is turned off) Automatically come with secure encryption (prevent
Used to store start-up instructions (basic piracy and copyright infringement)
input/output systems) Used as backup systems
Data/contents of a ROM chip can only be read and
cannot be changed USB Flash Memories
Secondary Storage: Very small, lightweight, and suitable for transferring files
Hard Disk Drives (HDD) Small back-up devices for photo, music
Solid state, so needs to be treated with care
Data is stored in a digital format on the magnetic surface
of the disks (platter) Cloud Storage:
A number of read/write heads can access all of the Cloud storage is a method of data storage where data is
surfaces of the disk
stored on remote servers
Each platter will have two surfaces which can be used to The same data is stored on more than one server in case
store the data of maintenance or repair, allowing clients to access data
Data is stored on the surfaces in sectors and tracks at any time. This is known as data redundancy.
HDD has very slow data access compared to RAM
The following are its types:
Solid-State Drive (SSD)
Public cloud – this is a storage environment where the
There are no moving parts, and all data is received at the customer/client and cloud storage provider are different
same time (not like HDD) companies
Store data by controlling the movement of electrons Private cloud – this is storage provided by a dedicated
within NAND chips, as 1s and 0s environment behind a company firewall; customer/client
Non-volatile rewritable memory
and cloud storage provider are integrated and operate
Benefits of using SSD rather than HDD: as a single entity
More reliable (no moving parts) Hybrid cloud – this is a combination of the two above
Considerably lighter (suitable for laptops) environments; some data resides in the private cloud,
Lower power consumption
and less sensitive/less commercial data can be accessed
Run much cooler than HDDs from a public cloud storage provider
Very thin
Data access is faster than HDD
Drawback – questionable longevity (20GB per day)
Off-Line Storage:
CD/DVD Disks
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
System Software:
these are a set of programs which control and manage
the operations of hardware
gives a platform for other software to run
it is required to allow hardware and software to run
without problems
provides a human-computer interface (HCI) to the user
controls the allocation and usage of hardware resources
Application Software:
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
allows a user to perform specific tasks using the Word Processor: Software used for manipulating text
computer’s resources documents, including creating, editing, and formatting
maybe a single program (for example, NotePad) or a text with tools for copying, deleting, spell-checking, and
suite of programs (for example, Microsoft Office) importing images.
user can execute the software when they require, and it Spreadsheet: Organizes and manipulates numerical data
is mostly not automatic using a grid of lettered columns and numbered rows,
with each cell identified using a unique combination of
Examples columns and rows. It can calculate using formulas,
produce graphs, and do modelling and "what if"
System Software: calculations.
Database: Software used to organize, analyze, and
Compiler: Translates high-level language into machine manipulate data consisting of one or more tables that
code, allowing for direct use by a computer to perform hold records and fields. It provides the ability to query
tasks without re-compilation. and report on data and add, delete, and modify records
Linker: Combines object files produced by a compiler in a table.
into a single program, allowing the use of separately Control and Measuring Software: A program designed to
written code modules in the final program. interface with sensors and allow a computer or
Device driver: Software that enables hardware devices to microprocessor to measure physical quantities and
communicate with a computer's operating system, control applications by comparing sensor data with
without which a device like a printer would be unable to stored data and altering process parameters accordingly.
work. Apps: Software designed to run on mobile phones or
Operating system: Software that manages basic tablets, downloaded from an "App Store" and ranging
computer functions such as input/output operations, from games to sophisticated software such as phone
program loading and running, and security management, banking. Common examples include video and music
making computers more user-friendly. streaming, GPS, and camera facilities.
Utility programs: Software that manages, maintains, and Photo and Video Editing Software: Software that allows
controls computer resources by carrying out specific users to manipulate digital photographs or videos,
tasks, such as virus checking, disk repair and analysis, file including changing colour, brightness, and contrast,
management, and security. applying filters and other enhancements, and creating
transitions between clips.
Application Software: Graphics Manipulation Software: Software that allows
the manipulation of bitmap and vector images, with
bitmap graphics editors changing pixels to produce a
different image, while vector graphics editors manipulate
lines, curves, and text to alter the stored image as
required.
Interrupts
An interrupt is a signal sent to the microprocessor, either
from a device or software, prompting the microprocessor to
pause its ongoing tasks and handle the interrupt
temporarily. Various factors can trigger interrupts, including:
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
Timing signals: Scheduled signals prompt the Virus checkers or anti-virus software are important for
microprocessor to pause and handle tasks at specific protecting computers from malware.
intervals. They should be kept up to date and run in the
Input/Output processes: Events such as a disk drive or background to maintain their effectiveness.
printer requiring additional data cause an interruption in Anti-virus software checks files before they are run or
the microprocessor's activities. loaded and compares possible viruses against a
Hardware faults: Issues like a paper jam in a printer, database of known viruses.
signalling the microprocessor to halt its operations and Heuristic checking is used to identify possible viruses
address the hardware problem. that are not yet on the database.
User interaction: Instances like a user pressing specific Infected files are put into quarantine for automatic
keys on a keyboard (e.g., ), leading to an interrupt in the deletion or for the user to decide.
system's operation. Anti-virus software must be updated as new viruses are
Software errors: Problems such as missing .exe files constantly discovered.
needed to initiate a program, conflicts like two processes Full system scans should be carried out regularly to
accessing the exact memory location, or attempts to detect dormant viruses.
divide by zero. These errors trigger interrupts, prompting
the microprocessor to handle the issues. Disk Defragmentation Software
Defragmentation software rearranges the data blocks on
a hard disk drive (HDD) to store files in contiguous
sectors, reducing head movements and improving data
access time.
As an HDD becomes full, blocks used for files become
scattered all over the disk surface, making it slower to
Source: Cambridge IGCSE and O Level Computer retrieve data as the HDD read-write head needs several
Science - Second Edition (Hodder Education) movements to find the data.
When a file is deleted or extended, new data does not fill
the vacant sectors immediately, causing the files to
3.9. Utility Software become more scattered throughout the disk surfaces.
A disk defragmenter rearranges the data blocks to store
Computer users have access to utility programs as part
files in contiguous sectors wherever possible, allowing
of system software
for faster data access and retrieval.
Utility programs can be initiated by the user or run in the
The defragmentation process can free up previously
background without user input
occupied sectors and empty some tracks.
Common utility programs include virus checkers,
defragmentation software, disk analysis and repair tools, Backup Software
file compression and management software, backup
software, security tools, and screensavers. Backup software is a utility software that helps create
and manage backup copies of data files and programs.
Virus Checkers & Anti-Virus Software Manual backups using memory sticks or portable hard
drives are good practices, but operating system backup
utilities are also recommended.
Backup utilities allow scheduling backups and only
backup files if changes have been made to them.
There could be three file versions for total security: the
current version stored on the internal HDD/SSD, a locally
backed-up copy on a portable SSD, and a remote backup
on cloud storage.
Security Software
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
Security software is a utility software that manages Operating Systems are designed to establish
access control, user accounts, and links to other utilities communication between the user and the computer
such as virus and spyware checkers. Functions of a typical operating system -
It also protects network interfaces using firewalls to -managing files
prevent unauthorized access. – handling interrupts
Security software uses encryption and decryption to – providing an interface
ensure intercepted data is unreadable without a – managing peripherals and drivers
decryption key. – managing memory
It oversees software updates to verify legitimate sources – managing multitasking
and prevent malicious software from being installed. – providing a platform for running applications
Access control and user accounts use IDs and passwords – providing system security
to secure user data and prevent unauthorized access. – managing user accounts
WIMP - Windows, Icons, Menu, and Pointing Devices
Screensavers
Advantages and Disadvantages of CLI and GUI
Screensavers display moving and still images on the
monitor screen after computer inactivity.
They were originally developed to protect CRT monitors
from 'phosphor burn'.
Screensavers are now mostly used for customizing a
device and as a part of computer security systems.
They automatically log out of the user after a certain
period of inactivity.
Some screensavers activate useful background tasks like
virus scans and distributed computing applications.
Device Drivers
Device drivers translate data into a format that can be Source: Cambridge IGCSE and O Level Computer Science -
understood by the hardware device they are associated Second Edition (Hodder Education)
with.
Without the appropriate device driver, a hardware device Memory Management - Manages the RAM and the
cannot work with a computer and may not be recognised HDD/SSD during the execution of programs
by the operating system. Security Management - Providing security features such
USB device drivers contain descriptors, which include a as Anti-Virus, System updates and so on
vendor ID (VID), product ID (PID) and unique serial Hardware Peripheral Management - Managing the device
number that allow the operating system to identify the drives, Inputs, Outputs, Queues and buffers
device. File Management - Opening, Creating, Deleting,
Serial numbers must be unique to avoid confusion if two Renaming, and many more functions
devices with the same serial number are plugged into a Multitasking - OS would share the hardware resources
computer simultaneously. with each of the processes
Management of User Accounts - OS would allow multiple
users to customise their accounts individually.
3.10. Operating Systems
Running of Applications
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
Compiler Interpreter Assembler Internet World Wide Web (WWW)
Translates a high- Executes a high-level Translates a low- Uses transmission protocols
Collection of webpages and
level language language program level assembly such as TCP and IP (Internet
other information on websites
program into one statement at a language program Protocols)
machine code. time. into machine code. Allows the user to
Uses HTTP(S) protocols that are
An executable file of No executable file of An executable file of communicate with other users
written using Hypertext Mark-
machine code is machine code is machine code is via chat, email, calling and
up Language (HTML)
produced. produced. produced. more
One high-level Worldwide Collection of URLs (Uniform Resource
One high-level language program One low-level Interconnected Networks and Locator) are used for the
language statement statement may language statement Devices location of the web pages
can be translated require several is usually translated Web browsers can access web
into several machine machine code into one machine pages.
code instructions. instructions to be code instruction.
executed.
Uniform Resource Locator (URLs)
Interpreted Assembled
Compiled programs
programs cannot be programs are used
are run without the
run without the without the
URLs are used to locate and access web pages. The
compiler. typical format of URLs is -
interpreter. assembler.
An interpreter is An assembled protocol://website address/path/file name
A compiled program
often used when a program is usually
is usually distributed
program is being distributed for The protocol would usually be HTTP or HTTPS
for general use.
developed. general use.
The website address would contain -
domain host (www)
Source: Cambridge IGCSE and O Level Computer
domain name (website name)
Science - Second Edition (Hodder Education)
domain type (.com, .org, .net, .gov) or sometimes
country codes (.uk, .in, .cy)
Integrated Development Environments (IDEs)
The path would usually become the file directory roots.
An IDE would usually have these features - for example, https://www.znotes.com/computer-science
Code Editor The /computer-science is the file name
Translator
Debugger HTTP and HTTPS
Error Reports
HTTP stands for Hypertext Transfer Protocol, and HTTPS
Auto-Completion and Auto-Correction
stands for Hypertext Transfer Protocol secure
Auto-Documenter
They are safety protocols maintained while transmitting
Pretty Printing
data.
Cookies
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
Hacking
The attacker installs a malicious code on the computer,
The act of gaining illegal access to a computer system which redirects the user to fake websites
Effect: Effect:
This leads to identity theft, gaining personal The user gives out login details and other personal
information details
Data can be deleted, changed or corrupted To remove risk:
To remove risk: Using anti-virus software
Firewalls Checking the spelling and the weblink carefully
Strong passwords/ user IDs Make sure that the green padlock is present in the
Use of anti-hacking software URL bar
Difference between hacking and cracking
Hacking breaks into computer systems to steal data Social Engineering
Cracking is when someone edits a program code, Attackers create a social situation which leads to victims
malicious giving out their details (For example - Spam calls
Malware informing them that their account has been hacked)
Stands for Malicious Software. A few examples are - Keeping data safe from threats
Virus - A program that can replicate itself with the
intention of deleting or corrupting files, causing a Access Levels - Having Different levels of access for
computer malfunction different people (for example - Only doctors can have
Ransomware - Attackers encrypt the user’s data until access to patient’s data)
a certain amount of money is paid Antivirus - Protects user’s computer from malware
Adware - Displays unwanted ads on the user’s screen attacks
Trojan Horse - Programs that are disguised as Authentication - User proving who they are. The most
legitimate software common methods are passwords, PINs, Mobiles (OTPs),
Spyware - Sends data about all the activities of the biometrics and more)
user to the attacker
Worms - Programs that can replicate themselves with Benefits and Drawbacks of Biometric Method
the intention of corrupting the entire network instead
of the computer alone
Phishing
Pharming
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
Biometric
Benefits Drawbacks
Methods
Most development
Intrusive as used to
5. Automated and Emerging
Fingerprint
methods are very easy
to use and require
identify criminals,
Can’t be used if the
Technologies
Scans very low storage space
finger gets dirty or
to store the biometric
data.
damaged (e.g. cuts)
5.1. Automated Systems
With very high It is very intrusive,
accuracy, it Impossible Takes longer to verify, Automated Systems are a combination of software and
Retina Scan
to replicate a person’s Expensive to install hardware designed to function without human
retina and set up intervention.
Can’t identify if there Process of Automated Systems
Face Non-intrusive method, are any changes in the Sensors take inputs, and they are sent to the
Recognition Relatively cheaper lighting, change in age
microprocessor. The data is usually analogue, so it
or person’s age.
has to go through Analogue-to-Digital Converter
Voices can be
recorded and used for (ADC)
verification, but low The microprocessor processes the data and makes
Non-Intrusive method, the necessary decisions based on its program
accuracy and illnesses
Voice verification is done
such as colds or The actions are then executed by the actuators
Recognition quickly and relatively
coughs can affect a (Motors, wheels and so on)
cheaper
person’s voice, making
identification Advantages and Disadvantages of Automated Systems
impossible. Advantages Disadvantages
Expensive to set up and
Two-Step Verification - Requires two methods of Faster and Safer
maintain
authentication to prove who the user is Any changes can be identified Any computerised systems are
Automatic Software Updates - Latest updates contain quickly prone to attacks
patches which improve device security Over-reliance on automated
Spelling and Tone - Fake emails tend to have wrong Less Expensive in the long run systems may cause humans to
spelling and grammar (amazonn instead of amazon), and lose skills
the tone would also seem urgent Higher Productivity and
Firewalls - Hardware or Software which monitors the Efficiency
traffic between a network and the user’s computer
Proxy Servers - Acts as an intermediate between the You should be able to describe the advantages and
user’s computer and the web server. They are used for - disadvantages of an automated system used for a given
Filtering Internet traffic scenario.
Keeping the user’s IP Address Confidential Including scenarios from:
Blocking access to certain websites
Attacks like DDoS and Hacking attack the proxy industry
server, keeping the web server safe. transport
Acts as a firewall as well. agriculture
weather
Privacy Settings - Used to limit who can access and see a
user’s profile gaming
SSL (Secure Socket Layer) - Set of rules used while lighting
communicating with other users on the internet. science
5.2. Robotics
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE COMPUTER SCIENCE
Robotics is the branch of computer science that AI is the branch of computer science that simulates
combines robot design, construction and operation. intelligent human behaviour.
Isaac Asimov’s Laws of Robotics - Types of AI -
A robot may not injure a human through action or Narrow AI - A machine has superior performance to a
inaction human when doing one specific task
A robot must obey orders given by humans unless it General AI - A machine is similar to a human when
comes into conflict with Law 1 doing one specific task
a robot must protect itself unless this conflicts with Strong AI - Machine has superior performance to a
law 1. human in many tasks
Characteristics of a robot - Characteristics of AI -
Ability to sense their surroundings Collection of Data and Rules
Have a degree of movement Ability to Reason
Programmable Ability to learn and adapt
WWW.ZNOTES.ORG Copyright © 2024 ZNotes Education & Foundation. All Rights Reserved. This document is
authorised for personal use only by Shubh at APL GLobal on 03/12/24.
CAIE IGCSE
Computer Science
© ZNotes Education Ltd. & ZNotes Foundation 2024. All rights reserved.
This version was created by Shubh on Tue Dec 03 2024 for strictly personal use only.
These notes have been created by Abdullah Aamir, Abhiram Mydi and Shriram Srinivas for the 2023-2025 syllabus.
The document contains images and excerpts of text from educational resources available on the internet and printed books.
If you are the owner of such media, test or visual, utilized in this document and do not accept its usage then we urge you to contact us
and we would immediately replace said media. No part of this document may be copied or re-uploaded to another website.
Under no conditions may this document be distributed under the name of false author(s) or sold for financial gain.
"ZNotes" and the ZNotes logo are trademarks of ZNotes Education Limited (registration UK00003478331).