BCA /Core Science

Specialisation II

Advanced Topics · free study notes

BCA Core Science – Specialisation II

(Operating Systems & Computer Networks – Beginner Friendly Notes)


1. What is a Computer?

A computer is like a busy office – it has people (processes), rooms (memory), a mailroom (file system), and a manager (operating system).
The Specialisation II course teaches how the manager keeps the office running smoothly and how the office talks to other offices (networks).


2. Operating System (OS) – The Office Manager

OS Job Everyday Analogy Tiny Example
Process Management The manager schedules which employee works on which desk. A printer job waits for the previous job to finish.
Memory Management The manager decides which employee gets which cubicle. A program uses 512 KB of RAM while another uses 256 KB.
File System The manager keeps a filing cabinet. You save “Report.docx” in “Documents”.
Device Management The manager hands out tools to employees. A USB drive is plugged in → OS gives it a drive letter.
Security & Protection The manager locks rooms and checks IDs. Only you can open “Secret.txt”.

2.1 Process Management

  • Process = a running program (like a worker).
  • Scheduler decides who gets the CPU (desk) next.
  • Context Switch = handing the desk to another worker.

Tiny Example
Three jobs arrive: A (5 sec), B (3 sec), C (1 sec).
Round‑Robin scheduler gives 1 sec each → finish order: C, B, A.

2.2 Memory Management

  • Physical Memory = real desks.
  • Virtual Memory = pretend desks; the manager shows you a desk even if it’s not physically there (paging).
  • Paging moves blocks of data between desk and storage (hard‑disk).

Tiny Example
Your program needs 1 MB, but only 512 KB is free → OS swaps out part of another program to free space.

2.3 File System

  • Files = documents.
  • Directories = folders (like mailboxes).
  • File System Types (FAT, NTFS, ext4) decide how the manager stores and protects documents.

Tiny Example
You navigate: C:\Users\Me\Documents\Report.docx.

2.4 Device Management

  • Drivers = translators for devices.
  • Interrupts = a phone call telling the manager a device needs attention.

Tiny Example
You plug in a keyboard → the OS loads a keyboard driver and gives you a “keyboard” device.

2.5 Security & Protection

  • User IDs & Passwords = ID cards.
  • Permissions = “Only you may open this file”.

Tiny Example
You open a file → OS checks your permissions → allows or blocks.


3. Computer Networks – The Office Mail System

Network Layer Everyday Analogy Tiny Example
Physical The wires and cables (roads). Ethernet cable connects two computers.
Data Link The mail carrier who writes the address on the envelope. A MAC address tells which computer on a LAN owns the packet.
Network The postal system routing the mail to the city. IP routing finds the destination IP address.
Transport The postal service ensuring the package arrives safely. TCP guarantees all packets reach the receiver.
Application The mailbox where you read letters. You use a web browser (HTTP) to request a web page.

3.1 OSI Model (7 Layers)

  1. Physical – cables, connectors.
  2. Data Link – framing, error detection.
  3. Network – routing, logical addressing.
  4. Transport – reliable delivery, flow control.
  5. Session – opening/closing connections.
  6. Presentation – formatting, encryption.
  7. Application – user‑facing services.

Tiny Example
You send an email: Application → Presentation → Session → Transport → Network → Data Link → Physical.

3.2 TCP/IP – The Real‑World Postal System

  • TCP = “I’ll re

Your note

Page 1

Doubt hai is topic me?

Free AI teacher se poocho — 24/7, step by step.