Download Computer science Exam study guide 2026. and more Summaries Advanced Education in PDF only on Docsity!
⢠COMPUTER SCIENCE EXAM STUDY GUIDE 2026.
1. Computer System Architecture
Central Processing Unit (CPU)
The CPU is the brain of the computer. It processes all instructions and data.
Components of the CPU
- Arithmetic Logic Unit (ALU) o Performs arithmetic operations (addition, subtraction, multiplication, division) o Performs logical operations (AND, OR, NOT)
- Control Unit (CU) o Coordinates all activities inside the CPU. o Controls the execution of instructions.
- Registers o Very small, high-speed memory locations inside the CPU.
Important Registers
Register Function Memory Address Register (MAR) Holds the address of data or instructions being accessed. Memory Data Register (MDR) Stores the actual data or instruction being transferred. Accumulator Stores intermediate results from calculations. Program Counter (PC) Holds the address of the next instruction to execute.
Fetch-Decode-Execute (FDE) Cycle
Every instruction follows these three stages:
1. Fetch
- CPU retrieves the next instruction from main memory.
2. Decode
- CPU interprets the instruction.
3. Execute
- CPU carries out the instruction.
Clock Speed
- Determines how fast the CPU performs the FDE cycle.
- Measured in Hertz (Hz) or Gigahertz (GHz). Factors affecting CPU performance:
- Clock speed
- Number of cores
- Cache memory
2. Memory
Volatile Memory
- Loses data when power is turned off. Example:
- RAM
Non-Volatile Memory
- Retains data without power.
3. Storage Devices
Optical Storage
Examples:
Advantages
Disadvantages
- Slow
- Limited capacity
- Data degrades over time
Magnetic Storage
Example:
Advantages
- Large storage
- Low cost
- Fast access
Disadvantages
Solid State Storage Examples:
- SSD
- USB Flash Drive
- SD Card
Advantages
- Fast
- Lightweight
- Quiet
- Portable
Disadvantages
- Expensive
- Limited write cycles Cloud Storage Data stored on remote servers.
Advantages
- Accessible anywhere
- Secure
- No physical storage required
Disadvantages
- Requires internet
- Speed depends on connection
- Less control over stored data
Command Line Interface (CLI)
Uses text commands entered by the user. Advantages:
- Faster for experts
- Uses fewer resources Disadvantages:
- Difficult to learn
6. Utility Software
Software used to maintain computers.
Defragmentation Software
Reorganizes fragmented files on hard drives.
Backup Software
Full Backup
Copies every file.
Incremental Backup
Copies only changed or newly created files.
Compression Software
Reduces file size. Types:
Encryption Software
Converts readable data into coded form to prevent unauthorized access.
7. Software Types
Open Source Software
Source code is freely available.
Advantages
- Free
- Can be modified
- Community support
Disadvantages
- May contain bugs
- Limited customer support
Proprietary Software
Source code is not publicly available.
Advantages
- Reliable
- Professional support
- Well tested
Wide Area Network (WAN)
Connects computers over large geographical areas. Example
Bandwidth
The amount of data that can be transferred over a network in a given time. Higher bandwidth means:
- Faster downloads
- Better video streaming
- Improved communication
2. Networking Devices
Network Interface Card (NIC)
Allows a computer to connect to a network.
Switch
Connects devices together on a LAN. Functions:
- Receives data
- Sends data to the correct device
Router
Connects different networks together. Functions:
- Directs packets between networks
- Connects LAN to the Internet
Ethernet
A standard for connecting computers using cables. Advantages:
3. Network Types
Client-Server Network
A dedicated server provides services to clients.
Advantages
- Centralized storage
- Better security
- Easier backups
Disadvantages
- Expensive
- Requires maintenance
- Server failure affects users
Mesh Topology
Every device connects directly to every other device.
Advantages
- Very reliable
- Fast communication
Disadvantages
- Expensive
- Difficult to install
5. MAC Address
A MAC Address is:
- Permanently assigned
- Unique for every device
- Cannot normally be changed Purpose:
- Identifies the physical device.
6. IP Address
An IP Address identifies the location of a device on a network. Can be:
- Assigned manually
- Assigned automatically (DHCP) Purpose:
- Allows devices to communicate over networks.
7. Packet Switching
Large files are divided into small packets before transmission.
Process
- Data is split into packets.
- Each packet is numbered.
- Routers determine the best route.
- Packets travel independently.
- Destination device reassembles packets. Advantages:
- Efficient
- Reliable
- Multiple routes available
8. TCP/IP
Transmission Control Protocol/Internet Protocol. A set of communication rules used by devices on a network. Functions:
- Packet delivery
- Error checking
- Reliable communication
IMAP (Internet Message Access Protocol)
Retrieves emails while keeping them on the server. Advantages:
- Synchronizes multiple devices
SMTP (Simple Mail Transfer Protocol)
Used to:
- Send emails
- Transfer emails between mail servers
10. Network Layers
Using layers makes networking easier to manage. Advantages:
- Easier troubleshooting
- Independent development
- Easier upgrades
Application Layer
Converts data into forms applications can use.
Transport Layer
- Splits data into packets.
- Controls data flow.
Network Layer
Routes packets between networks.
Data Link Layer
Transfers data over the physical network.
11. Domain Name System (DNS)
Converts: Website Name â IP Address Example: www.google.com â 142.xxx.xxx.xxx Without DNS, users would have to remember IP addresses.
12. Virtual Network
A software-based network created from physical hardware. Advantages:
- Flexible
- Easier management
- Better resource utilization