NotesB.Sc ITComputer System Architecture
BSIT301/BSBC204

Computer System Architecture Notes

Program:B.Sc IT
Semester:Semester 3
Credits:4
Units:4 Units

Subject Overview

Computer System Architecture covers computer organization fundamentals (Von Neumann architecture, Flynn's classification), basic computer instructions and control unit design, I/O organization and data transfer techniques, and stack/memory organization including cache mapping techniques. A 4-credit core theory paper.

Unit-wise Syllabus

4 units — open any unit for detailed topic-wise notes, diagrams and important exam questions

  • Computer organization/design/architecture
  • stored program concept
  • Von Neumann architecture
  • Flynn's classification (SISD/SIMD/MIMD)
  • register transfer language
  • micro-operations (logic, shift, arithmetic)
  • common bus system and data movement
ClassificationFlynn's classification
Computer architectures
  • SISD

    Single instruction, single data: classic uniprocessor

  • SIMD

    Single instruction, multiple data: GPUs, vector processors

  • MISD

    Multiple instruction, single data: rare

  • MIMD

    Multiple instruction, multiple data: multicore systems

Study guide

This unit introduces organisation, design and architecture, the stored-program concept, the Von Neumann architecture, Flynn's classification (SISD, SIMD, MIMD), register transfer language, micro-operations (logic, shift, arithmetic) and the common bus system. Learn Flynn's four categories with an example for each.

Read Unit 1 notes
  • Instruction types (memory/I/O/register reference)
  • instruction cycle
  • instruction formats
  • interrupt and interrupt cycle
  • hardwired and micro-programmed control units
  • addressing modes
CycleThe instruction cycle
The instruction cycle
1Fetch
2Decode
3Fetch operands
4Execute
5Check interrupts
  1. 1. Fetch: Get instruction from memory
  2. 2. Decode: Work out what it means
  3. 3. Fetch operands: Get the data needed
  4. 4. Execute: Carry out the operation
  5. 5. Check interrupts: Handle if pending

Study guide

You study instruction types, the instruction cycle, instruction formats, interrupts, hardwired and micro-programmed control units and addressing modes. Memorise the addressing modes with a small example of each.

Read Unit 2 notes
  • I/O interface unit
  • port types
  • I/O bus
  • isolated vs memory-mapped I/O
  • programmed I/O
  • interrupt-initiated I/O
  • DMA controller and IOP
  • synchronous and asynchronous data transfer
  • strobe and handshaking
ComparisonModes of data transfer
How it works
CPU involvement

Programmed I/O

CPU keeps checking the device

High: busy waiting

Interrupt-driven I/O

Device signals when ready

Medium

DMA

Controller moves data directly to memory

Low: CPU only sets it up

Study guide

You study the I/O interface, ports, the I/O bus, isolated versus memory-mapped I/O, programmed and interrupt-driven I/O, DMA and IOP and synchronous and asynchronous transfer with strobe and handshaking. Compare programmed I/O, interrupt-driven I/O and DMA.

Read Unit 3 notes
  • Memory and register stack
  • memory hierarchy
  • RAM/ROM chips
  • logical/physical addresses
  • associative memory
  • cache memory initialization/writing/locality of reference/hit ratio
  • replacement algorithms (LRU, FIFO)
  • direct/associative/set-associative mapping
  • Harvard architecture
  • mobile device architectures
ComparisonCache mapping techniques
How a block is placed
Trade-off

Direct

Exactly one possible line

Simple but more conflicts

Associative

Any line

Flexible but costly to search

Set-associative

Any line within one set

Balance of both

Study guide

You study stack organisation, memory hierarchy, RAM and ROM chips, logical and physical addresses, associative memory, cache memory (locality of reference, hit ratio, replacement algorithms, mapping), the Harvard architecture and mobile device architectures. Practise a cache mapping and hit ratio problem.

Read Unit 4 notes

Why Computer System Architecture Matters

Computer architecture explains how hardware executes your code, which helps you write faster programs, understand performance and prepare for technical interviews and competitive exams.

How to Prepare for Computer System Architecture

  • Learn the instruction cycle and the three cache mapping techniques with diagrams.
  • Prepare a comparison of Von Neumann and Harvard architecture.
  • Practise hit ratio and effective access time numericals.

Computer System Architecture: Frequently Asked Questions

What is cache memory?

Cache is a small, fast memory between the CPU and main memory that stores frequently used data to reduce access time.

What is DMA?

Direct memory access lets an I/O device transfer data to or from memory without constant CPU involvement.

Want the Complete Notes & Past Papers?

WhatsApp us and we'll send you the full notes, question banks, and previous year papers for Computer System Architecture.