NSCT Operating Systems Revision Notes

By the NSCT Exam Editorial Team · Updated 2026-11-24 · Facts checked against official sources on 2026-11-24

These notes condense all 12 official Operating Systems topics into the definitions, formulas and numerical methods that most questions test: process states, CPU scheduling, synchronisation, deadlocks, paging, page replacement, file allocation, disk scheduling, I/O and protection. Operating Systems carries 5% of the NSCT, according to HEC's Areas of Competencies. It was also the weakest area in 2026: candidates averaged 33.8% accuracy, per the HEC NSCT report and APP.

That low average is good news for a prepared student. HEC's report shows accuracy of 49.5% on Understanding questions, 45.1% on Application and 44.8% on Analysis, and OS Application questions are mostly numericals with fixed procedures. Learn the procedure once, practise it a few times, and these become reliable marks.

How to use these notes: for every numerical, draw the chart or table on paper (a Gantt chart, a frame table, a Need matrix, a head-movement line) instead of working in your head. After each section, do its topic quiz through the link. Terms follow Silberschatz unless a note says otherwise.

Introduction to Operating Systems

Trap: a root program still runs in user mode; kernel mode is a CPU state, not an account. Practise: Introduction to Operating Systems MCQs for NSCT

Operating System Structures

Trap: loadable modules do not make Linux a microkernel. Practise: Operating System Structures MCQs for NSCT

Process Management

Trap: when I/O completes, the process becomes ready, not running. Practise: Process Management MCQs for NSCT

CPU Scheduling

Formula Meaning
TAT = completion − arrival Turnaround time
WT = TAT − burst Time in the ready queue
Response = first run − arrival Time to first service

Trap: only SJF, SRTF and priority (without aging) can starve; FCFS and RR cannot. Practise: CPU Scheduling MCQs for NSCT and CPU scheduling numericals.

Thread Management

Trap: 6 user threads on 3 kernel threads can run at most 3 at once. Practise: Thread Management MCQs for NSCT

Concurrency & Synchronization

Trap: in producer-consumer, wait(mutex) before wait(empty) deadlocks on a full buffer. Practise: Concurrency & Synchronization MCQs for NSCT and semaphores and classic problems.

Deadlocks

Trap: check a request against Need before Available. Practise: Deadlocks MCQs for NSCT and Banker's algorithm.

Memory Management

Formula Use
Physical = frame × page size + offset Paging translation
EAT = h(TLB + mem) + (1 − h)(TLB + 2·mem) With TLB (some editions ignore TLB time)
EAT = (1 − p) × mem + p × fault time Demand paging
Segment: if offset < limit, base + offset Else trap

Trap: 10 ms is 10,000,000 ns, not 10,000. Practise: Memory Management MCQs for NSCT, paging and address translation and page replacement.

File System Management

Trap: reaching block i under linked allocation takes i reads. Practise: File System Management MCQs for NSCT

Secondary Storage Management

Trap: SCAN goes to the end cylinder; stopping at the last request is LOOK. Practise: Secondary Storage Management MCQs for the NSCT and disk scheduling.

Input / Output Systems

Trap: nonblocking returns what is ready now; asynchronous completes later and notifies. Practise: Input / Output Systems MCQs for the NSCT

Protection & Security

Trap: a password plus a security question is still one factor. Practise: Protection & Security MCQs for the NSCT

Last-48-hours checklist

  1. Draw the five-state diagram and name the two forbidden transitions.
  2. Count processes for fork(); fork(); fork(); and for fork() && fork();.
  3. Schedule one set of processes under FCFS, SJF, SRTF and RR with a Gantt chart.
  4. Compute average waiting and turnaround times from your chart.
  5. List what threads share and what each keeps private.
  6. Recite the three critical-section requirements.
  7. Set correct initial values for mutex, empty and full in producer-consumer.
  8. Recite the four Coffman conditions and what breaks each one.
  9. Run one Banker's safety check from Max, Allocation and Available.
  10. Translate one logical address to a physical address, in decimal and in hex.
  11. Compute one EAT with a TLB and one with page faults.
  12. Count page faults for FIFO, LRU and Optimal on one reference string.
  13. Trace SCAN and LOOK on one request queue.
  14. Compute an inode's maximum file size and a RAID 5 capacity.
  15. Reread your marked traps, then rest.

Most-tested comparisons

Pair Key difference
Program vs process Passive file vs execution in progress
Process vs thread Own address space vs shared address space, own stack
Monolithic vs microkernel Services in kernel, fast vs user-space servers, safer
Preemptive vs non-preemptive CPU can be taken away vs runs until burst ends or blocks
SJF vs SRTF Non-preemptive vs preemptive shortest job
Mutex vs semaphore Owner, locked/unlocked vs no owner, integer count
Deadlock vs starvation Set stuck in a cycle vs one process never served
Prevention vs avoidance Deny a condition by design vs check each request (Banker's)
Paging vs segmentation Fixed, internal fragmentation vs variable, external
FIFO vs LRU Evicts oldest loaded vs least recently used
SCAN vs LOOK Reverses at end cylinder vs at last request
Hard link vs symbolic link Same inode vs stored path
Access list vs capability list Column per object vs row per domain

Where to practise next

OS marks come from numericals, so spend most of your remaining time on the deep practice pages: CPU scheduling numericals, page replacement, Banker's algorithm, paging and address translation, disk scheduling and semaphores and classic problems. Keep the OS cheat sheet for quick reviews, return to the Operating Systems MCQs hub for any weak topic, and time yourself in the subject-wise mock tests.

FAQs

Why revise Operating Systems if it is only 5% of the test?

Because most candidates lost marks here. The 2026 average of 33.8% was the lowest of all 10 areas, so a student who can do the standard numericals reliably gains ground on most of the field. Our recommendation is 4 to 5 hours out of a 60-hour plan, slightly more than the weightage alone suggests.

Which OS numericals should I practise first?

Start with CPU scheduling (FCFS, SJF, SRTF, round robin) and page replacement (FIFO, LRU, Optimal), because they follow simple, repeatable procedures. Then do Banker's algorithm, address translation with a TLB, and disk scheduling. Always draw the chart or table, because most wrong answers come from skipping that step.

What if my textbook uses different conventions?

Textbooks differ on a few points: whether a lower priority number means higher priority, whether EAT includes TLB time, whether the C-SCAN return seek counts, and process state names. These notes follow Silberschatz and flag the differences. In the test, always apply the convention the question states.

Is there a PDF version of these OS notes?

There is no separate PDF of this page; it is designed to read well on a phone. For a printable summary, use the OS cheat sheet, which condenses the formulas, definitions and comparisons into a shorter format.

How do I avoid careless mistakes in OS numericals?

Write units next to every number and convert milliseconds to nanoseconds carefully. Draw a Gantt chart for scheduling, a frame table for page replacement and a Work column for Banker's. Before choosing an option, check the question's conventions on direction, priority order and preemption.

Next step

Start with the numericals: open CPU scheduling numericals and work three problems with Gantt charts. Then check your readiness across all 10 areas in a full NSCT mock test.