Notes on Computer Science
Web Dev · Algorithms · Data Structures · Pseudocode
Dinğazı Qwat Jaïlawulı
Prepared for Paper 3 ⋅ 2026-05-13
PHP · MySQL · JavaScript · HTML · CSS · Pseudocode · Algorithms · Data Structures
Notes · CS Paper 3
Contents
2
1 Notes I took for information security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Information security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.1 Firewall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3 Encryption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.1 Types of encryption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
4 Back Ups/Disk Mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4.1 3-2-1 backup rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
5 Biometrics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
6 something . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Notes · CS Paper 3
1 Notes I took for information security
Information security
⦿ Data protection measures
⦿ Methods of information systems protection
⦿ Methods of intellectual property protection
Creating documentation
⦿ Making a text document
⦿ Formatting text documents
⦿ Using resources to check for plagiarism
2 Information security
Privacy, Security and Integrity of the data
Nouns:
⦿ risk
⦿ security
⦿ privacy
⦿ integrity
⦿ firewall
⦿ proxy-server
⦿ inter-network screen (Firewall)
⦿ threats
⦿ data
⦿ network
⦿ traffic
⦿ access
Verbs:
⦿ damage
⦿ threat
⦿ lose
⦿ prevent
⦿ hack
⦿ filter
⦿ block
⦿ retrieve
⦿ restore
3
Notes · CS Paper 3
4
⦿ send
⦿ receive
⦿ protect
Advectives:
⦿ secure
⦿ private
⦿ physical
⦿ internal
⦿ external
⦿ unauthorized
Phrases:
⦿ data loss
⦿ physical risk
⦿ filter traffic
⦿ internal damage
⦿ external damage
⦿ data security
⦿ data integrity
⦿ data privacy
⦿ unauthorized access
⦿ security measures
⦿ network security
Data privacy is a group of security measures taken against unauthorized access
to data.
Data security are the security measures that prevent damage
The Insider Threat Internal personnel, often with legitmate access, who misuse their
privileges or unintentionlly compromise the system
The Outsider Threat External individuals trying to gain unauthorized physical
access to facilities or equipment for malicious purposes.
The “Innocent” Personal Item Everyday items like USB drives, mobile phones, or
even smartwatches can inadvertently introduce malware or steal data.
Poor Nonessential Screening Lack of rigorous background checks, visitor logs, or
security protocols allows vulnerabilities to persist unchecked.
Notes · CS Paper 3
5
2.1 Firewall
Core Terms:
⦿ Firewall
⦿ Packet
⦿ Port
⦿ Protocol
Advanced terminology:
⦿ Packet filtering
⦿ Stateful inspection
⦿ Demilitarised zone (DMZ)
⦿ Access control list (ACL)
⦿ Proxy server
⦿ TLS
⦿ SSL
⦿ OSI Model
⦿ FTP
Types of firewalls:
⦿ Hardware
☉ Dedicated appliance with it’s own resources
☉ Higher performance and reliability
☉ Protects all devices on the network
☉ More expensive but enterprise-grade security
⦿ Software
☉ Installed on individual devices
☉ Something something something
Firewall filtering techniques:
⦿ Packet filtering
⦿ Stateful inspection
⦿ Application-level gateway
Proxy requests flow: Client Computer -> Proxy Server -> External Internal Server
-> Persponse via Proxy
Firewall rules and configuration
⦿ Allow rules (Might need to remember port numbers and protocols)
⦿ Deny rules
⦿ Rule priority
Notes · CS Paper 3
6
Advantages of firewall
⦿ Unauthorised access prevention
⦿ Traffic monitoring
⦿ Something something something
Limitations of firewall
⦿ Internal threats
⦿ Encrypted traffic
⦿ User behavior
⦿ Zero-day exploits
1. HTTP, HTTPS, SMTP, POP3
2. Deny rules: social media, browser games, steam/game shops
3. Allow rules:
3 Encryption
3.1 Types of encryption
⦿ Symmetric: we use same key for encrypting and decrypting information
⦿ Asymmetric: we use different keys for encrypting (public key) and decrypt­
ing (private key) information
Keywords:
⦿ Encryption
⦿ Ciphertext
⦿ Plaintext
⦿ GDPR
⦿ Hipaa
⦿ pci dss
⦿ Kazakhstan laws (e.g. “On Informatization”)
Common asymmetric algorithms:
⦿ RSA
☉ RSA is used in Kazakhstan for digital signatures (Check out how this
thing works)
☉ SSL/TLS is used in HTTPS
☉ GPG/PGP encryption
⦿ ECC
☉ Mobile devices
☉ Bitcoin and cryptocurrency
Notes · CS Paper 3
☉ Modern TLS algorithms
⦿ ElGamal
Common symmetric algorithms
⦿ AES
⦿ DES
⦿ 3DES
Hybrid encryption
⦿ Customer personal data -> Symmetric encryption
⦿ Credit card information for payments -> Hybrid encryption
⦿ Order histories -> Symmetric encryption
⦿ Communication between customers and support staff -> Hybrid (SSL/TLS)
encryption
Common encryption vulnerabilities:
⦿ Weak passwords
⦿ Poor key management
⦿ Outdated algorithms
⦿ Implementation flaws
⦿ Man-in-the-middle attack
⦿ Social attacks
Standards and laws:
⦿ HIPAA
⦿ Kazakhstan law “On Information”
Digital signatures
4 Back Ups/Disk Mirroring
Key terms:
⦿ Data backup
⦿ Disk mirroring
⦿ Encryption
⦿ Access control
⦿ Incremental backup
⦿ Redundancy
Protection tech:
⦿ Security of computer system
7
Notes · CS Paper 3
8
☉ User account management
☉ Firewalls
☉ Authentification techniques
∗ Password
∗ Biometric authentification
∗ Digital signature
⦿ Security of data
☉ Backup
☉ Disk-mirroring
☉ Encryption
Types of backup:
⦿ Full backup Complete copy of all data
☉ Slowest but most comprehensive
☉ Easiest restore
☉ Large storage requirement
⦿ Incremental backup Only changed data since the last backup
☉ Fastest backup process
☉ Minimal storage needed
☉ Slower restoration
⦿ Differential backup Changed data since the last full backup
☉ Moderate speed
☉ Balance of time and storage
☉ Faster restoration than incremental
4.1 3-2-1 backup rule
⦿ 3 Copies of Data
⦿ 2 Different Media Types
⦿ 1 Copy Off-Site
Advantages of data backup:
⦿ Recovery of the data
⦿ The system is less prone to some of the attacks like wipeware or ransomware
attacks
⦿ Business continuity
⦿ Compliance: Helps meet regulatory requirements for data retention and
protection
⦿ Peace of mind
Disadvantages of data backup:
Notes · CS Paper 3
9
⦿ More costly
⦿ Requires resources like large storage and maintenance
⦿ Vulnerable to localised disasters if the data is backed up locally or attacks on
the cloud service if the data is not stored on the cloud
⦿ May take a lot of time
⦿ Complexity: Managing defferent backup types
⦿ Security risk: Backups can become a target for cybercriminals
Advantages of Disk Mirroring
⦿ High data reliability – All data is duplicated on another disk, providing strong
protection against disk failure.
⦿ Fast data recovery – If one disk fails, the system can instantly switch to the
mirrored disk with minimal downtime.
⦿ Improved read performance – In some setups, read operations can be split
between disks, slightly improving speed.
⦿ Simple recovery process – Restoring data from the mirrored disk is straight­
forward since the data is already up to date.
⦿ Data consistency – The mirrored copy always reflects the current state of
the primary disk.
Disadvantages of Disk Mirroring
⦿ High cost – Requires twice the disk capacity (one full disk for each mirror).
⦿ No write performance improvement – Writes must occur on both disks,
which can slightly reduce write speed.
⦿ Not a substitute for backups – Protects against hardware failure, but not
against file corruption or accidental deletion.
⦿ Hardware dependency – If implemented in hardware, failure of the RAID
controller may cause data access issues.
⦿ Limited scalability – Only provides redundancy; does not increase storage
capacity or offer advanced features like striping.
PowerCert Animated Videos
RAID setups (parity stuff)
5 Biometrics
Fingerprint Recognititon Facial Recognititon Iris Scanning Voice Recognition Be­
havioural Biometrics
Adv:
Notes · CS Paper 3
⦿ Can not be forgotten like apasswords
⦿ Difficult to forge or steal
⦿ Convenient for users
⦿ Provides audit trails
Disadv:
⦿ Privacy concerns over storing biological data
⦿ Expensive to implement
⦿ False positives/negatives possible
⦿ Can not be changed if compromised
⦿ May not work for all users (injuries, disabilities)
6 something
10