Skip to content
Unit 1 Syllabus Note· Computer Fundamentals and PC Software

Computer Fundamentals and PC Software

Comprehensive exam revision notes for BCA-101N Unit 1 (Computers Evolution, Architecture, Memory & Software Types). Includes Section A (2M), Section B (5M), and Section C (15M) questions, answers, and diagrams.

Computer Fundamentals and PC Software

Computers Evolution, Architecture, Memory & Software Types

Core Definitions & Key Concepts

A Computer and state the GIGO principle

A computer is an electronic device that processes raw data into meaningful information according to programmed instructions. GIGO (Garbage In, Garbage Out) means the accuracy of output strictly depends on the accuracy of input data; erroneous inputs produce erroneous outputs.

What is the stored program concept in Von Neumann Architecture

Proposed by John von Neumann in 1945, instructions and data share the same physical memory and are fetched sequentially over a common bus by the CPU for execution.

SRAM and DRAM

SRAM (Static RAM): Uses flip-flops, requires no refreshing, faster, more expensive, used for CPU Cache. DRAM (Dynamic RAM): Uses capacitors, requires periodic electrical refreshing, slower, economical, used for Main Memory.

What is the role of Program Counter (PC) and Instruction Register (IR)

PC: Holds the memory address of the next instruction to fetch. IR: Stores the opcode of the instruction currently being decoded and executed.

Compiler and Interpreter

Compiler: Translates full source code into standalone machine object code (.exe) in one batch pass. Interpreter: Translates and executes source code line-by-line, stopping immediately at the first error.

What is Firmware? Give two examples

Firmware is low-level software permanently etched into non-volatile hardware memory (ROM/Flash). Examples: Motherboard BIOS/UEFI, HDD controller microcode.

Cache Memory

Cache memory is high-speed semiconductor SRAM placed between CPU and RAM to store frequently accessed data and reduce memory latency.

Name the four phases of the Machine Instruction Cycle

  1. Fetch (retrieve from RAM into IR)
  2. Decode (interpret opcode)
  3. Execute (perform ALU or branch operation)
  4. Store/Writeback (save result into register or memory).

Freeware, Shareware, and Open Source Software

Freeware: Proprietary software free of charge without source code. Shareware: Free trial version requiring purchase after evaluation period. Open Source (FOSS): Source code available freely to modify, inspect, and share under licenses like GPL/MIT.

What is the difference between Primary and Secondary Memory

Primary memory (RAM/ROM) is volatile, directly addressable by CPU, high-speed, limited capacity. Secondary memory (SSD/HDD) is non-volatile, high-capacity, low-cost per GB, but accessed via I/O buses with higher latency.

Conceptual & Architectural Analysis

The five generations of computers highlighting switching technologies and programming languages

  1. 1st Gen (1940-56): Vacuum tubes, magnetic drums, Machine Language, high heat, room-sized (ENIAC, UNIVAC).
  2. 2nd Gen (1956-63): Transistors, magnetic core, Assembly & early High-Level Languages (FORTRAN, COBOL), smaller, reliable.
  3. 3rd Gen (1964-71): Integrated Circuits (ICs), keyboards, monitors, early OS (IBM 360).
  4. 4th Gen (1971-Present): Microprocessors (VLSI/ULSI), personal computers, GUI, Internet, multi-core CPUs.
  5. 5th Gen (Present & Beyond): Artificial Intelligence, parallel processing, quantum computing, natural language processing.

Draw and explain the functional block diagram of a digital computer

System Architecture / Concept DiagramHorizontal Scroll Enabled
+----------------------- CPU -------------------------+
|  +--------------------+      +--------------------+ |
|  | Control Unit (CU)  |<---->|     ALU            | |
|  +--------------------+      +--------------------+ |
|            ^                            ^           |
|            +-------> Registers <--------+           |
+--------------------------^--------------------------+
                           | System Bus
+------------+     +-------v--------+     +-------------+
| Input Unit |---->| Primary Memory |---->| Output Unit |
+------------+     +-------^--------+     +-------------+
                           | I/O Bus
                   +-------v--------+
                   | Secondary Mem  |
                   +----------------+
  • Input Unit: Converts input data into binary.
  • CPU (CU + ALU + Registers): Decodes instructions, performs arithmetic/logic, and coordinates timing.
  • Primary Memory: Holds active programs and variables.
  • Secondary Storage: Persistent storage for OS, files, and programs.
  • Output Unit: Translates binary results back into human-readable format.

Illustrate the Computer Memory Hierarchy

CODE
1 /\ Registers (fastest, smallest, expensive)
2 / \ L1, L2, L3 Cache (SRAM)
3 /----\ Main Memory (DRAM / RAM)
4 / \ Solid State Drives (SSD / Flash)
5 /--------\ Hard Disk Drives (HDD)
6 /----------\ Offline Backup (Tape, Optical Discs)

As we move downwards: capacity expands, access time increases, and cost per megabyte decreases.

The classification of Software with a neat tree diagram

Software is split into:

  1. System Software: Controls hardware directly (OS: Windows/Linux; Translators: Compilers/Assemblers; Drivers; Utilities: Antivirus/Defrag).
  2. Application Software: Solves user tasks (General Purpose: MS-Office, Browsers; Tailor-Made: Banking ERP, Billing Systems).

An Algorithm and state Donald Knuth's five criteria of a good algorithm

An algorithm is a finite sequence of unambiguous instructions solving a problem. Criteria:

  1. Input: Zero or more inputs.
  2. Output: At least one result.
  3. Definiteness: Unambiguous instructions.
  4. Finiteness: Terminates after finite steps.
  5. Effectiveness: Feasible and basic operations.

In-Depth Analysis & Implementation

The internal architecture of the CPU, the register array, and the complete instruction execution cycle with timing diagrams

The CPU consists of:

  1. Arithmetic Logic Unit (ALU): Performs arithmetic (+, -, *, /) and logic (AND, OR, NOT, comparisons). Sets condition flags (Zero Z, Sign S, Carry C, Overflow V).
  2. Control Unit (CU): Directs operation flow. Either hardwired (fixed logic gates) or microprogrammed (control store ROM).
  3. Registers:
  • PC (Program Counter): Next instruction address.
  • MAR (Memory Address Register): Holds memory bus address.
  • MBR/MDR (Memory Buffer/Data Register): Holds fetched data/instruction.
  • IR (Instruction Register): Holds current opcode being decoded.
  • Accumulator (AC): Holds temporary ALU operands and results.
  1. Instruction Cycle: Fetch -> Decode -> Execute -> Store -> Check Interrupts.
  • Fetch: MAR <- PC; MBR <- M[MAR]; IR <- MBR; PC <- PC + 1.
  • Decode: Decoder deciphers opcode.
  • Execute: ALU runs operation.
  • Writeback: Results saved to registers/memory.

Classify Computer Systems by processing power, architecture, and purpose (Micro, Mini, Mainframe, Supercomputer)

Comprehensive classification:

  1. Microcomputers: Desktop, laptop, tablet based on a single microprocessor. Personal computing, office work.
  2. Minicomputers: Midrange multi-user systems supporting 10–100 terminals for departmental applications.
  3. Mainframes: Fault-tolerant, massive I/O bandwidth machines processing millions of online transactions in banking, airlines, and insurance.
  4. Supercomputers: Thousands of clustered processors achieving PetaFLOPS/ExaFLOPS for weather forecasting, molecular modeling, and defense simulations.

Also classified by operational technology into Digital (discrete binary), Analog (continuous physical voltage), and Hybrid (combining both, e.g. ICU monitors).

Discuss Language Translators: Compare Assemblers, Compilers, and Interpreters in detail with the complete 5-stage compilation pipeline

  1. Assembler: Translates Assembly language mnemonics (MOV, ADD) directly into machine code.
  2. Compiler: Scans complete high-level source code, produces an optimized standalone object/binary executable (.obj/.exe).
  3. Interpreter: Interprets and executes line-by-line in real time (e.g. Python runtime).

The 5-Stage Compilation Pipeline:

  • Preprocessor: Expands macros (#define), includes headers (#include), strips comments.
  • Compiler: Performs Lexical analysis, Syntax parsing (AST), Semantic analysis, and Code Generation (emits .s assembly).
  • Assembler: Converts assembly to relocatable object code (.obj).
  • Linker: Combines object files with runtime libraries (libc) to form an executable (.exe).
  • Loader: Allocates RAM, initializes stack and heap, and jumps to entry point main().

Important Exam Points & Quick Revision

Examiners in BCA-101N Unit 1 always test the differences between: Compiler vs Interpreter, SRAM vs DRAM, and the block diagram of a digital computer. Draw clean labeled block diagrams for full marks.

Your reading progress
0%

100% left on this page — finishing it closes the gap for Computers Evolution, Architecture, Memory & Software Types.

Weak topic hint

Computers Evolution, Architecture, Memory & Software Types still counts as a weak topic until you finish this note and answer its questions.

Practise this unit
What Should You Do Next?

Test Your Understanding

Now that you've read through these notes, practice unit MCQs to identify weak points and solidify your learning before exams.