Live online classes · Mon–Sat · India-wide

Operating System (BCS401) Important Questions

AKTU B.Tech · 2nd Year · Exam 2026-27. Worked out from 11 real papers, 2017-18 to 2025-26.

  • 11AKTU papers analysed
  • 23must-do topics
  • 22repeated 2-mark questions
Share on WhatsApp

The PDF has every topic with the years it came, a unit-wise plan and the sources. Free. Share it with your class.

Most likely question in each unit

UnitMost likelyBackup topics
1Introduction: OS functions, types (batch, time-sharing, real-time, multiprocessor), OS structure (layered, monolithic, microkernel), servicesMonolithic vs microkernel / layered OS structure (10/11)Types of OS: batch, time-sharing, real-time with examples (11/11) · Multiprocessor vs multiuser vs multithreaded · OS services
2Concurrent processes: critical section, Dekker, Peterson, semaphores, test-and-set, producer-consumer, dining philosophers, sleeping barber, IPCCritical section problem + semaphore solution (9/11)Dining philosophers / sleeping barber · Producer-consumer with semaphores · Dekker vs Peterson · Semaphore value numerical
3CPU scheduling (process states, PCB, threads, algorithms) and deadlock (conditions, prevention, avoidance/Banker's, detection, recovery)CPU scheduling Gantt chart: SRTF / preemptive SJF / priority / RR (9/11)Banker's algorithm with a request (8/11) · Deadlock prevention, avoidance, recovery · Process state diagram and PCB
4Memory management: partitions, protection, paging, segmentation, virtual memory, demand paging, page replacement, thrashing, cache, localityPage replacement: FIFO, LRU, Optimal on 1,2,3,4,2,1,5,6,... (8/11)Paging vs segmentation and address translation · First/best/worst fit (100, 500, 200, 300, 600 KB) · TLB effective access time · Thrashing
5I/O management and disk scheduling, RAID; file system: file concept, access, directories, sharing, implementation, protection and securityDisk scheduling numerical: SSTF, SCAN, C-SCAN, LOOK, C-LOOK (8/11)RAID levels (4 of the last 5 papers) · File allocation methods · DMA, interrupts, polling

Must-do topics

These came in most of the 11 papers. Prepare them first.

  • Types of OS: batch, interactive, time-sharing, real-time, multiprogramming

    came in 11 of 11 papers

    Unit 1 · 2017-18 to 2025-26 · HOT: in all 11 papers

    How to answer: Define each type with one real example (batch: payroll runs; time-sharing: UNIX terminals; hard/soft real-time: airbag controller / video streaming). Add a comparison table: multiprogramming keeps the CPU busy, time-sharing adds a time slice for quick response; real-time adds deadlines.

    Last asked (2025-26 (carry-over), Section B): Explain in detail: (i) multiprocessor operating system, (ii) real time system.

  • OS structure: layered, monolithic, microkernel (and OS components)

    came in 10 of 11 papers

    Unit 1 · 2017-18 to 2025-26 · HOT: monolithic vs microkernel in 2024-25 and 2025-26

    How to answer: Draw the layered model (hardware at layer 0, user interface at top) and the monolithic vs microkernel block diagrams. Microkernel keeps only IPC, scheduling and basic memory in kernel mode; services run in user space and talk by message passing (more reliable, slower). Also list OS components: process, memory, file, I/O, secondary storage, protection, command interpreter.

    Last asked (2025-26 (carry-over), Section C): How does the microkernel approach work, and how do its advantages and disadvantages compare with a monolithic kernel (block diagrams)?

  • Process Control Block (PCB) and context switching

    came in 10 of 11 papers

    Unit 3 · 2017-18 to 2025-26

    How to answer: PCB fields: process ID, state, program counter, CPU registers, scheduling info (priority), memory-management info, accounting info, I/O status. Context switch: save the running process's state into its PCB, load the next one's PCB; it is pure overhead.

    Last asked (2025-26 (carry-over), Section B): Define process and process control block; describe the process state transition diagram.

  • Critical section problem and mutual exclusion (requirements, software solution, test-and-set)

    came in 9 of 11 papers

    Unit 2 · 2017-18 to 2025-26 · HOT: in every BCS401 paper

    How to answer: Write the entry / critical / exit / remainder section structure and the 3 requirements: mutual exclusion, progress, bounded waiting. Give Peterson's solution as the software solution and the TestAndSet() lock as the hardware solution, with code.

    Last asked (2025-26 (carry-over), Section B): What is a critical section problem? Give the basic requirements a solution must satisfy, with one software solution.

  • Scheduling concepts: criteria, schedulers, comparison of algorithms, multilevel (feedback) queue

    came in 9 of 11 papers

    Unit 3 · 2017-18 to 2025-26

    How to answer: Criteria: CPU utilisation, throughput, turnaround, waiting and response time. Long, short and medium-term schedulers. Compare FCFS (convoy effect), SJF (optimal average waiting, starvation), priority (aging), RR (time quantum). Multilevel queue = fixed queues; multilevel feedback queue lets processes move between queues.

    Last asked (2025-26, Section A): Illustrate the reason for the convoy effect in process scheduling.

  • CPU scheduling numericals: Gantt chart, average waiting and turnaround time (FCFS, SJF, SRTF, RR, priority)

    came in 9 of 11 papers

    Unit 3 · 2017-18 to 2025-26 · HOT: a Gantt chart question in 9 of 11 papers

    How to answer: Draw the Gantt chart with times, then a table: CT, TAT = CT - AT, WT = TAT - BT, and averages. In preemptive SJF/SRTF and preemptive priority re-check at every arrival; read the paper's priority convention (larger or smaller number = higher). For RR keep a ready-queue trace.

    Last asked (2025-26 (carry-over), Section C): Processes with arrival, burst and priority: Gantt chart, average WT and TAT for SRTF, Round Robin (quantum 2), preemptive priority and SJF.

  • Deadlock: system model, necessary conditions, resource allocation graph, deadlock vs starvation

    came in 9 of 11 papers

    Unit 3 · 2017-18 to 2025-26

    How to answer: System model: request, use, release. Four Coffman conditions: mutual exclusion, hold and wait, no preemption, circular wait (all must hold). Draw a RAG with and without a cycle (cycle = deadlock only if single instances). Starvation = indefinite waiting, solved by aging; deadlock vs starvation table.

    Last asked (2025-26 (carry-over), Section B): Differentiate between deadlock and starvation (with fragmentation and paging vs segmentation).

  • Contiguous allocation: bare machine, resident monitor, fixed vs variable partitions, first/best/worst fit

    came in 9 of 11 papers

    Unit 4 · 2017-18 to 2025-26

    How to answer: Bare machine and resident monitor (OS in low memory, protected by a fence register). MFT (fixed partitions: internal fragmentation) vs MVT (variable partitions: external fragmentation). Placement: first fit, best fit, worst fit. Classic numerical: partitions 100, 500, 200, 300, 600 KB with 212, 417, 112, 426 KB: best fit places all four.

    Last asked (2025-26 (carry-over), Section C): Explain the concept of dynamic memory allocation in memory management.

  • Semaphores (binary/counting, wait/signal, busy waiting, semaphore numericals)

    came in 8 of 11 papers

    Unit 2 · 2017-18 to 2025-26

    How to answer: Define semaphore S with atomic wait(P) and signal(V); binary vs counting. Explain busy waiting and the blocking implementation with a waiting queue. Numericals: counting semaphore value = initial - (number of P) + (number of V), e.g. 10 - 6 + 4 = 8. Two semaphores taken in opposite order can deadlock.

    Last asked (2025-26, Section C): P1 to P9 use P(mutex) ... V(mutex); P10 uses V(mutex) in place of P(mutex). What is the largest number of processes that can be inside the critical section at any moment?

  • Banker's algorithm: Need matrix, safe state, resource request

    came in 8 of 11 papers

    Unit 3 · 2017-18 to 2025-26 · HOT: in 3 of the last 4 papers

    How to answer: Need = Max - Allocation. Run the safety algorithm with Work = Available, show each step and the safe sequence. For a request: check Request <= Need and <= Available, pretend to allocate, then re-run safety. Define safe/unsafe state (unsafe is not always deadlock).

    Last asked (2025-26 (carry-over), Section C): Four processes with resources A, B, C (Available 7 7 2): Need matrix and safe state using Banker's algorithm.

  • Paging, segmentation and address translation (logical vs physical address, segmented paging)

    came in 8 of 11 papers

    Unit 4 · 2018-19 to 2025-26

    How to answer: Logical address = (page number, offset); the page table maps page to frame; physical = frame × page size + offset. Segmentation uses (segment, offset) checked against limit, else trap. Paging vs segmentation table; paged segmentation combines both. Practise a segment-table trap question.

    Last asked (2025-26 (carry-over), Section B): Differentiate between paging and segmentation (part of a three-part question).

  • Page replacement numericals: FIFO, LRU, Optimal (and Belady's anomaly)

    came in 8 of 11 papers

    Unit 4 · 2017-18 to 2025-26 · HOT: the string 1,2,3,4,2,1,5,6,... came in 2017-18 and both 2025-26 papers

    How to answer: Draw the frame table column by column and mark faults (F) and hits. Know the textbook answers: 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1 with 3 frames gives FIFO 15, Optimal 9 (LRU 12). Belady's anomaly: FIFO can give more faults with more frames; stack algorithms (LRU, Optimal) do not.

    Last asked (2025-26 (carry-over), Section C): Reference string 1,2,3,4,2,1,5,6,2,1,2,3,7,6,3,2,1,2,3,6 with 3 frames: page faults for FIFO, LRU and optimal.

  • Disk scheduling numericals: FCFS, SSTF, SCAN, C-SCAN, LOOK, C-LOOK

    came in 8 of 11 papers

    Unit 5 · 2018-19 to 2025-26 · HOT: in 8 of 11 papers, every paper since 2021-22 except BCS401 2023-24

    How to answer: Write the service order and add the absolute head movements. Note the direction (from 'previous request' or 'moving towards larger cylinders') and whether SCAN/C-SCAN go to the last cylinder. Check: head 143, previous 125, queue 86, 1470, 913, 1774, 948, 1509, 1022, 1750, 130 gives FCFS 7081 and SSTF 1745 cylinders.

    Last asked (2025-26 (carry-over), Section C): 2000 cylinders, head at 143, previous 125, queue 86, 1470, 913, 1774, 948, 1509, 1022, 1750, 130: distance for SSTF, FCFS, C-LOOK and SCAN.

  • Disk structure: seek time, rotational latency, disk storage, SCAN/C-SCAN definitions

    came in 8 of 11 papers

    Unit 5 · 2017-18 to 2025-26

    How to answer: Seek time = time to move the arm to the cylinder; rotational latency = time for the sector to come under the head (average = half a rotation); transfer time. Access time = seek + latency + transfer. Platters, tracks, sectors, cylinders; HDD vs SSD.

    Last asked (2025-26 (carry-over), Section B): Short note: disk storage and scheduling (any two of four).

  • File system: file concept, access methods, allocation methods (contiguous, linked, indexed) and directory structures

    came in 8 of 11 papers

    Unit 5 · 2017-18 to 2025-26

    How to answer: File attributes and operations; access methods: sequential, direct, indexed. Allocation: contiguous (fast, external fragmentation), linked (no fragmentation, slow random access), indexed / multilevel index (index block). Directories: single-level, two-level, tree, acyclic graph, general graph, with diagrams.

    Last asked (2025-26 (carry-over), Section B): Short note: file allocation method (any two of four).

  • Operating system: definition, functions and objectives

    came in 7 of 11 papers

    Unit 1 · 2017-18 to 2025-26

    How to answer: OS = program that manages hardware and acts as an interface between user and hardware. Functions: process, memory, file, I/O/device management, security, user interface. Objectives: convenience, efficiency, ability to evolve.

    Last asked (2025-26 (carry-over), Section A): Define operating system and mention its major functions.

  • Classical problems: Dining Philosophers and Sleeping Barber

    came in 7 of 11 papers

    Unit 2 · 2017-18 to 2025-26

    How to answer: Dining philosophers: 5 philosophers, 5 chopsticks (semaphores); the naive solution deadlocks; fixes: allow only 4 to sit, pick both chopsticks together, asymmetric order, or a monitor with states THINKING/HUNGRY/EATING. Sleeping barber: semaphores customers, barbers, mutex and a waiting counter with n chairs.

    Last asked (2025-26 (carry-over), Section C): List all classical problems of process synchronisation and explain any two of them in detail.

  • Process concept, process states and state transition diagram

    came in 7 of 11 papers

    Unit 3 · 2018-19 to 2025-26

    How to answer: Process = program in execution (code, data, stack, heap, PCB); program is passive, process is active. Draw the 5-state diagram (new, ready, running, waiting, terminated) with every transition labelled (admit, dispatch, interrupt, I/O wait, I/O done, exit); mention suspended states for extra marks.

    Last asked (2025-26 (carry-over), Section B): Define process and process control block. Also describe the process state transition diagram in detail.

  • I/O management: I/O buffering, I/O subsystem, DMA, polling and interrupts

    came in 7 of 11 papers

    Unit 5 · 2017-18 to 2025-26

    How to answer: Buffering: single, double, circular buffer (why: speed mismatch, transfer size). Kernel I/O subsystem: scheduling, buffering, caching, spooling, error handling. Polling (busy-wait on status bit) vs interrupt-driven I/O vs DMA (controller moves the block, one interrupt at the end), with diagrams.

    Last asked (2025-26 (carry-over), Section B): Short note: I/O buffering (any two of four).

  • Multiprocessor, multiuser and multithreaded systems

    came in 6 of 11 papers

    Unit 1 · 2021-22 to 2025-26

    How to answer: Multiprocessor = 2+ CPUs sharing memory (symmetric vs asymmetric; throughput, reliability). Multiuser = many users at once with protection between them. Multithreaded = many threads inside one process. Give one difference table and an example of each.

    Last asked (2025-26 (carry-over), Section B): Explain multiprocessor operating system in detail.

  • Inter-process communication (shared memory, message passing) and process creation (fork)

    came in 6 of 11 papers

    Unit 2 · 2017-18 to 2025-26

    How to answer: Two IPC models: shared memory and message passing (direct/indirect, synchronous/asynchronous, buffering). Process generation: fork() creates a child; n fork() calls in a row give 2^n processes (3 forks = 8 including the parent).

    Last asked (2025-26 (carry-over), Section A): What is the use of inter process communication and context switching?

  • Internal vs external fragmentation (and how paging/compaction solve it)

    came in 6 of 11 papers

    Unit 4 · 2017-18 to 2025-26 · Asked mainly in old-code papers; not in BCS401 papers yet

    How to answer: Internal = wasted space inside an allocated block (fixed partitions, last page of a process). External = enough total free memory but not contiguous (variable partitions). Remedies: compaction, paging, segmentation with paging, best-fit.

    Last asked (2025-26 (carry-over), Section B): Differentiate between internal and external fragmentation (part of a three-part question).

  • RAID levels

    came in 6 of 11 papers

    Unit 5 · 2018-19 to 2025-26 · HOT: in 4 of the last 5 papers

    How to answer: RAID = redundant array of independent disks for performance and reliability. Draw RAID 0 (striping), 1 (mirroring), 2-4 (bit/byte/block striping with parity disk), 5 (distributed parity), 6 (double parity), 10. Give one advantage and disadvantage per level.

    Last asked (2025-26 (carry-over), Section C): Explain the term RAID and its characteristics. Also explain various RAID levels with advantages and disadvantages.

High-chance topics

  • OS services and system callsUnit 1 · came in 5 of 11 papers
  • Producer-consumer (bounded buffer) problemUnit 2 · came in 5 of 11 papers
  • Deadlock handling: prevention, avoidance, detection (wait-for graph) and recoveryUnit 3 · came in 5 of 11 papers
  • Virtual memory and demand paging (performance of demand paging)Unit 4 · came in 5 of 11 papers
  • Thrashing and locality of referenceUnit 4 · came in 5 of 11 papers
  • Paging hardware numericals: TLB, effective access time, page table sizeUnit 4 · came in 4 of 11 papers
  • File system protection and securityUnit 5 · came in 4 of 11 papers
  • Threads: user vs kernel threads, thread managementUnit 3 · came in 3 of 11 papers
  • Dekker's and Peterson's solutionsUnit 2 · came in 2 of 11 papers

Repeated 2-mark questions (Section A)

  1. Define operating system and its main functions / objectivesasked 6 times
  2. What are the CPU scheduling criteria?asked 4 times
  3. Define seek time and (rotational) latency timeasked 4 times
  4. Internal vs external fragmentationasked 4 times
  5. Use of inter-process communicationasked 4 times
  6. Elements of the PCB / process identification informationasked 4 times
  7. Define SCAN and C-SCAN disk schedulingasked 3 times
  8. Logical vs physical address space (MMU)asked 3 times
  9. What is context switching?asked 3 times
  10. Necessary conditions for deadlockasked 3 times
  11. Define semaphore and its types / roleasked 3 times
  12. What are concurrent processes / principle of concurrency?asked 3 times
  13. Locality of reference (and thrashing)asked 3 times
  14. Safe state and unsafe stateasked 2 times
  15. What is busy waiting?asked 2 times
  16. Define critical section / critical regionasked 2 times
  17. What is a real-time system?asked 2 times
  18. Define multiprogramming and its advantagesasked 2 times
  19. Demand paging / lazy swapperasked 2 times
  20. Directory structure (tree level)asked 2 times
  21. Process vs program / process vs threadasked 2 times
  22. Small scheduling numerical (RR completion order / FCFS average waiting time)asked 2 times

The 10 numericals to practise by hand

  1. Gantt chart, average WT and TAT: P1(0,8), P2(1,4), P3(2,9), P4(3,5) with FCFS, SRTF and RR (2017-18, 2018-19)
  2. Preemptive and non-preemptive priority scheduling (check whether a larger or smaller number means higher priority)
  3. Banker's algorithm: Need matrix, safe sequence and a resource request, e.g. P0-P4 with Available (2,1,0) and P1 requesting (1,1,0) (2022-23)
  4. Page replacement on 1,2,3,4,2,1,5,6,2,1,2,3,7,6,3,2,1,2,3,6 with 3 and 4 frames (FIFO, LRU, Optimal)
  5. Page replacement on 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1 with 3 frames (FIFO 15, LRU 12, Optimal 9)
  6. Disk scheduling: head 143, previous 125, queue 86, 1470, 913, 1774, 948, 1509, 1022, 1750, 130 (FCFS 7081, SSTF 1745; also SCAN, C-LOOK)
  7. Disk scheduling: head 63 moving up, queue 47, 38, 121, 191, 87, 11, 92, 10, cylinders 0-199 (C-SCAN and C-LOOK)
  8. First, best and worst fit: partitions 100, 500, 200, 300, 600 KB; processes 212, 417, 112, 426 KB
  9. Effective access time with TLB (hit ratio for 125 ns; with page faults and dirty pages) and page-table size (32-bit address, 4 KB page, 4 B entry)
  10. Semaphore and process numericals: counting semaphore 10 after 6 P and 4 V; fork() three times; P10 with V(mutex) in place of P(mutex); segment-table trap check

Get the Operating System PDF

Share on WhatsApp

Not official AKTU material. The important questions are based on 11 previous year papers (2017-18 to 2025-26). The real paper can differ. Syllabus cross-checked with the official AKTU B.Tech 2nd year CSE scheme (BCS401, 3-1-0, 70 + 30 marks). Research date: 20 Nov 2026.

More subjects: all B.Tech papers. Practise coding for free on Kinetic CodeGuide.

Every course is taught live online.We do not operate any offline centre — join from anywhere in India.Live online only · no offline centreFormerly Easy Coders