What is a Computer?; Computer System Components; Booting Process
What is a Computer?; Computer System Components; Booting Process
What is a Computer?
Definition
A Computer is a machine/hardware which does different tasks for the user efficiently and
effectively.
From a hardware perspective, a computer efficiently performs:
- Input — accepting data
-
Processing — transforming data
- Storage — saving data
- Output — presenting
results
- Communication — networking
Classic 5 (now 6) Components of a Computer
Since the 1940s, computers have had 5 classic components:
1. Input Devices — Keyboard, mouse, scanner, camera, microphone
2. Output Devices —
Display (monitor), printer, speakers
3. Storage Devices:
- Volatile memory: RAM,
DRAM, SRAM
- Permanent storage: Magnetic disks, Optical disks, Flash drives (SSD)
4.
Data Path (ALU) — Arithmetic and Logic Unit; performs computations
5. Control (ROM)
— Stores firmware/BIOS; controls hardware initialization
Together, Datapath and Control are called the PROCESSOR (CPU)
6th component (modern addition):
6. Network — Essential component for communication
in any computer system; connects computers globally
Block Diagram of a Computer
```
+----------------------+
Input ------> | +---------+ | ------> Output
Devices | | CPU | Memory | Devices
(Keyboard, | | | ALU | (RAM) |
Mouse) | | | Control | |
+------> Network
```
Von Neumann Architecture
The fundamental computer architecture (Von Neumann model):
```
+----------+ +----------+ +----------+
+----------+ | Control) | +----------+
+----+-----+
+----+-----+
+----------+
+----+-----+
+----------+
```
Von Neumann Bottleneck: CPU is faster than memory access → limits performance.
Computer System Components
2.1 Hardware
Hardware provides basic computing resources:
- CPU — processor for computations
-
Memory — RAM for active data
- I/O Devices — keyboard, monitor, printer
-
Communication — NIC for networking
2.2 Operating System
Operating System controls and coordinates the use of hardware among various application
programs for various users.
2.3 System & Application Programs
Ways in which system resources are used to solve computing problems:
- System Programs:
Compiler, assembler, linker, loader
- Application Programs: Word processors, browsers,
games, database systems
2.4 Users
Users can be:
- People — human users interacting via keyboard, mouse, voice
-
Machines — automated systems, robots
- Other computers — servers, client-server
interactions
Booting Process
What Happens When We Start a Computer?
Problem: Hardware doesn't know where the operating system resides and how to load it.
Solution: Bootstrap Program
Bootstrap Program
- The initial program to run a system
- Responsible for **locating and loading the OS
Kernel** into main memory
- Stored in ROM (Read-Only Memory) — specifically in
BIOS/UEFI chip
- BIOS = Basic Input/Output System
Bootstrap Program Tasks:
- Initialize the system from CPU registers, device controllers and memory controllers
- Loads the OS kernel from a bootable device/partition
- A
bootable device contains a special program called the "bootstrap loader" in its **first
sector (boot sector)**
Bootable devices:
- Hard disk drive (HDD)
- Solid state drive (SSD)
- Pen drive (USB)
-
CD/DVD
Booting Process Steps
```
Step 1: Power On → CPU starts executing from fixed ROM address (BIOS/UEFI)
Step 2: POST (Power-On Self-Test) → hardware check (RAM, CPU, keyboard)
Step 3: BIOS/UEFI finds bootable device (using boot priority order)
Step 4: Bootstrap Loader in boot sector is loaded into RAM
Step 5: Bootstrap Loader loads OS Kernel from disk to RAM
Step 6: Kernel initializes the system (processes, drivers, filesystem)
Step 7: System is ready → login prompt (or desktop)
```
BIOS vs UEFI
Types of Booting
Continue full topic on App →Practice MCQs (20)
1. What is the purpose of the booting process?
- A. Initialize hardware and load the operating system into memory
- B. Disconnect every input device
- C. Convert user documents into machine code
- D. Delete all files from storage
2. From computer fundamentals, A 32-bit processor can directly address how much main memory (assuming byte-addressable)?
- A. 1 GB
- B. 2 GB
- C. 16 GB
- D. 4 GB
3. Choose the most accurate concept: A computer is called a digital system mainly because it:
- A. works only on decimal numbers
- B. operates without memory
- C. represents and processes data in discrete binary form
- D. can be used only for calculations
4. Select the correct computer-fundamentals answer: Which of the following is a type of malicious software?
- A. Cache
- B. Compiler
- C. Worm
- D. Spreadsheet
5. From computer fundamentals, What does EEPROM stand for? Choose the correct option.
- A. Extended Erasable Program Register Output Memory
- B. Electrically Erasable Programmable Read-Only Memory
- C. Electronically Enabled Programmable Random-Only Memory
- D. Electrical Erased Primary ROM
6. From computer fundamentals, Printer speed is commonly measured in: Select the right option.
- A. PPM
- B. BPS
- C. RPM
- D. DPI per second
7. Select the correct computer-fundamentals answer: Printer speed is commonly measured in:
- A. BPS
- B. DPI per second
- C. PPM
- D. RPM
8. Choose the correct technical answer: Which of the following is a type of malicious software? Select the right option.
- A. Worm
- B. Cache
- C. Compiler
- D. Spreadsheet
9. Select the correct computer-fundamentals answer: USB stands for:
- A. Universal Serial Bus
- B. Unified System Bridge
- C. Universal Storage Block
- D. User Service Buffer
10. Which term best matches this description: MBR (max 2TB); GPT (>2TB).
- A. Hardware
- B. Partition table
- C. Bootstrap Program
- D. BIOS/UEFI chip
11. In What is a Computer?; Computer System Components; Booting Process, which description correctly explains Warm Boot (Soft Boot)?
- A. Keyboard, mouse, scanner, camera, microphone 2. Output Devices —.
- B. Restarting without power-off (Ctrl+Alt+Del in Windows).
- C. Operating System controls and coordinates the use of hardware among various application.
- D. The fundamental computer architecture (Von Neumann model).
12. Which term best matches this description: Arithmetic and Logic Unit; performs computations.
- A. Operating System
- B. Hardware
- C. System & Application Programs
- D. Data Path (ALU)
13. In What is a Computer?; Computer System Components; Booting Process, which description correctly explains BIOS/UEFI chip?
- A. Operating System controls and coordinates the use of hardware among various application.
- B. The fundamental computer architecture (Von Neumann model).
- C. BIOS = Basic Input/Output System.
- D. Step 1: Power On → CPU starts executing from fixed ROM address (BIOS/UEFI).
14. In What is a Computer?; Computer System Components; Booting Process, which description correctly explains Permanent storage?
- A. Magnetic disks, Optical disks, Flash drives (SSD).
- B. The fundamental computer architecture (Von Neumann model).
- C. Ways in which system resources are used to solve computing problems.
- D. Kernel into main memory BIOS/UEFI chip.
15. Which term best matches this description: The fundamental computer architecture (Von Neumann model).
- A. Operating System
- B. Booting Process Steps
- C. BIOS/UEFI chip
- D. Von Neumann Architecture
16. In What is a Computer?; Computer System Components; Booting Process, which description correctly explains Hardware?
- A. BIOS = Basic Input/Output System.
- B. Magnetic disks, Optical disks, Flash drives (SSD).
- C. Hardware provides basic computing resources.
- D. Operating System controls and coordinates the use of hardware among various application.
17. Which term best matches this description: Operating System controls and coordinates the use of hardware among various application.
- A. Von Neumann Architecture
- B. Operating System
- C. Bootstrap Program
- D. Partition table
18. In What is a Computer?; Computer System Components; Booting Process, which description correctly explains System & Application Programs?
- A. Keyboard, mouse, scanner, camera, microphone 2. Output Devices —.
- B. MBR (max 2TB); GPT (>2TB).
- C. Step 1: Power On → CPU starts executing from fixed ROM address (BIOS/UEFI).
- D. Ways in which system resources are used to solve computing problems.
19. Which small program, stored in the BIOS/UEFI firmware, starts the boot process so that the operating system kernel is loaded into main memory?
- A. Permanent storage
- B. Bootstrap program
- C. Device driver
- D. Partition table
20. In What is a Computer?; Computer System Components; Booting Process, which description correctly explains Booting Process Steps?
- A. Operating System controls and coordinates the use of hardware among various application.
- B. Restarting without power-off (Ctrl+Alt+Del in Windows).
- C. BIOS = Basic Input/Output System.
- D. Step 1: Power On → CPU starts executing from fixed ROM address (BIOS/UEFI).