Caie Igcse Computer Science 0478 Theory v2
Caie Igcse Computer Science 0478 Theory v2
ORG
CAIE IGCSE
COMPUTER
SCIENCE (0478)
SUMMARIZED NOTES ON THE SYLLABUS
CAIE IGCSE COMPUTER SCIENCE (0478)
Examples:
defining colours in Hypertext Markup Language
1. Data Representation (HTML)
Media Access Control (MAC) addresses
Assembly languages and machine code
1.1. Binary Systems
Debugging
The binary system is based on the number 2
Memory Dumps
Made up of 1s and 0s
Use of binary numbers in computer systems Hexadecimal is used when developing new software or
when trying to trace errors
Converting Binary to Denary
Memory dump is when the memory contents are output
To calculate a binary number like, 10101000, place it in to a printer, monitor.
columns of
base 2 numbers
Assembly code and machine code (low level languages)
Then add all the base 2 numbers
Computer memory is machine code/ assembly code
128 64 32 16 8 4 2 1 Using hexadecimal makes it easier, faster, less error
1 0 1 0 1 0 0 0 prone to write code compared to binary.
Using machine code (binary) takes a long time to key in
128 + 32 + 8 = 168 values and prone to errors
Example use of binary When data is sent to another device, this data is sent back
again to
the sender
A register is a group of bits, often depicted as:
The sender compares the two sets to check if any errors
10010111 occurred
Robotics Not reliable
Digital instrument
Counting systems
1.5. Hexadecimal
1.3. Use of the Hexadecimal System Closely related to the binary system
WWW.ZNOTES.ORG
CAIE IGCSE COMPUTER SCIENCE (0478)
8 4 2 1 8 4 2 1 MP3
0 1 1 0 1 1 0 0
Uses technology known as Audio Compression to convert
music and
other sounds into an MP3 file format
01101100
This compression reduces the normal file size by 90%
Converting Denary to Hexadecimal Done using file compression algorithms which use
Perceptual
Music Shaping
WWW.ZNOTES.ORG
CAIE IGCSE COMPUTER SCIENCE (0478)
WWW.ZNOTES.ORG
CAIE IGCSE COMPUTER SCIENCE (0478)
Program that can replicate itself with the intention of MAC address refers to a number which uniquely identifies
deleting or
corrupting files, cause computer malfunction a device on
the internet
Effect: Refers to the network interface card (NIC) which is part of
Can cause computer to crash the
device
Can delete or corrupt files/data Usually made up of 48 bits shown as six groups of
To remove risk: hexadecimal digits
Install anti-virus software NN:NN:NN:DD:DD:DD
Don’t use software from unknown sources (NN:NN:NN) first half is the identity number of the
Be careful when opening emails from unknown manufacturer
of the device
(DD:DD:DD) second half is the serial number of the
Wardriving: device
Types of MAC Address:
The act of locating and using wireless internet
Universally Administrated MAC Address (UAA)
connections
illegally
Locally Administrated MAC Address (LAA)
Effects:
UAA is the most common type set by the
Possible to steal internet time
manufacturer
Possible to hack into wireless network and steal user’s
Reasons to change MAC address using LAA
password
To ensure they follow the correct formula
To remove risk:
To bypass MAC address filter on a router or a firewall
Use complex passwords
To get past certain types of network restrictions
Firewalls
Web addresses
Spyware:
Each character on the keyboard has its own ASCII code
Software that gathers info by monitoring key presses on
Can be represented using hexadecimal or decimal values
the user’s
keyboard and info is sent back
Hexadecimal addresses are used in the address of files or
Effects:
webpages
as a security figure
Access to all data entered
Takes longer to type in URL but advantage is that you are
Software is able to install other spyware, read cookie
unlikely
to fall into the trap of copying a fake website
data
To remove risk: Cookies
Use of anti-spyware software
Use a mouse to select characters from passwords A packet of information sent by a web server to a web
rather than typing them browser
Generated each time the user visits the website
2.6. Internet Principles of Operation Every time a user visits a website, cookies will have
collected some
key information about the user
Internet Service Provider: These are companies/providers They are able to carry out user tracking and maintain user
that provide user with access to the internet preferences
Cookies are pieces of data
Internet Protocol (IP) Address Information gathered by cookies doesn’t contain personal
information
Each device on the internet is given a unique address
known as the
IP address
32-bit number written in the form: 109.108.158.1 3. Hardware & Software
IP address gives the location of a device on the internet
whereas
the MAC address identifies the device connected
to the internet 3.1. Logic Gates
IP address changes, MAC address remains unchanged
Logic Gates: use one or more inputs and produces a
HTML (HyperText Mark-up Language) single
logical output
WWW.ZNOTES.ORG
CAIE IGCSE COMPUTER SCIENCE (0478)
A B Output
0 0 0 3.2. Computer Architecture & Fetch-
0 1 1
Execute Cycle
1 0 1
1 1 1 Computer Architecture
0 0 0 Three-dimensional Scanners
0 1 1
WWW.ZNOTES.ORG
CAIE IGCSE COMPUTER SCIENCE (0478)
3D scanners can scan solid objects and produce a three- Prone to errors
dimensional
image
Scanners take images at several points, x, y and z (lasers, Pointing devices
magnetic, white light)
Mouse/trackball
The scanned images can be used in Computer Aided
Traditional; mechanical ball, connected by USB port
Design (CAD) or
to a 3D printer to produce a working
Modern type; red LEDs to detect movement
model
Microphones
Application of 2D Scanners at an Airport:
Used to input sound to a computer
Make use of (OCR) to produce digital images which
When a microphone picks up sound, a diaphragm vibrates
represent the
passport pages
producing an
electric signal
Text can be stored in ASCII format
The signal goes to a sound card and is converted into
The 2D photograph in the passport is also scanned and
digital values
and stored in computer
stored as jpeg
image
Voice recognition, voice is detected and converted into
The passenger’s face is also photographed using a digital
digital
camera and
compared using face recognition software
Key parts of the face are compared (distance between Touchscreens
eyes, width of
nose)
Capacitive (medium cost tech)
Barcode readers/scanners Made up of many layers of glass
Creating electric fields between glass plates in layers
A barcode is a series of dark and light parallel lines of
When top layer of glass is touched, electric current
varying
thicknesses
changes
The numbers 0 -9 are each represented by a unique
Co-ordinates where the screen was touched is
series of lines
determined by an
on-board microprocessor
The left and right hand sides of the barcode are separate
Infra-red heat (expensive)
using
guard bars
Use glass as the screen material
Allows barcode to be scanned in any direction
Needs warm object to carry an input operation
Barcode is read by a red laser or red LED
Infra-red optical (expensive)
Light is reflected back off the barcode; dark areas
Uses glass as screen material
reflect
little light which allows the bars to be read
Uses an array of sensors (grid form)
Reflected light is read by sensors (photoelectric cells)
Point of contact is based on which grid co-ordinate is
Pattern is generated which is converted to digital
touched
Quick Response (QR) Codes Resistive (inexpensive)
Upper layer of polyester, bottom layer of glass
Another type of barcode is the QR codes When the top polyester is touched, the top layer and
Made up of a matrix of filled in dark squares on a light bottom
layer complete a circuit
background Signals are then sent out which are interpreted by a
Can hold more storage (7000 digits) microprocessor, determine where screen was
Advantages of QR codes: touched
No need for the user to write down website address
QR codes can store website addresses Sensors
WWW.ZNOTES.ORG
CAIE IGCSE COMPUTER SCIENCE (0478)
WWW.ZNOTES.ORG
CAIE IGCSE COMPUTER SCIENCE (0478)
Finally, the image passes through the projector lens onto CD/DVD Disks
the screen
Laser (red) light is used to read and write data in the
surface of
the disk
3.5. Memory, Storage Devices & Media Use a thin layer of metal alloy to store data
Both systems use a single, spiral track which runs from
Primary Memory:
the centre
of the disk to the edge
Random Access Memory (RAM)
DVD uses Dual-Layering which increases the storage
Features of RAM capacity (two
individual recoding layers)
Volatile/temporary memory (contents lost if RAM is
Blu-ray Disks
turned off)
Used to store; data, files Uses blue laser to carry out read and write operations
It can be written to or read from and the contents from Wavelength of laser light is less than CD and DVD (stores
the
memory can be changed up to five
times more data than DVD)
Larger the size of the RAM, faster the computer will Automatically come with secure encryption (prevent
operate piracy and
copyright infringement)
RAM never runs out of memory, continues to run slow Used as back-up systems
As RAM becomes full, the processor has to continually
access the
hard drive to overwrite old data on RAM with USB Flash Memories
new data
Very small, lightweight suitable from transferring files
Read Only Memory (ROM) Small back-up devices for photo, music
Solid state so need to be treated with care
Features of ROM
Non-volatile/permanent memories (contents remain
3.6. High- & Low-Level Languages
even when ROM
is turned off)
Used to store start up instruction (basic input/output
High-Level Languages
systems)
Data/contents of a ROM chip can only be read, cannot Easier to read and understand as the language is closer
be changed to human
language
Easier to write in shorter time
Secondary Storage:
Easier to debug at the development stage
Hard Disk Drives (HDD)
Easier to maintain once in use
Data is stored in a digital format on the magnetic surface
Low-Level Languages
of the
disks (platter)
Number of read/write heads can access all of the Refer to machine code
surfaces of the
disk Binary instructions that computer understands
Each platter will have two surfaces which can be used to
store the
data Translators:
Data is stored on the surfaces in sectors and tracks
A program must be translated into binary before a
HDD have very slow data access compared to RAM
computer can use
it
Solid-State Drive (SSD) Types of translators; Compiler, Interpreter and Assembler
No moving parts and all data is received at the same time Compiler
(not like
HDD)
Translates a program written in high-level language into
Store data by controlling the movement of electrons
machine
code
within NAND
chips, as 1s and 0s
Used without compiler
Non-volatile rewritable memory
Executable file of machine code produced
Benefits of using SSD rather than HDD:
One high-level language translated into several machine
More reliable (no moving parts)
code
instructions
Considerably lighter (suitable for laptops)
Used for general use
Lower power consumption
Run much cooler than HDDs Interpreter
Very thin
Data access is faster than HDD Executes a high-language program a statement at a time
Drawback – questionable longevity (20GB per day) No executable file of machine code produced
One high-level language program statement may require
Off-Line Storage: several
machine code instructions to be executed
WWW.ZNOTES.ORG
CAIE IGCSE COMPUTER SCIENCE (0478)
Cannot be used without interpreter Type of protocol that allows data to be sent and received
Used when program is being developed securely
over the internet
When a user logs onto a website, SSL encrypts the data
Assembler https or padlock in the status bar
When user wants to access a secure website:
Translates a low-level language program into machine
User’s web browser sends a message so it can
code
connect with
required website which is secured by SSL
Executable file of machine code produced
Web browser requests that the web server identifies
One low-level language translated into one machine code
itself
instructions
Web server responds by sending a copy of its SSL
Can be used without assembler
certificate
Used for general use
Web browser checks if certificate is authentic
Syntax Errors: Sends signal back to web browser
Starts to transmit data once connection is established
When program is being compiled, if any syntax errors are If not secure, browser will display an open padlock
found no
translated program is produced
Instead, a list of all errors in program is produced Transport Layer Security (TLS)
Programmer corrects program and recompiles
Form of protocol that ensures the security and privacy of
When a program is being interpreted, the interpreter
data
between devices and users when communicating
preforms the
action until syntax error is found
over the internet
The programmer is then alerted to the place in the
Designed to provide encryption, authentication and data
program where
error was found
integrity in
a more effective way than SSL
The error is corrected and interpretation continues
Possible to extend TLS by adding new authentication
methods
4. Security
4.4. Encryption
Need to keep data safe from accidental damage,
including corruption
and human errors Used to protect data in case it has been hacked
Need to keep data safe from malicious actions, including Doesn’t prevent hacking, makes data meaningless
unauthorised viewing, deleting, copying and corruption
Symmetric Encryption
4.2. Firewalls & Proxy Servers A secret key which can be a combination of characters
If this key is applied to a message, its contents is changed
A firewall sits between the user’s computer and an One key is needed to encrypt a message and another key
external
network (internet) and filter information in and is needed to
decrypt a message
out of the computer Increasing the length of the key increases the strength of
Tasks carried out by firewall: the
encryption
Examining ‘traffic’
Checking weather incoming or outgoing data meets Plain text and Cypher Text
criteria
Plain text is the normal representation of data before it
If data fails the criteria, the firewall blocks ‘traffic’
goes
through an encryption algorithm
Firewall can keep a list of all undesirable IP addresses
Cypher text is the output from an encryption algorithm
Helping to prevent viruses or hackers entering the
user’s
computer Authentication
Proxy servers act as an intermediary between the user
and a web
server Authentication is used to verify that data come from a
Functions of proxy servers: trusted
source
Allowing the internet ‘traffic’ to be filtered Works with encryption to strengthen internet security
By using cache, they can speed up access to Passwords: usually a user id/name and password are
information from a
website used to log on to
systems
Keeping the user’s IP address secret Digital Signatures: public key encryption; ensure an
Acting as a firewall electronic
document is authentic
Biometrics: relies on the unique characteristics of human
4.3. Security Protocols beings
(fingerprint scans, retina scans)
WWW.ZNOTES.ORG
CAIE IGCSE COMPUTER SCIENCE (0478)
Pharming
5.2. Types of Softwares
Malicious code installed on a user’s hard drive or on the
web
server, code will redirect the user to a fake website Free Software
Effect:
Creator of malicious code can gain personal data; Software source code can be freely accessed and
bank account modified as required
Can lead to fraud or identity theft Run, copy, change or adapt free software (e.g. Scribus,
To remove risk: Abiword)
Some anti-spyware can identify and remove pharming Possible to distribute modified versions of software to
code from
hard drive friends and
family
User should be alert
Freeware
Denial of Service Attacks (DoS)
A software a user can download from the internet free of
An attempt at preventing users from accessing part of a charge
network Once it has been downloaded, there are no fees
Usually temporary but may be damaging associated (e.g.
Adobe, Skype)
Attacker me be able to prevent user from: Subject to all copyright laws
Accessing their emails User is not allowed to study, modify code
Accessing websites
Shareware
Accessing online services
All the features of the full version of software are not
4.6. Applications made
available; full version needs to be purchased first
Subject to all copyright laws
Ways bank protect their costumers from online fraud Permission needs to be obtained before software is
Banks use 10/12-digit code unique to the costumer copied and given
to friends or family
May be asked to input three random numbers from a
four-digit PIN
Some use a hand-held device into which a customer
inserts their
card. Device will generate an eight-digit
code which the
customer types into web page
WWW.ZNOTES.ORG
CAIE IGCSE
Computer Science (0478)