|System Software and Operating System PYQs

UGC NET Computer Science System Software and Operating System Previous Year Questions (PYQs)

Practise 39 System Software and Operating System questions asked in UGC NET Computer Science from 2020–2025. Questions cover System software, Process management, Threads, Classical synchronisation problems, Deadlock and Memory management. Every question is shown with its options and the correct answer, free to read.

39 PYQs2020–2025Answers includedFree

Practise System Software and Operating System as timed sets

Focused 10-question sets with instant scoring, explanations, and weak-area analysis.

Start practice

All 39 System Software and Operating System PYQs

Ordered newest exam first. Each question links back to the full paper it came from.

  1. Match List-I with List-II.

    List-IList-II
    A. RAID 1
    B. RAID 2
    C. RAID 3
    D. RAID 4
    I. bit-interleaved parity
    II. disk mirroring
    III. block-interleaved parity
    IV. ECC organisation
    1. AA-II, B-I, C-IV, D-III
    2. BA-II, B-IV, C-I, D-III
    3. CA-III, B-IV, C-I, D-II
    4. DA-IV, B-III, C-II, D-I

    Answer: (B) A-II, B-IV, C-I, D-III

    Explanation

    Sign in to read the full explanation
  2. If virtual memory is 32 MB and physical memory is 4 MB with page size 2 KB, calculate the number of frames available in physical memory.

    1. A1024
    2. B2048
    3. C3072
    4. D4096

    Answer: (B) 2048

    Explanation

    Sign in to read the full explanation
  3. Which is the correct sequence for an interrupt service routine?

    A. Save contents of processor registers
    B. Turn the interrupt facility on
    C. Service the device whose flag is set
    D. Check which flag is set
    E. Restore contents of processor registers

    1. AA, B, C, D, E
    2. BD, B, C, A, E
    3. CD, C, B, E, A
    4. DA, D, C, E, B

    Answer: (B) D, B, C, A, E

    Explanation

    Sign in to read the full explanation
  4. Which of the following does not interrupt a running process?

    1. ADevice
    2. BTimer
    3. CScheduler
    4. DPower failure

    Answer: (C) Scheduler

    Explanation

    Sign in to read the full explanation
  5. The displayed disk-scheduling graph processes requests 28, 36, 45, 84, 125, 170 and 172, then wraps to the low end. Which algorithm does it represent?

    1. ASSTF
    2. BSCAN
    3. CC-SCAN
    4. DC-LOOK

    Answer: (D) C-LOOK

    Explanation

    Sign in to read the full explanation
  6. Given the displayed process burst times and priorities, which is a value of average waiting time under priority scheduling?

    1. A9.2
    2. B6.8
    3. C7.6
    4. D8.2

    Answer: (D) 8.2

    Explanation

    Sign in to read the full explanation
  7. The entire set of parameters, including the return address, stored for a procedure invocation is called

    1. Astack frame
    2. Bstack base
    3. Cstack limit
    4. Dstack record

    Answer: (A) stack frame

    Explanation

    Sign in to read the full explanation
  8. Consider the following processes, with arrival and burst times in milliseconds. What is the average waiting time using non-preemptive shortest-job-first scheduling?

    ProcessArrival timeBurst time
    P₁05
    P₂23
    P₃22
    P₄53
    P₅61
    1. A3.0 ms
    2. B2.1 ms
    3. C4.6 ms
    4. D3.2 ms

    Answer: (D) 3.2 ms

    Explanation

    Sign in to read the full explanation
  9. Calculate the average response time with non-preemptive priority scheduling. Assume all processes arrive at time 0 and lower numbers mean higher priority.

    ProcessBurst timePriority
    P₁53
    P₂31
    P₃25
    P₄34
    P₅12
    1. A5.6 ms
    2. B5.2 ms
    3. C4.7 ms
    4. D3.8 ms

    Answer: (A) 5.6 ms

    Explanation

    Sign in to read the full explanation
  10. For the given arrival-time and burst-time process set, find the average weighted turnaround time using Highest Response Ratio Next (HRN).

    ProcessArrival timeBurst time
    P₁05
    P₂23
    P₃22
    P₄53
    P₅61
    1. A3.2 ms
    2. B2.834 ms
    3. C1.632 ms
    4. D6.721 ms

    Answer: (B) 2.834 ms

    Explanation

    Sign in to read the full explanation
  11. When shortest-job-first scheduling causes a process to face partial starvation and wait longer to execute, which algorithm addresses this problem?

    1. ARound Robin
    2. BPriority
    3. CHighest Response Ratio Next
    4. DLeast Completed Next

    Answer: (A) Round Robin

    Explanation

    Sign in to read the full explanation
  12. For the given arrival-time and burst-time process set, what is the average turnaround time using first-come, first-served scheduling?

    ProcessArrival timeBurst time
    P₁05
    P₂23
    P₃22
    P₄53
    P₅61
    1. A5.3 ms
    2. B6.4 ms
    3. C7.0 ms
    4. D8.2 ms

    Answer: (C) 7.0 ms

    Explanation

    Sign in to read the full explanation
  13. Which of the following statements are TRUE
    about mutual exclusion in concurrent
    programming ?
    A. Mutual exclusion ensures that only one
    process can be in a critical section at any given
    time.
    B. Mutual exclusion are designed to prevent
    conflicts and ensure that only one process can
    access shared resources at a time.
    C. Mutual exclusion can use various algorithms
    to ensure that processes do not enter the critical
    section simultaneously.
    D. Mutual exclusion allows multiple processes to
    access the critical section simultaneously to
    improve performance.

    1. A(A), (B), (C) Only
    2. B(B), (C), (D) Only
    3. C(B), (D), (A) Only
    4. D(A), (C), (D) Only

    Answer: (A) (A), (B), (C) Only

    Explanation

    Sign in to read the full explanation
  14. Which of the following statements are TRUE
    about Privileged Instructions ?
    A. It can only be executed by the Operating
    System kernel and not by user applications.
    B. It is designed to perform operations that can
    directly affect the hardware or system state such
    as I/O operations or changing memory
    management setting.
    C. User applications can execute privileged
    instructions if they have to correct permissions,
    set by the Operating System.
    D. It usually executed in user mode to ensure
    the safety and security of the system.

    1. A(A) and (B) Only
    2. B(A), (B) and (C) Only
    3. C(B) and (C) Only
    4. D(B), (C) and (D) Only

    Answer: (A) (A) and (B) Only

    Explanation

    Sign in to read the full explanation
  15. Which of the following statements are TRUE
    about Process Control Block (PCB) ?
    A. The PCB contains information about the
    process state, such as whether it is running,
    waiting or terminated
    B. The PCB includes the program code and data
    segments of the process
    C. The PCB stores the process's memory
    management information, such as page tables
    and segment tables
    D. The PCB is used to track process scheduling
    information and CPU registers for process
    execution

    1. A(A), (B) and (C) Only
    2. B(B), (C) and (D) Only
    3. C(A), (C) and (D) Only
    4. D(A) and (B) Only

    Answer: (C) (A), (C) and (D) Only

    Explanation

    Sign in to read the full explanation
  16. Which of the following is NOT a
    requirement for Banker's algorithm to
    grant a resource request ?

    The Banker’s Algorithm is a critical deadlock avoidance method in operating systems, designed to facilitate resource allocation without causing deadlock. It operates by maintaining information about the maximum resources each process may require, the currently allocated resources and the available resources in the system. The algorithm checks each resource request to determine if granting it would leave the system in a safe state, meaning that there is always a sequence in which all processes can complete their execution without getting stuck due to resource unavailability. Each process must specify its maximum demand for each resource type before it starts execution. When a process requests additional resources, the algorithm checks if granting the request will keep the system in a safe state. If so, the resources are allocated; otherwise the process must wait until its request can be safely fulfilled.

    1. AThe requested resources must be available.
    2. BThe system must be in a safe state after granting the request
    3. CThe request must not exceed the maximum resources the process can request.
    4. DThe process must be the only one requesting resources.

    Answer: (D) The process must be the only one requesting resources.

    Explanation

    Sign in to read the full explanation
  17. Which data structure does the Banker's
    Algorithm use to maintain the state of
    available, maximum and allocated
    resources ?

    The Banker’s Algorithm is a critical deadlock avoidance method in operating systems, designed to facilitate resource allocation without causing deadlock. It operates by maintaining information about the maximum resources each process may require, the currently allocated resources and the available resources in the system. The algorithm checks each resource request to determine if granting it would leave the system in a safe state, meaning that there is always a sequence in which all processes can complete their execution without getting stuck due to resource unavailability. Each process must specify its maximum demand for each resource type before it starts execution. When a process requests additional resources, the algorithm checks if granting the request will keep the system in a safe state. If so, the resources are allocated; otherwise the process must wait until its request can be safely fulfilled.

    1. APriority Queue
    2. BHash table
    3. CWait-for-Graph
    4. DMatrices and Vectors

    Answer: (D) Matrices and Vectors

    Explanation

    Sign in to read the full explanation
  18. What is the significance of the Banker's
    algorithm in terms of resource
    management?

    The Banker’s Algorithm is a critical deadlock avoidance method in operating systems, designed to facilitate resource allocation without causing deadlock. It operates by maintaining information about the maximum resources each process may require, the currently allocated resources and the available resources in the system. The algorithm checks each resource request to determine if granting it would leave the system in a safe state, meaning that there is always a sequence in which all processes can complete their execution without getting stuck due to resource unavailability. Each process must specify its maximum demand for each resource type before it starts execution. When a process requests additional resources, the algorithm checks if granting the request will keep the system in a safe state. If so, the resources are allocated; otherwise the process must wait until its request can be safely fulfilled.

    1. AIt enures that all processes can finish their execution without deadlock.
    2. BIt eliminates the need for processes to request resources.
    3. CIt accelerates the execution of critical sections in processes.
    4. DIt minimizes the number of context switches between processes.

    Answer: (A) It enures that all processes can finish their execution without deadlock.

    Explanation

    Sign in to read the full explanation
  19. What is the primary goal of the Banker's
    Algorithm?

    The Banker’s Algorithm is a critical deadlock avoidance method in operating systems, designed to facilitate resource allocation without causing deadlock. It operates by maintaining information about the maximum resources each process may require, the currently allocated resources and the available resources in the system. The algorithm checks each resource request to determine if granting it would leave the system in a safe state, meaning that there is always a sequence in which all processes can complete their execution without getting stuck due to resource unavailability. Each process must specify its maximum demand for each resource type before it starts execution. When a process requests additional resources, the algorithm checks if granting the request will keep the system in a safe state. If so, the resources are allocated; otherwise the process must wait until its request can be safely fulfilled.

    1. ATo allocate resources optimally
    2. BTo prevent processes from requesting resources
    3. CTo detect and recover from deadlocks
    4. DTo maximise CPU utilization

    Answer: (A) To allocate resources optimally

    Explanation

    Sign in to read the full explanation
  20. What information is used to determine if
    a resource request can be granted ?

    The Banker’s Algorithm is a critical deadlock avoidance method in operating systems, designed to facilitate resource allocation without causing deadlock. It operates by maintaining information about the maximum resources each process may require, the currently allocated resources and the available resources in the system. The algorithm checks each resource request to determine if granting it would leave the system in a safe state, meaning that there is always a sequence in which all processes can complete their execution without getting stuck due to resource unavailability. Each process must specify its maximum demand for each resource type before it starts execution. When a process requests additional resources, the algorithm checks if granting the request will keep the system in a safe state. If so, the resources are allocated; otherwise the process must wait until its request can be safely fulfilled.

    1. AAvailable resources and current allocation of each process
    2. BCPU utilization of each process
    3. CNumber of processes waiting for resources
    4. DArrival time of each process

    Answer: (A) Available resources and current allocation of each process

    Explanation

    Sign in to read the full explanation
  21. What is the output of the following program ? # include <stdio.h> # define SQR(x) (x*x) int main () {int a, b=3; a=SQR(b+2); printf("%d",a); return 0; }

    1. A25
    2. B11
    3. CGarbage value
    4. D24

    Answer: (B) 11

    Explanation

    Sign in to read the full explanation
  22. The head of a moving head disk with 200 tracks, numbered 0 to 199, has just finished a request at track 125, and currently serving a request at track 143. The queue of requests is given in the FIFO order as 86, 147, 91, 177, 94, 150, 102, 175, 130. What will be the total number of head movements required to satisfy these requests for SCAN algorithm ?

    1. A259 cylinders
    2. B169 cylinders
    3. C154 cylinders
    4. D264 cylinders

    Answer: (B) 169 cylinders

    Explanation

    Sign in to read the full explanation
  23. Given as 4 GB (= 4.3 x 10° bytes) of virtual space and typical page size of 4 KB and each page table entry is 5 bytes. How many virtual pages would this imply ? What is the size of whole page table ?

    1. A107500 and 20480 bytes
    2. B215000 and 40960 bytes
    3. C10750 and 10240 bytes
    4. D43000 and 1024 bytes

    Answer: (A) 107500 and 20480 bytes

    Explanation

    Sign in to read the full explanation
  24. In Linux, where is the user password stored ?

    1. A/etc/password
    2. B/root/password
    3. C/etc/passwd
    4. D/root/passwd

    Answer: (C) /etc/passwd

    Explanation

    Sign in to read the full explanation
  25. Indexed/ grouped allocation is useful as :
    A. It supports both sequential and direct access.
    B. Entire block is available for data.
    C. It does not require lots of space for keeping pointers.
    D. No external fragmentation. Choose the correct answer from the options given below :

    1. A(A) Only
    2. B(B) and (C) Only
    3. C(B) Only
    4. D(A), (B) and (D) Only

    Answer: (D) (A), (B) and (D) Only

    Explanation

    Sign in to read the full explanation
  26. Practise System Software and Operating System in a timed set
  27. Which of the following statements are CORRECT ?
    A. A process always check state of currently executing process to enter critical schema.
    B. Spin locks uses busy waiting.
    C. Periodically testing a variable until some value appear is known as busy waiting.
    D. Critical region is a part of program, where shared memory is kept.
    E. Printer daemon, continuously checks to see if there are any file to be printed. Choose the correct answer from the options given below :

    1. A(A) and (B) Only
    2. B(B) and (C) Only
    3. C(B) and (D) Only
    4. D(B) and (B) Only

    Answer: (C) (B) and (D) Only

    Explanation

    Sign in to read the full explanation
  28. The steps for analysis and design of object oriented system.
    A. Draw interaction diagrams
    B. Draw state chart and object diagram
    C. Draw use case and activity diagram
    D. Draw component and deployment diagram
    E. Draw class diagram Choose the correct answer from the options given below :

    1. AE → B → A → C → D
    2. BB → A → E → D → C
    3. CE → C → B → D → A
    4. DC → A → E → B → D

    Answer: (D) C → A → E → B → D

    Explanation

    Sign in to read the full explanation
  29. Arrange the following levels of interrupt protection within the Linux Kernel, in the order of increasing priority.
    A. user mode programs
    B. bottom half interrupt handlers
    C. kernel system service routines
    D. top half interrupt handlers Choose the correct answer from the options given below : ()
    A. ,
    B. , (P), ©

    1. ASource option 1: visual review required
    2. B(A), ©, (8), ©)
    3. C(A), ©, (), @)
    4. D(D), (A), (©), (B)

    Answer: (B) (A), ©, (8), ©)

    Explanation

    Sign in to read the full explanation
  30. Result of *{x.s=y.s¥ is : [s|s[ec] er]. | J 1 M S, | CA B | 2/]N 1] P, | AB M |r |s3]uH |v, |} ve £ 4 G | Null] Null [s[s [ec] Pr]o] J 1 M S, | CA B}| 2 | N | P, | AB

    X (S, Si, C)Y (S, P, D)

    (J, 1, M)

    (B, 2, N)

    (R, 3, H)

    (T, 4, G)

    (J, S₁, CA)

    (B, P₁, AB)

    (R, D₁, DC)

    (A, H₁, MD)

    1. A(J, 1, M, S₁, CA); (B, 2, N, P₁, AB); (R, 3, H, D₁, DC); (T, 4, G, Null, Null)
    2. B(J, 1, M, S₁, CA); (B, 2, N, P₁, AB); (R, 3, H, D₁, DC); (A, Null, Null, H₁, MD)
    3. C(J, 1, M, S₁, CA); (B, 2, N, P₁, AB); (R, 3, H, D₁, DC); (T, 4, G, Null, MD); (A, Null, Null, H₁, Null)
    4. DNone of these

    Answer: (B) (J, 1, M, S₁, CA); (B, 2, N, P₁, AB); (R, 3, H, D₁, DC); (A, Null, Null, H₁, MD)

    Explanation

    Sign in to read the full explanation
  31. A machine has 3 page frames and the reference stream A, B, C, D, A, B, E, A, B, C, D, E, B, A, B. If P and Q are the page faults under FIFO and LRU respectively, what is (P, Q)?

    1. A(11, 10)
    2. B(12, 11)
    3. C(10, 11)
    4. D(11, 12)

    Answer: (D) (11, 12)

    Explanation

    Sign in to read the full explanation
  32. A disk has 60 cylinders. Requests are 10, 22, 20, 2, 40, 6, 38; the head starts at 20. Movement by one cylinder takes 2 ms. Under SSTF, what is the total service time?

    1. A240 milliseconds
    2. B96 milliseconds
    3. C120 milliseconds
    4. D112 milliseconds

    Answer: (C) 120 milliseconds

    Explanation

    Sign in to read the full explanation
  33. A Linux filesystem has 2 KB blocks and 32-bit disk addresses. An i-node has 12 direct pointers, one single-indirect pointer, and one double-indirect pointer. Approximately what is the largest representable file?

    1. A513 Kbytes
    2. B513 Mbytes
    3. C537 Mbytes
    4. D537 Kbytes

    Answer: (B) 513 Mbytes

    Explanation

    Sign in to read the full explanation
  34. In a single-level page-table system with the page table in memory, TLB hit rate is 80%. TLB search takes 15 ns and a main-memory access takes 150 ns. What is the effective memory access time?

    1. A185
    2. B195
    3. C205
    4. D175

    Answer: (B) 195

    Explanation

    Sign in to read the full explanation
  35. Assuming that the system call fork () never fails, consider the following C programs P1 and
    P2 executed on a UNIX / Linux system:

    /*P1+] j= P2+]
    int main () { int main () {
    fork (): fork ():
    fork (): printf("Happy\n"):
    fork (): fork()
    printf("Happy\n"): printf("Happy\n"):
    } fork( ):
    printf("Happy\n");
    }

    Statement I: P1 displays "Happy" 8 times.

    Statement II: P2 displays "Happy" 12 times.

    In the light of the above statements, choose the correct answer from the options given below

    1. ABoth Statement I and Statement II are true
    2. BBoth Statement I and Statement II are false
    3. CStatement I is correct but Statement II is false
    4. DStatement I is incorrect but Statement II is true.

    Answer: (C) Statement I is correct but Statement II is false

    Explanation

    Sign in to read the full explanation
  36. A disk has the parameters shown in the table. If T is the capacity of one track and S is the capacity of one surface, what is (T,S)?

    Disk parameterValue
    Sector size512 bytes
    Tracks per surface2,000
    Sectors per track50
    Platters5 double-sided
    Average seek time10 ms
    1. A(50 K, 50,000 K)
    2. B(25 K, 25,000 K)
    3. C(25 K, 50,000 K)
    4. D(40 K, 36,000 K)

    Answer: (C) (25 K, 50,000 K)

    Explanation

    Sign in to read the full explanation
  37. Using the disk parameters shown in the table, what is the disk capacity?

    Disk parameterValue
    Sector size512 bytes
    Tracks per surface2,000
    Sectors per track50
    Platters5 double-sided
    Average seek time10 ms
    1. A25,000 K
    2. B500,000 K
    3. C250,000 K
    4. D50,000 K

    Answer: (B) 500,000 K

    Explanation

    Sign in to read the full explanation
  38. Using the disk parameters shown in the table, assess the statements.

    Statement I: The disk has 2,000 cylinders.
    Statement II: 51,200 bytes is not a valid block size for this disk.

    Disk parameterValue
    Sector size512 bytes
    Tracks per surface2,000
    Sectors per track50
    Platters5 double-sided
    Average seek time10 ms
    1. ABoth statements are true.
    2. BBoth statements are false.
    3. CStatement I is true but Statement II is false.
    4. DStatement I is false but Statement II is true.

    Answer: (A) Both statements are true.

    Explanation

    Sign in to read the full explanation
  39. If the disk rotates at 5,400 rpm, approximately what is the maximum rotational delay?

    Disk parameterValue
    Sector size512 bytes
    Tracks per surface2,000
    Sectors per track50
    Platters5 double-sided
    Average seek time10 ms
    1. A0.011 seconds
    2. B0.11 seconds
    3. C0.0011 seconds
    4. D1.1 seconds

    Answer: (A) 0.011 seconds

    Explanation

    Sign in to read the full explanation
  40. If one track can be transferred per revolution, what is the data-transfer rate for the disk in the table rotating at 5,400 rpm?

    Disk parameterValue
    Sector size512 bytes
    Tracks per surface2,000
    Sectors per track50
    Platters5 double-sided
    Average seek time10 ms
    1. A2,850 KBytes/second
    2. B4,500 KBytes/second
    3. C5,700 KBytes/second
    4. D2,250 KBytes/second

    Answer: (D) 2,250 KBytes/second

    Explanation

    Sign in to read the full explanation

Frequently asked questions

How many System Software and Operating System questions have been asked in UGC NET Computer Science?

39 System Software and Operating System questions appear in the UGC NET Computer Science papers held between 2020–2025, and all of them are on this page with their answer key.

Are the answers on this page free?

Yes. Every question, its options, and the correct answer are free to read with no account. Signing in additionally unlocks the detailed explanation under each question.

Is System Software and Operating System an important topic for UGC NET Computer Science?

System Software and Operating System appears in every recent UGC NET Computer Science paper, across all 4 sittings covered here. Its share of the paper makes it worth revising thoroughly rather than sampling.

How should I practise System Software and Operating System after reading these questions?

Attempt the System Software and Operating System topic-wise sets, which put the same questions into a timed interface with instant scoring and weak-area analysis afterwards.

More Computer Science PYQs by topic

More Computer Science practice

Ready for a full paper?

Attempt Paper 1 + Paper 2 (Computer Science) together in a single timed session.

Full Mock Tests →