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

Computer Fundamentals and PC Software

Comprehensive exam revision notes for BCA-101N Unit 2 (Overview of Operating Systems, DOS & Windows Management). Includes Section A (2M), Section B (5M), and Section C (15M) questions, answers, and diagrams.

Computer Fundamentals and PC Software

Overview of Operating Systems, DOS & Windows Management

Core Definitions & Key Concepts

An Operating System and its primary purpose

An Operating System (OS) is system software that acts as an intermediary interface between computer hardware and the user, managing hardware resources (CPU, memory, storage, I/O) and providing a platform for application programs.

Multitasking and Multiprocessing

Multitasking: Single CPU rapidly switches between multiple processes via time-sharing (concurrent execution). Multiprocessing: System contains two or more physical CPUs executing multiple processes simultaneously (parallel execution).

Cold Booting vs Warm Booting

Cold Booting (Hard Boot): Starting a computer from a completely powered-off state via power button; runs full Power-On Self-Test (POST). Warm Booting (Soft Boot): Restarting an already running computer (Ctrl+Alt+Del) without turning off electrical power, skipping initial POST.

What are the three core system files required to boot MS-DOS

  1. IO.SYS (Hardware interface routines)
  2. MSDOS.SYS (DOS kernel and file management routines)
  3. COMMAND.COM (Command interpreter / shell).

DOS Internal and External commands

Internal Commands: Built directly into COMMAND.COM, permanently resident in RAM, execute instantly (e.g., DIR, CLS, COPY, DEL, MD, CD). External Commands: Stored as separate executable files (.COM, .EXE) on disk, loaded into RAM only when invoked (e.g., FORMAT, CHKDSK, XCOPY, DISKCOPY).

What is the function of the DOS ATTRIB command

Displays or changes file attributes: Read-Only (+R/-R), Hidden (+H/-H), System (+S/-S), and Archive (+A/-A). Syntax: ATTRIB +R filename.txt.

What is the File Allocation Table (FAT)

A file system architecture used by DOS and Windows that maintains a table mapping physical disk clusters to logical files and directories.

What is a Computer Virus? List two prevention measures

A computer virus is a malicious self-replicating program designed to corrupt data, degrade performance, or compromise security. Prevention: install reputable Antivirus software with live definitions and avoid opening unverified email attachments.

What is the Windows Recycle Bin

A temporary holding directory where deleted files from local hard drives are stored, allowing accidental deletions to be restored until the bin is permanently emptied.

What is the function of the Windows Task Manager

An administrative utility providing real-time telemetry on CPU, memory, disk, and network usage, and allowing users to monitor, prioritize, or terminate running processes.

Conceptual & Architectural Analysis

The major functions performed by an Operating System

  1. Processor / Process Management: CPU scheduling, creating, suspending, and terminating processes.
  2. Memory Management: Allocating and deallocating RAM, tracking used memory blocks, paging and virtual memory.
  3. File Management: Organizing files and directories, managing access permissions, read/write operations.
  4. Device / I/O Management: Coordinating hardware peripherals via device drivers and interrupt handlers.
  5. Security & Protection: User authentication, password verification, preventing unauthorized access.

The classification of Operating Systems with examples

  1. Batch OS: Jobs submitted on punch cards grouped into batches (e.g. IBM OS/360).
  2. Time-Sharing OS: Allocates small CPU time slices (quantum) to multiple interactive users (e.g. Unix).
  3. Real-Time OS (RTOS): Guarantees strict deterministic execution deadlines (Hard RTOS: pacemaker; Soft RTOS: video streaming).
  4. Distributed OS: Manages a cluster of independent networked computers appearing as a single unified system.
  5. Single-User vs Multi-User OS: Single-user (MS-DOS, early Windows); Multi-user (Linux, Unix, Windows Server).

The MS-DOS Booting Process step by step

  1. Power On & CPU Reset: CPU jumps to BIOS ROM entry point.
  2. POST (Power-On Self-Test): Tests CPU, RAM, keyboard, and storage controllers.
  3. Master Boot Record (MBR): BIOS loads MBR from sector 0 of boot disk into RAM.
  4. Boot Sector Execution: MBR locates active boot partition and loads its Boot Sector.
  5. Loading IO.SYS & MSDOS.SYS: DOS kernel files loaded into low memory.
  6. Executing CONFIG.SYS: Loads hardware device drivers.
  7. Executing COMMAND.COM: Loads command interpreter.
  8. Executing AUTOEXEC.BAT: Runs startup batch scripts, then displays command prompt (C:\>).

Five important DOS Internal and five External commands with syntax

Internal Commands:

  1. DIR [drive:][path] [/P] [/W] - Lists files and subdirectories.
  2. MD [drive:]path - Makes a new directory.
  3. CD [drive:]path - Changes current working directory.
  4. COPY source destination - Copies files.
  5. DEL filename - Deletes specified files.

External Commands:

  1. CHKDSK [drive:] [/F] - Checks disk integrity and displays memory status.
  2. FORMAT drive: [/Q] - Formats a disk drive for use.
  3. XCOPY source target [/S] - Extended copy of directories and subdirectories.
  4. DISKCOPY drive1: drive2: - Copies entire floppy/disk sector-by-sector.
  5. TREE [drive:] [/F] - Graphically displays directory structure.

The core components of the Windows GUI environment

  • Desktop: Primary working screen with wallpaper, shortcuts, and recycle bin.
  • Taskbar: Bottom bar showing Start button, running application tabs, notification area, and clock.
  • File Explorer: Visual hierarchical file and directory browser.
  • Control Panel / Settings: Central administrative configuration for hardware, accounts, and network.
  • Windows Accessories: Built-in utilities (Notepad, Calculator, Paint, Snipping Tool).

In-Depth Analysis & Implementation

Operating System Types: Batch, Time-sharing, Real-time (Hard vs Soft), and Multiprogramming systems

1. Batch Operating Systems

  • Mechanism: Jobs with similar requirements collected, batched together, and processed sequentially without human user intervention.
  • Advantages: Maximizes machine utilization; minimal CPU idle time between jobs.
  • Disadvantages: Zero interactive feedback; long turnaround time; debugging is exceptionally difficult.

2. Multiprogramming Systems

  • Mechanism: Multiple programs held in main memory simultaneously. When current running job blocks for I/O, CPU switches immediately to another ready job.
  • Key Metric: Dramatically increases CPU utilization percentage.

3. Time-Sharing (Multitasking) Systems

  • Mechanism: Extends multiprogramming by employing CPU scheduling (Round Robin) with rapid fixed time slices (e.g. 10–50 ms). Switch happens so fast that users experience interactive concurrency.

4. Real-Time Operating Systems (RTOS)

  • Definition: Systems where correctness depends not only on logical output, but strictly on meeting absolute time deadlines.
  • Hard RTOS: Missing a deadline results in catastrophic system failure (e.g. Anti-lock Braking Systems ABS, missile guidance, pacemaker).
  • Soft RTOS: Missing a deadline degrades service quality but does not cause total catastrophe (e.g. audio/video streaming, VoIP).

The Physical and Logical Structure of a Magnetic Disk, DOS FAT Architecture, and Directory Structure in detail

1. Physical Disk Geometry

  • Platters & Surfaces: Disk consists of magnetic platters coated with iron oxide rotating at 5400–7200 RPM.
  • Tracks: Concentric circular rings on each platter surface.
  • Sectors: Radial subdivisions of a track, conventionally holding 512 bytes of raw data.
  • Cylinder: Set of all matched tracks across all platter surfaces at a single head position.
  • Cluster (Allocation Unit): Smallest logical unit of disk space allocated to a file, consisting of 2, 4, 8, or more contiguous sectors.

2. Logical Organization of a DOS Disk

System Architecture / Concept DiagramHorizontal Scroll Enabled
+-------------+-------------+-------------+-------------+------------------+
| Boot Sector |   FAT 1     | FAT 2 (Copy)| Root Direct.| Data Area (Files)|
| (1 sector)  | (Tables)    | (Backup)    | (Directory) | (Rest of disk)   |
+-------------+-------------+-------------+-------------+------------------+
  • Boot Sector: Contains partition bootstrap loader and BIOS Parameter Block (BPB).
  • FAT 1 & FAT 2: Linked-list table where each entry corresponds to a cluster. Entries contain: cluster in use, next cluster in chain, End-of-File marker (EOF), or Bad Sector marker (BAD). FAT 2 is a mirror backup.
  • Root Directory: Fixed-size directory storing 32-byte file directory entries (Filename, Extension, File Attributes, Creation Time, Date, Starting Cluster, File Size).
  • Data Area: Stores actual file contents across allocated clusters.

Computer Malware: Classification of Viruses, Infection Mechanisms, Life Cycle, and Antivirus Defense Strategies

1. Classification of Computer Malware

  • Boot Sector Viruses: Overwrite disk Master Boot Record (MBR) or boot sector, loading into RAM before the OS boots (e.g. Michelangelo, Brain).
  • File Infector Viruses: Attach code to executable binaries (.EXE, .COM). Execute malicious code whenever host program is launched.
  • Macro Viruses: Written in macro languages (VBA), embedded inside MS-Word or Excel documents.
  • Polymorphic Viruses: Mutate their binary encryption signature with every infection, evading simple string antivirus scanners.
  • Worms: Standalone programs that replicate across computer networks without needing a host file (e.g. Morris Worm, Conficker).
  • Trojan Horses: Masquerade as legitimate utility programs while installing hidden backdoors.

2. Infection and Replication Life Cycle

  1. Dormant Phase: Virus remains idle, waiting for trigger date or event.
  2. Propagation Phase: Copies itself into target files, boot sectors, or network sockets.
  3. Triggering Phase: Predetermined condition is satisfied (e.g. specific calendar date).
  4. Execution Phase: Delivers destructive payload (data encryption, file wiping, ransomware lock).

3. Antivirus Detection Techniques

  • Signature-Based Scanning: Compares file bytes against known database of virus hash signatures.
  • Heuristic Analysis: Analyzes code for suspicious instruction patterns (e.g. modifying system boot records).
  • Behavioral Monitoring / Sandboxing: Executes untrusted files in an isolated virtual container to observe suspicious real-time behavior.

Important Exam Points & Quick Revision

In BCA-101N Unit 2, questions on DOS Internal vs External commands and the difference between Multitasking, Multiprocessing, and Multiprogramming are guaranteed in Section B and C. Memorize 5 commands of each type with proper syntax.

Your reading progress
0%

100% left on this page — finishing it closes the gap for Overview of Operating Systems, DOS & Windows Management.

Weak topic hint

Overview of Operating Systems, DOS & Windows Management 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.