Retrieving academic index assets...
Makaut
HomePYQsTests
Pricing
Sign Up
Makaut

The premier academic archive for MAKAUT students, providing curated previous year questions, solutions, and official syllabus resources.

Get the Mobile App
GET IT ONGoogle Play
Download on theApp Store
Download from Indus App Store
Platform
  • Home
  • PYQs
  • Question Papers
  • Viva Questions
  • Important Questions
  • Syllabus
  • Academic Tools
  • Pricing
  • Blog
Guidelines
  • Disclaimer
  • Community Guidelines
Company
  • About
  • Contact
  • FAQ
Legal
  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Cookie Policy
  • Subscription Policy
© 2026 MAKAUT Study Dev Hub. All rights reserved.
Platform version: v1.0.0
Viva Questions/PCC-CS502
Semester 5PCC-CS502

Operating Systems (PCC-CS502) Viva Questions and Answers

36 Questions•8 min read
Prepared from MAKAUT past-year question papers.
Practice Mode:All answers visible
Jump to Topic
Introduction to OS (1)Process and Thread (1)Process States (1)Process Control Block (1)Context Switching (1)Process Management (1)CPU Scheduling (3)Scheduling Metrics (1)Deadlock (1)Deadlock Avoidance (1)Memory Management (1)Paging (2)Virtual Memory (3)Page Replacement (1)Address Translation (1)Segmentation (1)TLB (1)File Systems (1)File Allocation (1)I/O Management (3)Disk Scheduling (2)Synchronization (3)OS Structure (1)System Calls (1)TLB and Effective Access Time (1)Memory Allocation (1)

Introduction to OS

1 question
Q1.EASY

What is an operating system and what are its main functions?

An operating system is system software that manages hardware and provides services to applications. Its main functions include process management, memory management, file system management, device management, and providing a user interface.

Process and Thread

1 question
Q2.MEDIUM

Differentiate between a process and a thread.

A process is a program in execution with its own address space, while a thread is a lightweight process that shares the address space of its parent process. Threads within the same process share code, data, and resources, making context switching faster.

Process States

1 question
Q3.MEDIUM

Explain the various states of a process with a diagram.

A process can be in new, ready, running, waiting (blocked), or terminated state. The state transition diagram shows how a process moves from ready to running when scheduled, from running to waiting on I/O, and from waiting to ready when I/O completes.

Process Control Block

1 question
Q4.EASY

What is a Process Control Block (PCB)?

A PCB is a data structure used by the OS to store all information about a process, including process ID, program counter, CPU registers, memory limits, and open files. It is essential for context switching and process management.

Context Switching

1 question
Q5.MEDIUM

What is context switching and why is it considered overhead?

Context switching is the process of saving the state of a running process and loading the state of another process. It is overhead because the CPU does no useful work during the switch, and frequent switches reduce system throughput.

Process Management

1 question
Q6.MEDIUM

What is a zombie process?

A zombie process is a terminated process whose entry still exists in the process table because its parent has not yet called wait() to read its exit status. It consumes system resources and can lead to process table exhaustion if many accumulate.

CPU Scheduling

3 questions
Q7.EASY

What is the difference between preemptive and non-preemptive scheduling?

In preemptive scheduling, the OS can interrupt a running process to allocate CPU to another process, while in non-preemptive scheduling, a process runs until it voluntarily yields the CPU. Preemptive scheduling provides better responsiveness but incurs overhead.
Q9.MEDIUM

Which scheduling algorithm gives minimum average waiting time?

Shortest Job First (SJF) gives the minimum average waiting time for a given set of processes, but it requires knowledge of future burst times and can cause starvation of long jobs.
Q10.MEDIUM

What is aging in scheduling?

Aging is a technique to prevent starvation by gradually increasing the priority of processes that wait for a long time. It ensures that low-priority processes eventually get CPU time.

Scheduling Metrics

1 question
Q8.EASY

What is turnaround time and response time?

Turnaround time is the total time from submission to completion of a process. Response time is the time from submission to the first response (first CPU allocation), important for interactive systems.

Deadlock

1 question
Q11.EASY

What are the four necessary conditions for deadlock?

The four conditions are mutual exclusion, hold and wait, no preemption, and circular wait. All four must hold simultaneously for a deadlock to occur.

Deadlock Avoidance

1 question
Q12.MEDIUM

Why is the banker's algorithm used?

The banker's algorithm is a deadlock avoidance algorithm that checks whether granting a resource request leads to a safe state. It ensures that the system never enters an unsafe state, thus preventing deadlock.

Memory Management

1 question
Q13.MEDIUM

What is the difference between internal and external fragmentation?

Internal fragmentation is wasted space within an allocated memory block due to fixed-size partitions. External fragmentation is free memory scattered in small blocks that cannot satisfy a request, common in variable partitioning.

Paging

2 questions
Q14.MEDIUM

What is paging and how does it eliminate external fragmentation?

Paging divides logical memory into fixed-size pages and physical memory into frames, allowing non-contiguous allocation. It eliminates external fragmentation because any free frame can be used, but it may cause internal fragmentation.
Q15.MEDIUM

Why are page sizes always powers of 2?

Page sizes are powers of 2 to simplify address translation: the page number and offset can be extracted using bitwise operations. This makes hardware implementation efficient and fast.

Virtual Memory

3 questions
Q16.MEDIUM

What is a page fault and how is it handled?

A page fault occurs when a referenced page is not in physical memory. The OS handles it by finding a free frame, loading the page from disk, updating the page table, and restarting the faulting instruction.
Q17.HARD

What is thrashing and how can it be controlled?

Thrashing is excessive paging activity where the system spends more time swapping pages than executing processes. It can be controlled by working set model, page fault frequency, and reducing degree of multiprogramming.
Q22.EASY

What is demand paging?

Demand paging loads pages into memory only when they are referenced, rather than loading the entire process. It reduces initial load time and memory usage but may cause page faults.

Page Replacement

1 question
Q18.MEDIUM

What is Belady's anomaly?

Belady's anomaly is the phenomenon where increasing the number of frames for a process increases the page fault rate for certain page replacement algorithms like FIFO. It does not occur with stack-based algorithms like LRU.

Address Translation

1 question
Q19.EASY

What is the difference between logical and physical addresses?

A logical address is generated by the CPU and used by the program, while a physical address is the actual location in memory. The Memory Management Unit (MMU) translates logical to physical addresses at runtime.

Segmentation

1 question
Q20.MEDIUM

What is segmentation and how does it differ from paging?

Segmentation divides memory into variable-sized segments based on logical units like functions, while paging uses fixed-size pages. Segmentation may cause external fragmentation, whereas paging causes internal fragmentation.

TLB

1 question
Q21.MEDIUM

What is a TLB and what is its role?

A Translation Lookaside Buffer (TLB) is a high-speed cache for page table entries. It reduces effective memory access time by avoiding a memory lookup for every address translation.

File Systems

1 question
Q23.EASY

What is a file system and what are its main components?

A file system organizes and manages files on storage devices. Its main components include file allocation methods (contiguous, linked, indexed), directory structures, and free space management.

File Allocation

1 question
Q24.MEDIUM

Compare linked and indexed file allocation methods.

Linked allocation uses pointers to connect blocks, allowing non-contiguous allocation but poor random access. Indexed allocation uses an index block containing pointers to all blocks, enabling efficient random access but wasting space for small files.

I/O Management

3 questions
Q25.EASY

What is spooling and where is it used?

Spooling (Simultaneous Peripheral Operations On-Line) buffers data for slow devices like printers, allowing multiple jobs to be queued. It is used in batch processing and print servers to improve system utilization.
Q26.EASY

What is a device driver?

A device driver is a software component that provides an interface between the OS and a hardware device. It translates OS commands into device-specific operations and handles interrupts.
Q27.MEDIUM

What is DMA and why is it useful?

Direct Memory Access (DMA) allows devices to transfer data directly to/from memory without CPU intervention. It is useful for high-speed I/O operations, freeing the CPU for other tasks.

Disk Scheduling

2 questions
Q28.MEDIUM

Explain the SCAN disk scheduling algorithm.

SCAN moves the disk head in one direction, servicing requests along the way, then reverses direction at the end. It reduces starvation compared to SSTF but may cause longer wait times for requests just behind the head.
Q29.EASY

What is rotational latency?

Rotational latency is the time waiting for the disk to rotate the desired sector under the read/write head. It is part of disk access time along with seek time and transfer time.

Synchronization

3 questions
Q30.MEDIUM

What is a critical section and what are the requirements for its solution?

A critical section is a code segment that accesses shared resources and must not be executed by more than one process at a time. Solutions must ensure mutual exclusion, progress, and bounded waiting.
Q31.MEDIUM

What is busy waiting and how can it be avoided?

Busy waiting is a technique where a process repeatedly checks a condition in a loop, wasting CPU cycles. It can be avoided using blocking synchronization primitives like semaphores or condition variables.
Q32.MEDIUM

What is a semaphore? Explain its two types.

A semaphore is a synchronization variable with an integer value and atomic operations wait() and signal(). Binary semaphores (mutex) take values 0 or 1, while counting semaphores can take any non-negative value.

OS Structure

1 question
Q33.EASY

What is a monolithic kernel? Give an example.

A monolithic kernel is an OS architecture where all core services (memory management, file system, device drivers) run in kernel space. Examples include Linux and traditional UNIX.

System Calls

1 question
Q34.EASY

What is the purpose of system calls?

System calls provide an interface between user programs and the OS kernel, allowing user processes to request privileged operations like file I/O, process creation, and memory allocation.

TLB and Effective Access Time

1 question
Q35.HARD

In a paging system with TLB, if TLB hit ratio is 75%, TLB access time is 20 ns, and memory access time is 100 ns, what is the effective access time?

EAT = 0.75*(20+100) + 0.25*(20+100+100) = 0.75*120 + 0.25*220 = 90 + 55 = 145 ns. This accounts for TLB lookup and one or two memory accesses.

Memory Allocation

1 question
Q36.MEDIUM

Given memory partitions of 100K, 500K, 200K, 300K, and 600K, how would first-fit allocate a 417K request?

First-fit scans from the beginning and allocates the first block large enough. The 500K partition is the first that can accommodate 417K, so it is allocated there, leaving 83K free.

Frequently Asked Viva Voce Questions

High-priority theoretical and lab evaluation questions typically tested by MAKAUT external examiners.

Related Course Resources

PYQOperating Systems Solved PYQs
Open resource
IMPORTANTOperating Systems Important Questions
Open resource
HUBOperating Systems Subject Overview
Open resource
SYLLABUSOperating Systems Syllabus & Handouts
Open resource

On This Page

26 Units
Introduction to OS1
Process and Thread1
Process States1
Process Control Block1
Context Switching1
Process Management1
CPU Scheduling3
Scheduling Metrics1
Deadlock1
Deadlock Avoidance1
Memory Management1
Paging2
Virtual Memory3
Page Replacement1
Address Translation1
Segmentation1
TLB1
File Systems1
File Allocation1
I/O Management3
Disk Scheduling2
Synchronization3
OS Structure1
System Calls1
TLB and Effective Access Time1
Memory Allocation1