Preparing your form...
|System Software and Operating System PYQs

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

Practise 156 System Software and Operating System questions asked in UGC NET Computer Science from 2018–2026. 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.

156 PYQs2018–2026Answers 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 156 System Software and Operating System PYQs

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

  1. Which technology enables the creation of virtual servers in a cloud-computing environment?

    1. ADNS server
    2. BHypervisor
    3. CFirewall
    4. DLoad balancer

    Answer: (B) Hypervisor

    Explanation

    Sign in to read the full explanation
  2. In rate-monotonic scheduling, a task has a period of 80 ms and an execution time of 55 ms. What are its processor utilisation and task rate?

    1. A0.69, 12.5 Hz
    2. B0.58, 12.3 Hz
    3. C0.48, 11.4 Hz
    4. D0.38, 10.5 Hz

    Answer: (A) 0.69, 12.5 Hz

    Explanation

    Sign in to read the full explanation
  3. Match List-I with List-II.

    List-IList-II
    A. Macros
    B. Assembler
    C. Loader
    D. Compiler
    I. Converts high-level code to object (machine) code
    II. Used for code expansion
    III. Used to translate assembly-language code to object code
    IV. Used to allocate memory and relocate a program in memory
    1. AA-IV, B-III, C-I, D-II
    2. BA-II, B-III, C-I, D-IV
    3. CA-II, B-III, C-IV, D-I
    4. DA-IV, B-I, C-III, D-II

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

    Explanation

    Sign in to read the full explanation
  4. Match List-I with List-II.

    List-IList-II
    A. Latency
    B. Delay
    C. Throughput
    D. Interrupt
    I. Number of tasks completed in a given time period
    II. Causes the current activity to be deferred
    III. Time elapsed before next activity starts
    IV. Time to complete a single task
    1. AA-I, B-III, C-II, D-IV
    2. BA-III, B-IV, C-I, D-II
    3. CA-IV, B-II, C-III, D-I
    4. DA-IV, B-III, C-I, D-II

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

    Explanation

    Sign in to read the full explanation
  5. For disk tracks numbered 0–49, the head starts at 15 and requests arrive for 4, 40, 11, 35, 7, and 14. Order these algorithms by total head movement in ascending order, assuming initial movement toward higher-numbered tracks when required.

    A. FCFS
    B. LOOK
    C. SSTF
    D. SCAN

    1. AC, B, D, A
    2. BB, A, C, D
    3. CC, D, B, A
    4. DD, B, C, A

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

    Explanation

    Sign in to read the full explanation
  6. Match List-I with List-II.

    List-IList-II
    A. Disk scheduling
    B. Batch processing
    C. Time sharing
    D. Interrupt processing
    I. Round robin
    II. SCAN
    III. LIFO
    IV. FIFO
    1. AA-III, B-IV, C-II, D-I
    2. BA-IV, B-III, C-II, D-I
    3. CA-II, B-IV, C-I, D-III
    4. DA-II, B-I, C-IV, D-III

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

    Explanation

    Sign in to read the full explanation
  7. Which is not a characteristic of linked-list file allocation?

    1. ANo space is lost to external disk fragmentation, apart from possible internal fragmentation in the final block
    2. BReading files or random access is very fast
    3. CThe data portion of a block is reduced because a pointer occupies some bytes
    4. DThe disadvantages can be mitigated with a main-memory File Allocation Table (FAT)

    Answer: (B) Reading files or random access is very fast

    Explanation

    Sign in to read the full explanation
  8. For the reference string 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7,0,1 with three frames, what is the hit ratio under optimal page replacement?

    1. A11/20
    2. B10/20
    3. C9/20
    4. D12/20

    Answer: (A) 11/20

    Explanation

    Sign in to read the full explanation
  9. Which of the following is not an interprocess communication mechanism in UNIX?

    1. APipes
    2. BMessages
    3. CShared memory
    4. DSemaphore

    Answer: (D) Semaphore

    Explanation

    Sign in to read the full explanation
  10. Match List-I (CPU schedulers) with List-II.

    List-IList-II
    A. Short term schedulerI. Determine which processes are added to the system for execution and place them in the ready queue
    B. Medium term schedulerII. Select which process should be executed next and allocate CPU time
    C. Long term schedulerIII. Manage the degree of multiprogramming by swapping processes between main memory and disk storage
    D. I/O SchedulerIV. Order the input/output requests from processes waiting for I/O operations
    1. AA-I, B-IV, C-II, D-III
    2. BA-III, B-II, C-I, D-IV
    3. CA-II, B-III, C-I, D-IV
    4. DA-I, B-II, C-III, D-IV

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

    Explanation

    Sign in to read the full explanation
  11. Consider the following set of processes, all of which arrive at time 0 in the order P1, P2, P3, P4 and P5, with the CPU burst time given in milliseconds. Based on the table, what is the average waiting time (in milliseconds) using priority scheduling? Assume a lower priority number indicates higher priority.

    ProcessBurst Time (ms)Priority
    P1103
    P211
    P324
    P415
    P552
    1. A8
    2. B8.2
    3. C8.3
    4. D8.4

    Answer: (B) 8.2

    Explanation

    Sign in to read the full explanation
  12. Consider a disk queue with requests for I/O to blocks on cylinders 98, 183, 37, 122, 14, 124, 65, 67 in that order. The disk head is initially at cylinder 53.

    Using SSTF scheduling, arrange the following cylinders in the order the head visits them.

    A. 67
    B. 37
    C. 65
    D. 98
    E. 14

    1. AA, B, C, D, E
    2. BC, A, E, B, D
    3. CC, A, B, E, D
    4. DA, C, D, B, E

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

    Explanation

    Sign in to read the full explanation
  13. Assertion (A): Thrashing occurs when a process spends more time on paging than executing.
    Reason (R): It happens when the degree of multiprogramming is too low and frames are insufficient.

    1. ABoth A and R are correct and R is the correct explanation of A
    2. BBoth A and R are correct but R is NOT the correct explanation of A
    3. CA is correct but R is not correct
    4. DA is not correct but R is correct

    Answer: (C) A is correct but R is not correct

    Explanation

    Sign in to read the full explanation
  14. Match List-I (OS and distributed-systems terms) with List-II.

    List-IList-II
    A. System CallI. A process requests a function that is located in a different computer system.
    B. PreemptionII. A request that a program makes to the operating system.
    C. Real time applicationIII. The forced deallocation of the CPU from a process.
    D. Remote procedure callIV. A program that responds to activities in an external system within a maximum time determined by that external system.
    1. AA-I, B-II, C-III, D-IV
    2. BA-II, B-III, C-IV, D-I
    3. CA-IV, B-III, C-II, D-I
    4. DA-II, B-III, C-I, D-IV

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

    Explanation

    Sign in to read the full explanation
  15. Which of the following is correct about Real time operating system?

    A. It permits creation of multiple processes within an application.
    B. It does not permit priorities to be assigned to processes.
    C. It permits a programmer to define interrupts and interrupt processing routines.
    D. It does not use priority-driven or deadline-oriented scheduling.
    E. It provides fault tolerance and graceful degradation capabilities.

    1. AA, B & D Only
    2. BB, C & D Only
    3. CA, C & E Only
    4. DB, D & E Only

    Answer: (C) A, C & E Only

    Explanation

    Sign in to read the full explanation
  16. What does a superblock object represent in the virtual file system of a Linux OS?

    1. Aan open file
    2. Ban entire file system
    3. Cindividual directory entry
    4. Dan individual file

    Answer: (B) an entire file system

    Explanation

    Sign in to read the full explanation
  17. Using non-preemptive SJF and Round Robin with time quantum 10, which process finishes second last in each schedule?

    ProcessBurst timeArrival time
    P190
    P2300
    P340
    P482
    P5116
    1. ASJF: P4; RR: P4
    2. BSJF: P5; RR: P4
    3. CSJF: P4; RR: P3
    4. DSJF: P5; RR: P5

    Answer: (D) SJF: P5; RR: P5

    Explanation

    Sign in to read the full explanation
  18. Which statement about Pthreads is correct?

    1. AIt refers to POSIX standard IEEE 1002.1c.
    2. BThe standard defines an API only for thread creation.
    3. CIt specifies thread behaviour but not an implementation.
    4. DSolaris, Linux, and macOS, except Tru64 UNIX, implement Pthreads.

    Answer: (C) It specifies thread behaviour but not an implementation.

    Explanation

    Sign in to read the full explanation
  19. On average, 10 processes arrive each second and 20 processes are normally in the queue. What is the average waiting time per process?

    1. A3 seconds
    2. B2 seconds
    3. C18 seconds
    4. D9 seconds

    Answer: (B) 2 seconds

    Explanation

    Sign in to read the full explanation
  20. What is the total swap time (swap-in and swap-out) for a 15 MB process at a transfer rate of 30 MB/s, with average latency 12 ms and no head seeks?

    1. A1.024 s
    2. B1.00 s
    3. C0.512 s
    4. D12 s

    Answer: (A) 1.024 s

    Explanation

    Sign in to read the full explanation
  21. Arrange Linux interrupt-protection levels from increasing priority: user-mode programs, preemptible kernel system-service routines, bottom-half interrupt handlers, and top-half interrupt handlers.

    1. AB → A → C → D
    2. BC → B → A → D
    3. CC → A → B → D
    4. DA → D → B → C

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

    Explanation

    Sign in to read the full explanation
  22. Which sequence gives the hierarchy of a layered file system from application level down to I/O control?

    1. AA → B → D → C → E
    2. BD → E → C → A → B
    3. CE → A → B → C → D
    4. DE → C → B → A → D

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

    Explanation

    Sign in to read the full explanation
  23. Arrange virtualization steps in a cloud environment: install a hypervisor, create virtual machines, allocate their resources, and run isolated workloads.

    1. AB, C, A, D
    2. BA, B, C, D
    3. CA, C, B, D
    4. DB, C, D, A

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

    Explanation

    Sign in to read the full explanation
  24. Once a process is executing, which events could not occur: issuing I/O then joining the ready queue; creating a child and waiting for it; time-slice expiry then joining the waiting queue; or interrupt-driven removal then joining the waiting queue?

    1. AB only
    2. BD only
    3. CA and C only
    4. DA, C, and D only

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

    Explanation

    Sign in to read the full explanation
  25. Which statement about spinlock semaphores is correct?

    1. AThey are busy-waiting semaphores.
    2. BThey are not useful when locks are held briefly.
    3. CWaiting for one may require multiple context switches.
    4. DThey are often employed on uniprocessor systems.

    Answer: (A) They are busy-waiting semaphores.

    Explanation

    Sign in to read the full explanation
  26. Practise System Software and Operating System in a timed set
  27. Match clustered page table, hierarchical page table, segmentation, and inverted page table with their characteristics.

    List IList II
    A. Clustered Page TableI. Generally inappropriate for 64-bit architectures
    B. Hierarchical Page TableII. One entry for each real page/frame
    C. SegmentationIII. Useful for sparse address spaces
    D. Inverted Page TableIV. Supports a user view of the system
    1. AA-III, B-IV, C-II, D-I
    2. BA-III, B-I, C-IV, D-II
    3. CA-II, B-III, C-I, D-IV
    4. DA-IV, B-II, C-I, D-III

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

    Explanation

    Sign in to read the full explanation
  28. Match RAID levels 2, 3, 5, and 6 with their organizations.

    List IList II
    A. RAID Level 2I. Block-interleaved distributed parity
    B. RAID Level 3II. P+Q redundancy scheme
    C. RAID Level 5III. Bit-interleaved parity
    D. RAID Level 6IV. Memory-style error-correcting code organization
    1. AA-IV, B-III, C-I, D-II
    2. BA-III, B-IV, C-I, D-II
    3. CA-I, B-III, C-IV, D-II
    4. DA-II, B-IV, C-I, D-III

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

    Explanation

    Sign in to read the full explanation
  29. Using FCFS disk scheduling, what is the total head movement for request queue 45, 81, 185, 33, 175, 99, 150, 77 with initial head location 58?

    1. A536
    2. B594
    3. C647
    4. D700

    Answer: (C) 647

    Explanation

    Sign in to read the full explanation
  30. Using SSTF disk scheduling, what is the total head movement for request queue 45, 81, 185, 33, 175, 99, 150, 77 with initial head location 58?

    1. A160
    2. B124
    3. C177
    4. D240

    Answer: (C) 177

    Explanation

    Sign in to read the full explanation
  31. For SCAN moving left from initial head location 58, what is the second request processed for queue 45, 81, 185, 33, 175, 99, 150, 77?

    1. A81
    2. B45
    3. C33
    4. D175

    Answer: (C) 33

    Explanation

    Sign in to read the full explanation
  32. For C-SCAN moving right from initial head location 58, what is the total head movement for queue 45, 81, 185, 33, 175, 99, 150, 77?

    1. A327
    2. B307
    3. C525
    4. D385

    Answer: (D) 385

    Explanation

    Sign in to read the full explanation
  33. For C-LOOK moving right from initial head location 58, what is the second request processed for queue 45, 81, 185, 33, 175, 99, 150, 77?

    1. A81
    2. B45
    3. C77
    4. D33

    Answer: (A) 81

    Explanation

    Sign in to read the full explanation
  34. 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
  35. 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
  36. 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
  37. 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
  38. 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
  39. 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
  40. 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
  41. 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
  42. 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
  43. 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
  44. 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
  45. 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
  46. 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
  47. 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
  48. 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
  49. 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
  50. 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
  51. 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
  52. Practise System Software and Operating System in a timed set
  53. 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
  54. 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
  55. 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
  56. 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
  57. 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
  58. 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
  59. 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
  60. 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
  61. 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
  62. 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
  63. 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
  64. Match List-I with List-II.

    List IList II
    A. LRUI. A page is written to secondary memory only when it has been selected for replacement
    B. Demand cleaningII. A page that has not been referenced for the longest time is replaced
    C. Long term schedulingIII. The decision to add to the number of processes that are partially or fully in main memory
    D. Medium term schedulingIV. The decision to add to the pool of processes to be executed
    1. A(A)-(II), (B)-(I), (C)-(IV), (D)-(III)
    2. B(A)-(I), (B)-(II), (C)-(IV), (D)-(III)
    3. C(A)-(I), (B)-(II), (C)-(III), (D)-(IV)
    4. D(A)-(IV), (B)-(III), (C)-(I), (D)-(II)

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

    Explanation

    Sign in to read the full explanation
  65. Assertion (A): I/O protection is ensured by a hardware trap.
    Reason (R): I/O interrupt is caused by conditions like I/O completion and device malfunction occurring within the I/O devices.

    1. ABoth A and R are true and R is the correct explanation of A
    2. BBoth A and R are true but R is NOT the correct explanation of A
    3. CA is true but R is false
    4. DA is false but R is true

    Answer: (B) Both A and R are true but R is NOT the correct explanation of A

    Explanation

    Sign in to read the full explanation
  66. Consider a disk system with 100 cylinders. The request sequence is 4, 34, 10, 7, 19, 73, 2, 15, 6, 20. If the head is initially at cylinder 50 and it takes 1 ms to move from one cylinder to the adjacent cylinder, then using shortest seek time first (SSTF) scheduling, the total seek time is

    1. A119 ms
    2. B120 ms
    3. C142 ms
    4. D146 ms

    Answer: (A) 119 ms

    Explanation

    Sign in to read the full explanation
  67. A virtual memory system uses the first-in first-out (FIFO) page replacement policy and allocates a fixed number of frames to a process.

    Assertion (A): Increasing the number of page frames allocated to a process sometimes increases the page fault rate.
    Reason (R): Some programs do not exhibit locality of reference.

    1. ABoth A and R are true and R is the correct explanation of A
    2. BBoth A and R are true but R is NOT the correct explanation of A
    3. CA is true but R is false
    4. DA is false but R is true

    Answer: (B) Both A and R are true but R is NOT the correct explanation of A

    Explanation

    Sign in to read the full explanation
  68. At a particular time of computation, the value of a counting semaphore is 7. Then 20 P operations and x V operations were completed on this semaphore. If the final value of the semaphore is 5, x will be

    1. A15
    2. B22
    3. C18
    4. D13

    Answer: (C) 18

    Explanation

    Sign in to read the full explanation
  69. Consider the following statements:
    S1: The LRU page replacement algorithm suffers from Belady's anomaly.
    S2: Shortest remaining time first (SRTF) scheduling may cause starvation.
    S3: The stack is shared by all threads in a process.

    1. AS1, S2 and S3 are true
    2. BS1, S3 false and S2 is true
    3. CS1, S2 are false and S3 is true
    4. DS1, S2 and S3 are false

    Answer: (B) S1, S3 false and S2 is true

    Explanation

    Sign in to read the full explanation
  70. Consider arrival time and burst time for three processes P0, P1, P2:
    P0: arrival 0 ms, burst 7
    P1: arrival 1 ms, burst 3
    P2: arrival 2 ms, burst 7

    Using pre-emptive shortest job first (SRTF) scheduling, scheduling carried out only at arrival or completion of a process. What is the average waiting time for the three processes?

    1. A3 ms
    2. B3.67 ms
    3. C4.47 ms
    4. D4 ms

    Answer: (B) 3.67 ms

    Explanation

    Sign in to read the full explanation
  71. Which of the following statement/s is/are correct with respect to virtual memory?

    Statement I: Address translation is performed for every logical address used during the execution of a program
    Statement II: A program can execute only when all of its components are loaded in the memory

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

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

    Explanation

    Sign in to read the full explanation
  72. Match List I with List II on operating system synchronization concepts.

    List-IList-II
    A. Critical regionI. Hoare's monitor
    B. Wait signalII. Mutual exclusion
    C. Working setIII. Principle of locality
    D. DeadlockIV. Circular wait

    List I / List II: operating system synchronization and memory concepts

    1. AA-IV, B-I, C-III, D-II
    2. BA-II, B-I, C-III, D-IV
    3. CA-I, B-II, C-III, D-IV
    4. DA-IV, B-III, C-I, D-II

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

    Explanation

    Sign in to read the full explanation
  73. Assertion (A): A process involves a library function to create a thread.
    Reason (R): The threads make system calls to convey their resource and I/O requirement to the Kernel.

    Choose the correct answer from the options given below.

    1. ABoth A and R are true and R is the correct explanation of A
    2. BBoth A and R are true but R is NOT the correct explanation of A
    3. CA is true but R is false
    4. DA is false but R is true

    Answer: (B) Both A and R are true but R is NOT the correct explanation of A

    Explanation

    Sign in to read the full explanation
  74. If table T is stored in row-major order, what is the main memory hit ratio produced by this access pattern?

    A table T holds 17 rows (i = 0 to 16) and 1024 columns (j = 0 to 1023) of 32-bit floating-point values. The following program computes the average of each column:

    for j = 0 to 1023:
        temp = 0
        for i = 0 to 16:
            temp = temp + T[i][j]
        print(temp / 17.0)
    

    Memory is word-addressable, and each word holds one float, so every access to T[i][j] is one memory reference. temp is held in a processor register, so its updates cost no memory reference. Main memory is paged, with 16 page frames of 1024 words each, and the LRU page replacement policy is used.

    1. A0
    2. B1
    3. C2
    4. D3

    Answer: (A) 0

    Explanation

    Sign in to read the full explanation
  75. If table T is instead stored in column-major order, what is the main memory hit ratio produced by this access pattern?

    A table T holds 17 rows (i = 0 to 16) and 1024 columns (j = 0 to 1023) of 32-bit floating-point values. The following program computes the average of each column:

    for j = 0 to 1023:
        temp = 0
        for i = 0 to 16:
            temp = temp + T[i][j]
        print(temp / 17.0)
    

    Memory is word-addressable, and each word holds one float, so every access to T[i][j] is one memory reference. temp is held in a processor register, so its updates cost no memory reference. Main memory is paged, with 16 page frames of 1024 words each, and the LRU page replacement policy is used.

    1. A80%
    2. B95.6%
    3. C97.8%
    4. D99.9%

    Answer: (D) 99.9%

    Explanation

    Sign in to read the full explanation
  76. If table T is stored in column-major order, how many page faults does this program encounter?

    A table T holds 17 rows (i = 0 to 16) and 1024 columns (j = 0 to 1023) of 32-bit floating-point values. The following program computes the average of each column:

    for j = 0 to 1023:
        temp = 0
        for i = 0 to 16:
            temp = temp + T[i][j]
        print(temp / 17.0)
    

    Memory is word-addressable, and each word holds one float, so every access to T[i][j] is one memory reference. temp is held in a processor register, so its updates cost no memory reference. Main memory is paged, with 16 page frames of 1024 words each, and the LRU page replacement policy is used.

    1. A14
    2. B15
    3. C16
    4. D17

    Answer: (D) 17

    Explanation

    Sign in to read the full explanation
  77. If table T is stored in row-major order, how many page faults does this program encounter?

    A table T holds 17 rows (i = 0 to 16) and 1024 columns (j = 0 to 1023) of 32-bit floating-point values. The following program computes the average of each column:

    for j = 0 to 1023:
        temp = 0
        for i = 0 to 16:
            temp = temp + T[i][j]
        print(temp / 17.0)
    

    Memory is word-addressable, and each word holds one float, so every access to T[i][j] is one memory reference. temp is held in a processor register, so its updates cost no memory reference. Main memory is paged, with 16 page frames of 1024 words each, and the LRU page replacement policy is used.

    1. A16,402
    2. B17,408
    3. C18,208
    4. D18,608

    Answer: (B) 17,408

    Explanation

    Sign in to read the full explanation
  78. Practise System Software and Operating System in a timed set
  79. What is the ratio of page faults between the row-major and column-major arrangements of table T?

    A table T holds 17 rows (i = 0 to 16) and 1024 columns (j = 0 to 1023) of 32-bit floating-point values. The following program computes the average of each column:

    for j = 0 to 1023:
        temp = 0
        for i = 0 to 16:
            temp = temp + T[i][j]
        print(temp / 17.0)
    

    Memory is word-addressable, and each word holds one float, so every access to T[i][j] is one memory reference. temp is held in a processor register, so its updates cost no memory reference. Main memory is paged, with 16 page frames of 1024 words each, and the LRU page replacement policy is used.

    1. A1024:1
    2. B1301:1
    3. C1240:1
    4. D9107:8

    Answer: (A) 1024:1

    Explanation

    Sign in to read the full explanation
  80. Machine Level Language is a/an

    1. AAssembly Language
    2. BLow Level Language
    3. CHigh level Language
    4. DTranslating Language

    Answer: (B) Low Level Language

    Explanation

    Sign in to read the full explanation
  81. In Linux Operating System, when ______ is invoked, it is passed a set of flags that determine how much sharing is to take place between the parent and child tasks.

    1. Afork()
    2. Bclone()
    3. Cpthread()
    4. Dthread()

    Answer: (B) clone()

    Explanation

    Sign in to read the full explanation
  82. The main function of the microkernel is to provide a communication facility between the ______ program and the various ______ that are also running in user space.

    1. AVirtual, Processes
    2. BSystem, Processes
    3. CClient, Services
    4. DVirtual, Services

    Answer: (C) Client, Services

    Explanation

    Sign in to read the full explanation
  83. Consider an operating system capable of loading and executing a single sequential user process at a time. The disk head scheduling algorithm used is first come first served (FCFS). If FCFS is replaced by shortest seek time first (SSTF) and the vendor claims 50% better benchmark results, what is the expected improvement in the I/O performance of user programs?

    1. A50%
    2. B100%
    3. C25%
    4. D0%

    Answer: (D) 0%

    Explanation

    Sign in to read the full explanation
  84. For the following set of processes scheduled using FCFS policy, determine the average waiting time. Assume that the processes arrived in the order P1, P2, P3, P4.

    ProcessBurst Time (ms)
    P18
    P215
    P310
    P47

    Burst times for processes P1-P4

    1. A8
    2. B16
    3. C32
    4. D48

    Answer: (B) 16

    Explanation

    Sign in to read the full explanation
  85. Which of the statement is not true in regards to virtual memory?

    1. AThe main objective for using virtual memory is to increase the effective capacity of the memory system
    2. BSize of the program can be as large as the size of the secondary memory
    3. CProgram and data are stored in the secondary memory
    4. DNone of these

    Answer: (D) None of these

    Explanation

    Sign in to read the full explanation
  86. Which of the following statements are true?

    A. Shortest remaining time first scheduling may cause starvation
    B. Preemptive scheduling may cause starvation
    C. Round robin is better than FCFS in terms of response time

    Choose the correct answer from the options given below:

    1. AA only
    2. BB, C only
    3. CA, B only
    4. DA, B, C

    Answer: (D) A, B, C

    Explanation

    Sign in to read the full explanation
  87. In design protocol of critical section problem, each process must ask permission to enter critical section in ____ code, it then executes in the critical section, once it finishes executing in the critical section it enters the ____ code. The process then enters the ____ code.

    1. Aentry section, remainder section, exit section
    2. Bentry section, exit section, remainder section
    3. Cremainder section, entry section, exit section
    4. Dremainder section, exit section, entry section

    Answer: (B) entry section, exit section, remainder section

    Explanation

    Sign in to read the full explanation
  88. Match List I with List II.

    List-IList-II
    A. IPCI. Resource Allocation
    B. Demand PagingII. Computational speedup
    C. Banker's AlgorithmIII. Task Control Block
    D. PCBIV. Virtual Memory

    List I and List II for the matching question

    1. AA-II, B-I, C-IV, D-III
    2. BA-II, B-IV, C-I, D-III
    3. CA-I, B-II, C-III, D-IV
    4. DA-II, B-III, C-I, D-IV

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

    Explanation

    Sign in to read the full explanation
  89. Select the correct order of events after power is initialized on a system.

    A. Bootstrap loader is loaded from the disk
    B. Kernel is loaded onto the memory
    C. Firmware ROM loads boot block

    Choose the correct answer from the options given below:

    1. AB, C, A
    2. BC, A, B
    3. CA, B, C
    4. DA, C, B

    Answer: (B) C, A, B

    Explanation

    Sign in to read the full explanation
  90. An OS follows round-robin scheduling with time quantum of 4ms. Assuming that the CPU is free now and there are 20 processes waiting in the ready queue, the maximum amount of time that a process waits before getting into the CPU is ________.

    1. A80ms
    2. B76ms
    3. C84ms
    4. DNone of the above

    Answer: (B) 76ms

    Explanation

    Sign in to read the full explanation
  91. In the context of Binding which one of the following is incorrect?

    1. AStatic binding is done at Compile Time
    2. BAbsolute addresses are known at Load Time
    3. CInternal functions are known at link time
    4. DTarget of a function is known at runtime

    Answer: (D) Target of a function is known at runtime

    Explanation

    Sign in to read the full explanation
  92. Which RAID level is appropriate for storing the log file of a ticket booking system where a huge database update is required?

    1. ALevel 0
    2. BLevel 1
    3. CLevel 2
    4. DLevel 3

    Answer: (B) Level 1

    Explanation

    Sign in to read the full explanation
  93. Model of protection can be viewed as

    1. AOwner matrix
    2. BDomain matrix
    3. CAccess Matrix
    4. DGlobal matrix

    Answer: (C) Access Matrix

    Explanation

    Sign in to read the full explanation
  94. Process in memory also contain the heap section. What is the use of heap section?

    1. AContains temporary data
    2. BDynamically allocate the memory during process run time
    3. CContains Process priority and pointers to scheduling queues
    4. DContains amount of CPU and real time use

    Answer: (B) Dynamically allocate the memory during process run time

    Explanation

    Sign in to read the full explanation
  95. How many page faults occur for optimal algorithm for the following reference string, with four frames?

    1, 2, 3, 4, 5, 3, 4, 1, 6, 7, 8, 7, 8

    1. A8
    2. B7
    3. C6
    4. D5

    Answer: (A) 8

    Explanation

    Sign in to read the full explanation
  96. Degree of concurrency in thread can be arranged in the manner.

    1. Aone-to-one > many-to-one > many-to-many
    2. Bone-to-one > many-to-many > many-to-one
    3. Cmany-to-many > many-to-one > one-to-one
    4. DNone of the above

    Answer: (B) one-to-one > many-to-many > many-to-one

    Explanation

    Sign in to read the full explanation
  97. Which of the following statements are true?

    A. If the time quantum is extremely small, round robin can result in a large number of context switches.
    B. The average turnaround time of a set of processes does not necessarily improve as the time-quantum size increases.
    C. The average turnaround time can be improved if most processes finish their next CPU burst in a single time quantum.

    Choose the correct answer from the options given below:

    1. AA only
    2. BA, B only
    3. CB, C only
    4. DA, B, C

    Answer: (D) A, B, C

    Explanation

    Sign in to read the full explanation
  98. Consider the following set of processes that need to be scheduled on a single CPU. All the times are given in milliseconds.

    Using the shortest remaining time first scheduling algorithm, the average process turnaround (in milliseconds) is ________.

    Process NameArrival TimeExecution Time
    A06
    B32
    C54
    D76
    E103

    Process arrival and execution times for SRTF scheduling

    1. A7.2
    2. B8.2
    3. C6
    4. D9

    Answer: (A) 7.2

    Explanation

    Sign in to read the full explanation
  99. Select the correct order of basic page replacement.

    A. Page replacement algorithm is used in case there is no free frame
    B. The process is continued by restarting the instruction caused by TRAP
    C. Location of desired frame is found from disk
    D. Desired page is brought into newly freed frame and page & frame tables are updated

    1. AA, B, D, C
    2. BC, D, A, B
    3. CC, A, D, B
    4. DA, D, B, C

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

    Explanation

    Sign in to read the full explanation
  100. Match List I with List II.

    List-IList-II
    A. (reference bit=0, modify bit=0)I. Must write out before replacement
    B. (reference bit=0, modify bit=1)II. Probably will be used again soon and need to write out
    C. (reference bit=1, modify bit=0)III. Best page to replace
    D. (reference bit=1, modify bit=1)IV. Probably will be used again soon
    1. AA-II, B-I, C-III, D-IV
    2. BA-II, B-I, C-IV, D-III
    3. CA-III, B-I, C-II, D-IV
    4. DA-III, B-I, C-IV, D-II

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

    Explanation

    Sign in to read the full explanation
  101. A disk has 300 cylinders (0 to 299). If the initial position of the read-write head is at cylinder 101, moving towards the higher end of the disk, calculate the total head movement following C_LOOK policy for the read request sequence:

    123, 45, 197, 87, 250, 198, 280

    1. A456
    2. B450
    3. C458
    4. D445

    Answer: (A) 456

    Explanation

    Sign in to read the full explanation
  102. Given below are the two statements:

    Statement I: The main objective for using virtual memory is to increase the effective capacity of the memory system

    Statement II: The size of virtual memory can be larger than the main memory

    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 true but Statement II is false.
    4. DStatement I is false but Statement II is true.

    Answer: (A) Both Statement I and Statement II are true.

    Explanation

    Sign in to read the full explanation
  103. If an operating system does not allow a child process to exist when the parent process has been terminated, this phenomenon is called as -

    1. AThreading
    2. BCascading termination
    3. CZombie termination
    4. DProcess killing

    Answer: (B) Cascading termination

    Explanation

    Sign in to read the full explanation
  104. Practise System Software and Operating System in a timed set
  105. What is called Journalling in Linux operating system?

    1. AProcess scheduling
    2. BFile saving as transaction
    3. CA type of thread
    4. DAn editor

    Answer: (B) File saving as transaction

    Explanation

    Sign in to read the full explanation
  106. Match List I with List II regarding types of interrupts.

    List-IList-II
    A. Stack overflowI. Software interrupt
    B. TimerII. Internal interrupt
    C. Invalid opcodeIII. External interrupt
    D. Superior callIV. Machine check interrupt
    1. A(A)-(I), (B)-(II), (C)-(III), (D)-(IV)
    2. B(A)-(II), (B)-(III), (C)-(I), (D)-(IV)
    3. C(A)-(I), (B)-(II), (C)-(IV), (D)-(III)
    4. D(A)-(II), (B)-(III), (C)-(IV), (D)-(I)

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

    Explanation

    Sign in to read the full explanation
  107. For the following page reference string 4, 3, 2, 1, 4, 3, 5, 4, 3, 2, 1, 5, the number of page faults that occur in Least Recently Used (LRU) page replacement algorithm with frame size 3 is

    1. A6
    2. B8
    3. C10
    4. D12

    Answer: (C) 10

    Explanation

    Sign in to read the full explanation
  108. Match List I with List II.

    List-IList-II
    A. Activation recordI. Linking Loader
    B. Location counterII. Garbage Collection
    C. Reference countIII. Subroutine Call
    D. Address relocationIV. Assembler
    1. A(A)-(III), (B)-(IV), (C)-(I), (D)-(II)
    2. B(A)-(IV), (B)-(III), (C)-(I), (D)-(II)
    3. C(A)-(IV), (B)-(III), (C)-(II), (D)-(I)
    4. D(A)-(II), (B)-(III), (C)-(I), (D)-(IV)

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

    Explanation

    Sign in to read the full explanation
  109. Match List I with List II regarding operating system concepts.

    List-IList-II
    A. Least frequently usedI. Memory is distributed among processors
    B. Critical SectionII. Page replacement policy in cache memory
    C. Loosely coupled multiprocessor systemIII. Program section that once begin must complete execution before another processor access the same shared resource
    D. Distributed operating system organizationIV. O/S routines are distributed among available processors
    1. A(A)-(III), (B)-(II), (C)-(IV), (D)-(I)
    2. B(A)-(I), (B)-(II), (C)-(III), (D)-(IV)
    3. C(A)-(II), (B)-(III), (C)-(I), (D)-(IV)
    4. D(A)-(II), (B)-(I), (C)-(III), (D)-(IV)

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

    Explanation

    Sign in to read the full explanation
  110. Match List I with List II regarding systems concepts.

    List-IList-II
    A. FirmwareI. Number of logical records into physical blocks
    B. Batch fileII. ASCII format
    C. PackingIII. Resource allocation
    D. Banker's AlgorithmIV. ROM
    1. A(A)-(II), (B)-(I), (C)-(IV), (D)-(III)
    2. B(A)-(II), (B)-(I), (C)-(III), (D)-(IV)
    3. C(A)-(IV), (B)-(II), (C)-(I), (D)-(III)
    4. D(A)-(IV), (B)-(I), (C)-(II), (D)-(III)

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

    Explanation

    Sign in to read the full explanation
  111. Match List I with List II regarding classic operating system algorithms.

    List-IList-II
    A. Stack algorithmI. Deadlock
    B. Elevator algorithmII. Disk scheduling
    C. Priority scheduling algorithmIII. Page replacement
    D. Havender's algorithmIV. CPU scheduling
    1. A(A)-(III), (B)-(II), (C)-(IV), (D)-(I)
    2. B(A)-(II), (B)-(III), (C)-(IV), (D)-(I)
    3. C(A)-(III), (B)-(II), (C)-(I), (D)-(IV)
    4. D(A)-(II), (B)-(III), (C)-(I), (D)-(IV)

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

    Explanation

    Sign in to read the full explanation
  112. Assertion (A): A load-and-go assembler avoids the overhead of writing the object program out and reading it back in.
    Reason (R): This can be done with either one-pass or two pass assembler.
    In the light of the above statements, choose the correct answer from the options given below:

    1. ABoth (A) and (R) are true and (R) is the correct explanation of (A)
    2. BBoth (A) and (R) are true but (R) is NOT the correct explanation of (A)
    3. C(A) is true but (R) is false
    4. D(A) is false but (R) is true

    Answer: (C) (A) is true but (R) is false

    Explanation

    Sign in to read the full explanation
  113. Memory access time is p nanoseconds and an extra q nanoseconds are needed to handle a page fault. If a page fault occurs once every 100 instructions, what is the effective memory access time?

    1. Ap + q/100
    2. B(p + q)/100
    3. Cp + q
    4. Dp/100 + q

    Answer: (A) p + q/100

    Explanation

    Sign in to read the full explanation
  114. In a file-allocation system three schemes are used:

    A. Contiguous allocation
    B. Indexed allocation
    C. Linked allocation

    Which scheme(s) do NOT suffer from external fragmentation?

    Choose the correct answer from the options given below:

    1. AA only
    2. BB and C only
    3. CA and B only
    4. DC only

    Answer: (B) B and C only

    Explanation

    Sign in to read the full explanation
  115. Three statements about the interrupt-handling mechanism:

    A. The interrupt handler routine is not stored at a fixed address in memory.
    B. CPU hardware has a dedicated wire called the interrupt-request line used for handling interrupts.
    C. The interrupt vector contains the memory addresses of the specialized interrupt handlers.

    Choose the correct answer from the options given below:

    1. AA is TRUE only
    2. BBoth B and C are TRUE only
    3. CBoth A and B are TRUE only
    4. DBoth A and C are TRUE only

    Answer: (B) Both B and C are TRUE only

    Explanation

    Sign in to read the full explanation
  116. Match List-I (System Calls) with List-II (Description).

    List-IList-II
    A. fork()I. Sends a signal from one process to a particular process
    B. exec()II. Indicates termination of the current process
    C. kill()III. Loads the specified program into memory
    D. exit()IV. Creates a child process
    1. AA-II, B-III, C-IV, D-I
    2. BA-IV, B-III, C-I, D-II
    3. CA-IV, B-I, C-II, D-III
    4. DA-IV, B-III, C-II, D-I

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

    Explanation

    Sign in to read the full explanation
  117. Three processes are scheduled using preemptive shortest-job-first (shortest remaining time first) scheduling. What is the average waiting time?

    ProcessArrival TimeBurst Time
    P108
    P214
    P329
    1. A5.5
    2. B2.66
    3. C4.66
    4. D6

    Answer: (C) 4.66

    Explanation

    Sign in to read the full explanation
  118. The number of bits reserved for the frame offset is:

    Consider a machine with 16 GB main memory and a 32-bit virtual address space, with a page size of 4 KB. Frame size equals page size for this machine.

    1. A12
    2. B14
    3. C32
    4. D8

    Answer: (A) 12

    Explanation

    Sign in to read the full explanation
  119. The number of pages in the given virtual address space is:

    Consider a machine with 16 GB main memory and a 32-bit virtual address space, with a page size of 4 KB. Frame size equals page size for this machine.

    1. A2^10
    2. B2^20
    3. C2^30
    4. D2^12

    Answer: (B) 2^20

    Explanation

    Sign in to read the full explanation
  120. The minimum number of bits needed for a physical address is:

    Consider a machine with 16 GB main memory and a 32-bit virtual address space, with a page size of 4 KB. Frame size equals page size for this machine.

    1. A28
    2. B34
    3. C24
    4. D12

    Answer: (B) 34

    Explanation

    Sign in to read the full explanation
  121. The size of the page table for this virtual address space, given a page-table entry of 2 bytes, is:

    Consider a machine with 16 GB main memory and a 32-bit virtual address space, with a page size of 4 KB. Frame size equals page size for this machine.

    1. A2 MB
    2. B2 KB
    3. C32 MB
    4. D12 KB

    Answer: (A) 2 MB

    Explanation

    Sign in to read the full explanation
  122. If a process of size 34 KB runs on this machine, the internal fragmentation for the process is:

    Consider a machine with 16 GB main memory and a 32-bit virtual address space, with a page size of 4 KB. Frame size equals page size for this machine.

    1. A4 KB
    2. BZero
    3. C1 KB
    4. D2 KB

    Answer: (D) 2 KB

    Explanation

    Sign in to read the full explanation
  123. 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
  124. 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
  125. 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
  126. 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
  127. 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
  128. 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
  129. 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
  130. Practise System Software and Operating System in a timed set
  131. 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
  132. 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
  133. 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
  134. Consider a paging system where translation look aside buffer (TLB) a special type of associative memory is used with hit ratio of 80%.
    Assume that memory reference takes 80 nanoseconds and reference time to TLB is 20 nanoseconds. What will be the effective memory access time given 80% hit ratio?

    1. A110 nanoseconds
    2. B116 nanoseconds
    3. C200 nanoseconds
    4. D100 nanoseconds

    Answer: (B) 116 nanoseconds

    Explanation

    Sign in to read the full explanation
  135. Which of the following CPU scheduling algorithms is/are supported by LINUX operating system?

    1. ANon-preemptive priority scheduling
    2. BPreemptive priority scheduling and time sharing CPU scheduling
    3. CTime sharing scheduling only
    4. DPriority scheduling only

    Answer: (B) Preemptive priority scheduling and time sharing CPU scheduling

    Explanation

    Sign in to read the full explanation
  136. Identify the circumstances under which pre-emptive CPU scheduling is used:

    A. A process switches from Running state to Ready state
    B. A process switches from Waiting state to Ready state
    C. A process completes its execution
    D. A process switches from Ready to Waiting state

    Choose the correct option:

    1. AA and B only
    2. BA and D only
    3. CC and D only
    4. DA, B, C only

    Answer: (A) A and B only

    Explanation

    Sign in to read the full explanation
  137. Which of the following methods are used to pass any number of parameters to the operating system through system calls?

    1. ARegisters
    2. BBlock or table in main memory
    3. CStack
    4. DBlock in main memory and stack

    Answer: (D) Block in main memory and stack

    Explanation

    Sign in to read the full explanation
  138. A counting semaphore is initialized to 8. 3 wait() operations and 4 signal() operations are applied. Find the current value of semaphore variable.

    1. A9
    2. B5
    3. C1
    4. D4

    Answer: (A) 9

    Explanation

    Sign in to read the full explanation
  139. Which of the following interprocess communication model is used to exchange messages among co-operative processes?

    1. AShared memory model
    2. BMessage passing model
    3. CShared memory and message passing model
    4. DQueues

    Answer: (C) Shared memory and message passing model

    Explanation

    Sign in to read the full explanation
  140. Suppose a system has 12 magnetic tape drives and at time t₀, three processes are allotted tape drives out of their need. At time t₀, the system is in safe state. Which of the following is safe sequence so that deadlock is avoided?

    ProcessMaximum NeedsCurrent Needs
    P₀105
    P₁42
    P₂92
    1. A(P₀, P₁, P₂)
    2. B(P₁, P₀, P₂)
    3. C(P₂, P₁, P₀)
    4. D(P₀, P₂, P₁)

    Answer: (B) (P₁, P₀, P₂)

    Explanation

    Sign in to read the full explanation
  141. Given CPU time slice of 2 ms and the following list of processes:

    ProcessBurst timeArrival time
    P₁30
    P₂42
    P₃55

    Find average turnaround time and average waiting time using round robin CPU scheduling.

    1. A4.0, 0
    2. B5.66, 1.66
    3. C5.66, 0
    4. D7.2, 3.2

    Answer: (B) 5.66, 1.66

    Explanation

    Sign in to read the full explanation
  142. Question 137

    UGC NET June 2019

    Consider a disk system with 100 cylinders. The requests to access the cylinders occur in the following sequence:
    4, 34, 10, 7, 19, 73, 2, 15, 6, 20

    Assuming that the head is currently at cylinder 50, what is the time taken to satisfy all requests if it takes 1 ms to move from the cylinder to adjacent one and the shortest seek time first policy is used?

    1. A357 ms
    2. B238 ms
    3. C276 ms
    4. D119 ms

    Answer: (D) 119 ms

    Explanation

    Sign in to read the full explanation
  143. Question 138

    UGC NET June 2019

    Match List-I with List-II:

    List-IList-II
    (a) Disk(i) Thread
    (b) CPU(ii) Signal
    (c) Memory(iii) File system
    (d) Interrupt(iv) Virtual address space
    1. A(a)-(i); (b)-(ii); (c)-(iii); (d)-(iv)
    2. B(a)-(iii); (b)-(i); (c)-(iv); (d)-(ii)
    3. C(a)-(ii); (b)-(i); (c)-(iv); (d)-(iii)
    4. D(a)-(ii); (b)-(iv); (c)-(iii); (d)-(i)

    Answer: (B) (a)-(iii); (b)-(i); (c)-(iv); (d)-(ii)

    Explanation

    Sign in to read the full explanation
  144. Question 139

    UGC NET June 2019

    A computer has six tape drives with n processes competing for them. Each process may need two drives. What is the maximum value of n for the system to be deadlock free?

    1. A5
    2. B4
    3. C3
    4. D6

    Answer: (A) 5

    Explanation

    Sign in to read the full explanation
  145. Question 140

    UGC NET June 2019

    Consider that a process has been allocated 3 frames and has a sequence of page referencing as 1, 2, 1, 3, 7, 4, 5, 6, 3, 1.
    What shall be the difference in page faults for the above string using the algorithms of LRU and optimal page replacement for referencing the string?

    1. A2
    2. B0
    3. C1
    4. D3

    Answer: (A) 2

    Explanation

    Sign in to read the full explanation
  146. Question 141

    UGC NET June 2019

    At a particular time of computation, the value of a counting semaphore is 7. Then 20 P (wait) operations and 15 V (signal) operations are completed on this semaphore. What is the resulting value of the semaphore?

    1. A28
    2. B12
    3. C2
    4. D42

    Answer: (C) 2

    Explanation

    Sign in to read the full explanation
  147. Question 142

    UGC NET June 2019

    For a magnetic disk with concentric circular tracks, the seek latency is not linearly proportional to the seek distance due to

    1. Anon-uniform distribution of requests
    2. Barm starting or stopping inertia
    3. Chigher capacity of tracks on the periphery of the platter
    4. Duse of unfair arm scheduling policies

    Answer: (B) arm starting or stopping inertia

    Explanation

    Sign in to read the full explanation
  148. Question 143

    UGC NET June 2019

    Which of the following UNIX/Linux pipes will count the number of lines in all the files having .c and .h as their extension in the current working directory?

    1. Acat *.ch | wc -l
    2. Bcat *.[c-h] | wc -l
    3. Ccat *.[ch] | ls -l
    4. Dcat *.[ch] | wc -l

    Answer: (D) cat *.[ch] | wc -l

    Explanation

    Sign in to read the full explanation
  149. Question 144

    UGC NET June 2019

    Which of the following are NOT shared by the threads of the same process?
    (a) Stack
    (b) Registers
    (c) Address space
    (d) Message queue

    1. A(a) and (d)
    2. B(b) and (c)
    3. C(a) and (b)
    4. D(a), (b) and (c)

    Answer: (C) (a) and (b)

    Explanation

    Sign in to read the full explanation
  150. Question 145

    UGC NET June 2019

    The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined by

    1. Apage size
    2. Bphysical size of memory
    3. Cthe instruction set architecture
    4. Dnumber of processes in memory

    Answer: (C) the instruction set architecture

    Explanation

    Sign in to read the full explanation
  151. Question 146

    UGC NET June 2019

    Consider three CPU intensive processes, which require 10, 20 and 30 units of time and arrive at times 0, 2 and 6 respectively. How many context switches are needed if the operating system implements a shortest remaining time first scheduling algorithm? Do not count the context switches at time zero and at the end.

    1. A4
    2. B2
    3. C3
    4. D1

    Answer: (B) 2

    Explanation

    Sign in to read the full explanation
  152. Consider a disk pack with 32 surfaces, 64 tracks and 512 sectors pack. 256 bytes of data are stored in a bit serial manner in a sector. The number of bits required to specify a particular sector in the disk is

    1. A19
    2. B22
    3. C20
    4. D18

    Answer: (C) 20

    Explanation

    Sign in to read the full explanation
  153. In Linux operating system environment __________ command is used to print a file.

    1. Alpr
    2. Bptr
    3. Cpr
    4. Dprint

    Answer: (A) lpr

    Explanation

    Sign in to read the full explanation
  154. A process residing in Main Memory and Ready and Waiting for execution, is kept on

    1. AJob Queue
    2. BReady Queue
    3. CExecution Queue
    4. DWait Queue

    Answer: (B) Ready Queue

    Explanation

    Sign in to read the full explanation
  155. Suppose for a process P, reference to pages in order are 1, 2, 4, 5, 2, 1, 2, 4. Assume that main memory can accommodate 3 pages and the main memory has already pages 1 and 2 in the order 1 – first, 2 – second. At this moment, assume FIFO Page Replacement Algorithm is used then the number of page faults that occur to complete the execution of process P is

    1. A4
    2. B6
    3. C5
    4. D3

    Answer: (C) 5

    Explanation

    Sign in to read the full explanation
  156. Practise System Software and Operating System in a timed set
  157. Suppose P, Q and R are co-operating processes satisfying Mutual Exclusion condition. Then, if the process Q is executing in its critical section then

    1. ABoth ‘P’ and ‘R’ execute in critical section.
    2. B‘R’ executes in critical section.
    3. C‘P’ executes in critical section.
    4. DNeither ‘P’ nor ‘R’ executes in their critical section.

    Answer: (D) Neither ‘P’ nor ‘R’ executes in their critical section.

    Explanation

    Sign in to read the full explanation
  158. __________ system call creates new process is Unix.

    1. Afork new
    2. Bcreate new
    3. Ccreate
    4. Dfork

    Answer: (D) fork

    Explanation

    Sign in to read the full explanation
  159. Which of the following statement/s is/are true ?

    (i) Windows XP supports both peer-peer and client-server networks.
    (ii) Windows XP implements Transport protocols as drivers that can be loaded and unloaded from the system dynamically.

    Choose the correct answer from the code given below :
    Code :

    1. ABoth (i) and (ii)
    2. B(ii) only
    3. C(i) only
    4. DNeither (i) nor (ii)

    Answer: (A) Both (i) and (ii)

    Explanation

    Sign in to read the full explanation
  160. To overcome difficulties in Readers–Writers problem, which of the following statement/s is/are true ?

    (i) Writers are given exclusive access to shared objects.
    (ii) Readers are given exclusive access to shared objects.
    (iii) Both Readers and Writers are given exclusive access to shared objects.

    Choose the correct answer from the code given below :
    Code :

    1. ABoth (ii) and (iii)
    2. B(iii) only
    3. C(i) only
    4. D(ii) only

    Answer: (C) (i) only

    Explanation

    Sign in to read the full explanation
  161. Consider the following set of processes and the length of CPU burst time given in milliseconds :

    ProcessCPU Burst time (ms)
    P15
    P27
    P36
    P44

    Assume that processes being scheduled with Round-Robin Scheduling Algorithm with time quantum 4 ms. men the waiting time for P4 is

    1. A4
    2. B6
    3. C0
    4. D12

    Answer: (D) 12

    Explanation

    Sign in to read the full explanation
  162. Suppose a system has 12 instances of some resource with n processes competing for that resource. Each process may require 4 instances of the resource. The maximum value of n for which the system never enters into deadlock is

    1. A3
    2. B6
    3. C4
    4. D5

    Answer: (A) 3

    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?

156 System Software and Operating System questions appear in the UGC NET Computer Science papers held between 2018–2026, 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 14 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 →