ICS 2101: Computer Organization - Complete Notes
ICS 2101: Computer Organization - Complete Notes
Course Overview:
1. Processor Architectures:
- RISC (Reduced Instruction Set): Small, fast instructions for high-speed execution.
- CISC (Complex Instruction Set): Larger, more complex instructions to reduce code size.
2. Memory Organization:
- ROM & External Storage: Non-volatile memory (e.g., hard drives, SSDs, optical disks).
3. System Buses:
- Address Bus (location information), Data Bus (data transfer), Control Bus (commands and
signals).
6. Digital Logic:
- Architecture: Programmer-visible attributes like instruction sets, data types, and I/O mechanisms.
hardware).
2. Functions of a Computer:
- Buses: Data Bus, Address Bus, and Control Bus for communication.
4. System Layers:
- Digital Logic Layer: Boolean operations and logic gates to implement instructions.
- Operating System Layer: Manages resources, schedules tasks, and interfaces with users.
- Application Layer: Programs interacting with the OS (e.g., word processors, games).
Chapter 2: System Buses
1. Bus Types:
- Control Bus: Sends control signals (e.g., Read, Write) to manage operations.
2. Bus Arbitration:
3. Bus Timing:
4. Interrupts:
- Types:
1. Memory Hierarchy:
- Hard Drives & SSDs: Large, non-volatile storage for programs and data.
2. Cache Memory:
- Replacement Policies:
- FIFO (First In, First Out): Replaces the oldest cached data.
- LRU (Least Recently Used): Replaces the least recently used data.
- LFU (Least Frequently Used): Replaces the least frequently accessed data.
3. Access Methods:
- Random Access: Data can be accessed directly by its address (e.g., RAM).
- RAID 5: Parity distributed across drives for balance between speed and redundancy.
- Optical Media (e.g., CDs, DVDs): Store data permanently using lasers; read-only or rewritable.
- Magnetic Tapes: Sequential access, used for large-scale backups and storage.
Chapter 5: Input/Output (I/O)
1. I/O Methods:
- Programmed I/O: CPU directly manages I/O operations; inefficient for slow devices.
- Interrupt-Driven I/O: CPU performs other tasks while waiting for I/O to complete.
- DMA (Direct Memory Access): Devices transfer data to/from memory without CPU intervention.
2. Peripherals:
1. OS Functions:
2. OS Modes:
1. Instruction Format:
2. Addressing Modes:
1. Features:
2. Challenges:
1. Types:
- NUMA (Non-Uniform Memory Access): Memory access time varies depending on the processor.
2. Benefits:
1. Boolean Algebra:
- Sequential Circuits: Output depends on current and past inputs (e.g., Flip-Flops, Counters).
3. Truth Tables:
4. Simplification Techniques: