CIL MT · Computer Science

Operating Systems Previous Year Questions

21 Operating Systems (Computer Science) questions asked in CIL MT previous year papers, each with the correct answer and explanation. Read them free on UTpaper, or attempt the full papers as timed online tests.

  • 21 questions
  • Official answer key
  • Free

Other Computer Science topics

Q1CIL MT Systems, 24 Aug 2026 (3:00 PM, CBT-26)
Define thrashing in an operating system.
  1. AExcessive swapping of pages in and out of memory
  2. BA process being started abnormally
  3. CA read-write operation failure
  4. DA deadlock occurring in memory allocation
Show answerHide answer

Correct answer: (A) Excessive swapping of pages in and out of memory

Q2CIL MT Systems, 24 Aug 2026 (3:00 PM, CBT-26)
In the context of algorithm design and analysis, which of the following represents the initial step in the design process?
  1. AWrite the pseudocode
  2. BDefine the problem clearly and specify the input output
  3. CAnalyze the algorithm time complexity
  4. DImplement the algorithm in a Computer programming language
Show answerHide answer

Correct answer: (B) Define the problem clearly and specify the input output

Q3CIL MT Systems, 24 Aug 2026 (3:00 PM, CBT-26)
What does the read() system call in an operating system do?
  1. ABlocks until the requested number of bytes is read
  2. BCopies data from kernel space to user space, possibly after reading from device buffers
  3. CCopies data directly from device hardware into user space without kernel intervention
  4. DRuns entirely in user mode for performance
Show answerHide answer

Correct answer: (B) Copies data from kernel space to user space, possibly after reading from device buffers

Q4CIL MT Systems, 24 Aug 2026 (3:00 PM, CBT-26)
In SRTF (Shortest Remaining Time First) scheduling, which process is selected next?
  1. AOne that arrives first
  2. BOne with the longest burst time
  3. COne with the shortest remaining burst time
  4. DOne with the highest priority
Show answerHide answer

Correct answer: (C) One with the shortest remaining burst time

Q5CIL MT Systems, 24 Aug 2026 (3:00 PM, CBT-26)
Which of the following options about non-preemptive scheduling is incorrect?
  1. ANon-preemptive scheduling can lead to process starvation.
  2. BIn non-preemptive scheduling, the response time and waiting time are generally not equal for all processes, and in most cases, waiting time is greater than response time.
  3. CIn non-preemptive scheduling, the CPU is relinquished only when a process terminates or initiates an input/output operation.
  4. DRound Robin is classified as a non-preemptive scheduling algorithm.
Show answerHide answer

Correct answer: (D) Round Robin is classified as a non-preemptive scheduling algorithm.

Q6CIL MT Systems, 24 Aug 2026 (3:00 PM, CBT-26)
Consider a Mealy machine designed to process a sequence representing the presence of mineral samples ('M') and non-mineral samples ('N') during a geological survey. The machine outputs 'A' when the current sample is 'M' and the previous sample was 'N', otherwise it outputs 'B'. Which description below correctly reflects the machine's output behavior?
  1. AIt produces output based on both the current input and the previous state.
  2. BIt produces output based only on the current input symbol.
  3. CIt waits until the next transition to output a value.
  4. DIt changes output only when the input switches from 'M' to 'N'.
Show answerHide answer

Correct answer: (A) It produces output based on both the current input and the previous state.

Q7CIL MT Systems, 24 Aug 2026 (3:00 PM, CBT-26)
What is the division of the main memory in Fixed Partitioning in memory management of operating system?
  1. ACreated as needed by the processes.
  2. BDynamically resized when a process terminates.
  3. CMade at boot time and remain unchanged in size and number.
  4. DDestroyed as needed by the processes.
Show answerHide answer

Correct answer: (C) Made at boot time and remain unchanged in size and number.

Q8CIL MT Systems, 24 Aug 2026 (3:00 PM, CBT-26)
Which of the following Windows API functions is used to write data to a file?
  1. Afwrite()
  2. BWriteFile()
  3. Cfprintf()
  4. DCreateFile()
Show answerHide answer

Correct answer: (B) WriteFile()

Q9CIL MT Systems, 24 Aug 2026 (3:00 PM, CBT-26)
What will happen if a process with a higher priority arrives in the ready queue in preemptive scheduling algorithm?
  1. AIt pauses for the current process to finish its CPU burst.
  2. BThe scheduler compares the total execution times of all processes.
  3. CThe currently running process is immediately removed from the CPU.
  4. DThe CPU switches to the new process only if it has a smaller burst time.
Show answerHide answer

Correct answer: (C) The currently running process is immediately removed from the CPU.

Q10CIL MT Systems, 24 Aug 2026 (3:00 PM, CBT-26)
In a memory system with fixed-sized partitions, each holding one process (as in IBM OS/360 MFT). Which statement is correct?
  1. AEach partition holds multiple processes
  2. BMultiprogramming limited; internal fragmentation possible
  3. CMultiprogramming is unlimited
  4. DPartition size adjusts dynamically
Show answerHide answer

Correct answer: (B) Multiprogramming limited; internal fragmentation possible

Q11CIL MT Systems, 24 Aug 2026 (3:00 PM, CBT-26)
Which of the following is an application of compiler technology?
  1. ADisk scheduling
  2. BCache mapping
  3. CCode optimization
  4. DVirtual memory management
Show answerHide answer

Correct answer: (C) Code optimization

Q12CIL MT Systems, 26 Mar 2017 (12:30 PM)
Which of the following problem cannot be solved using greedy approach?
  1. A0-1 knapsack
  2. BJob scheduling
  3. CMinimum spanning tree
  4. DHuffman code
Show answerHide answer

Correct answer: (A) 0-1 knapsack

Q13CIL MT Systems, 26 Mar 2017 (12:30 PM)
Match the following. List-1: A. Moves suspended process to secondary storage, B. Loads the processes into memory for execution, C. Moves one of the processes to Running state, D. Allocates CPU to a process List-2: I. Short-Term Scheduler, II. Dispatcher, III. Medium-Term Scheduler, IV. Long-Term Scheduler
  1. AA – III, B – IV, C – I, D – II
  2. BA – II, B – I, C – IV, D – III
  3. CA – III, B – I, C – II, D – IV
  4. DA – II, B – IV, C – I, D – III
Show answerHide answer

Correct answer: (A) A – III, B – IV, C – I, D – II

Q14CIL MT Systems, 26 Mar 2017 (12:30 PM)
Given the Burst Time (BT) of 4 processes P1, P2, P3 and P4 as BT(t1, t2, t3, t4) = (4, 8, 6, 7), smoothening factor (α) = 0.5, and T1 = 10, what will be the burst time of process P5 for Shortest Job First scheduling, using the technique of exponential averaging?
  1. A6.875 unit time
  2. B6.25 unit time
  3. C5.785 unit time
  4. D5.5 unit time
Show answerHide answer

Correct answer: (A) 6.875 unit time

Q15CIL MT Systems, 26 Mar 2017 (12:30 PM)
Let each process Pᵢ, i=1 to 7 executes the following code. repeat P(mutex); CS V(mutex); forever The process P₈ executes the following code: repeat V(mutex); CS V(mutex); forever What is the maximum number of processes that can be present in the critical section at any point of time? Given that the initial value of binary semaphore variable "mutex" is 1.
  1. A7
  2. B8
  3. C1
  4. D10
Show answerHide answer

Correct answer: (B) 8

Q16CIL MT Systems, 26 Mar 2017 (12:30 PM)
Consider the following segment of codes related to process creation. How many times the message "child process created" will be printed? #include <stdio.h> void main(){ fork(); fork(); fork(); printf("child process created"); }
  1. A9
  2. B7
  3. C8
  4. D3
Show answerHide answer

Correct answer: (C) 8

Q17CIL MT Systems, 27 Feb 2020 (8:00 AM)
The working set model is used in memory management to implement the concept of:
  1. APrinciple of locality
  2. BThrashing
  3. CPaging
  4. DSegmentation
Show answerHide answer

Correct answer: (A) Principle of locality

Q18CIL MT Systems, 27 Feb 2020 (8:00 AM)
Consider the Unix i-node which uses 12 direct DBAs, 1 single indirect, 1 double indirect, 1 triple indirect. The disk block address requires 32 bits and disk block size is 1 KB. What is the maximum file size?
  1. A32 GB
  2. B64 GB
  3. C16 GB
  4. D8 GB
Show answerHide answer

Correct answer: (C) 16 GB

Q19CIL MT Systems, 27 Feb 2020 (8:00 AM)
Page fault occurs when ________.
  1. AThe page is in main memory
  2. BThe page has an address, which cannot be loaded
  3. CThe page is not in main memory
  4. DThe page is not in cache memory
Show answerHide answer

Correct answer: (C) The page is not in main memory

Q20CIL MT Systems, 27 Feb 2020 (8:00 AM)
Consider a system with page fault service time (S) = 100 ns, main memory access time (M) = 20 ns, and page fault rate (P) = 65%. Calculate the effective memory access time.
  1. A62 ns
  2. B82 ns
  3. C80 ns
  4. D72 ns
Show answerHide answer

Correct answer: (D) 72 ns

Q21CIL MT Systems, 27 Feb 2020 (8:00 AM)
Which scheduling algorithm gives a minimum average waiting time?
  1. ARR
  2. BPriority
  3. CSJF
  4. DFCFS
Show answerHide answer

Correct answer: (C) SJF

How to use these CIL MT Computer Science questions

Every question here was asked in a real CIL MT paper; the paper and shift are shown on the card, and the number opens the question on its own page. Try each one before tapping Show answer, then attempt the full CIL MT papers as timed tests to check your speed under exam conditions.

More CIL MT subjects