Top Operating System One Liner Questions


Operating System is a software that acts as an interface between computer hardware components and the user. In fact, you can call it a medium through which different parts of the user and computer can interact with each other.

Operating system is also called system software. Most people also call it 'OS' by short name. It is also called the heart of the computer, the operating system is a system software, which acts as an interface between the user and the computer hardware.

When you turn on the computer, then the operating system is first loaded into the main memory means RAM and after that, it allocates all the hardware from which user software is needed.

In this post we have collected top operating system questions and answers, which are frequantly asked in interview or competitive exams.


Q 61. How to solve starvation problem ?
Ans. By using Multi-level feedback queue
Q 62. What is starvation in Operating system ?
Ans. It occurs when a high priority process keep executing and low priority processes get blocked for indefinite time.
Q 63. In scheduling algorithms, how to calculate Turn around time ?
Ans. Completion time - Arrival time
Q 64. What is Arrival time ?
Ans. The time at which process enter in the ready queue or state.
Q 65. What is completion time ?
Ans. Point of time at which the process complete its execution.
Q 66. What is burst time ?
Ans. It is time duration required by a process to get execute on CPU
Q 67. Round robin scheduling is preemptive or non-preemptive ?
Ans. Preemptive
Q 68. In threads content switching is faster or slower ?
Ans. Faster
Q 69. All system calls are executed in which mode ?
Ans. Kernal mode
Q 70. What is user mode in operating system ?
Ans. When we use application on PC they are all in user mode.
Q 71. Fork() process control system call is used for ?
Ans. To create a new child process
Q 72. What are file related system calls ?
Ans. open(), read() and write()
Q 73. get Pid system calls used for ?
Ans. Get Pid of process
Q 74. chmod ugu + rw 'note' command can be represented in octal notation as ?
Ans. chmod 666 note
Q 75. Which command is used to assign only read permission to all categories of file 'note' ?
Ans. chmod ugo = r note
Q 76. New state process is remain in which memory ?
Ans. Secondary memory
Q 77. When any process is intrupted by I/O request then it will move Running state to ?
Ans. Ready state
Q 78. What is process states cycle ?
Ans. New -> Ready -> Running -> Terminated
Q 79. Which operating system is based on CPU time constraint and no more time delay allowed ?
Ans. Real time operating system
Q 80. In which operating system CPU will never remain Idle ?
Ans. Multitasking Operating Sytem
Q 81. Multi-programmed operating system is premptive or non-premptive ?
Ans. Non-premptive
Q 82. What is Batch operating system ?
Ans. This is non-premptive based operating system, in which CPU can do one job at one time.
Q 83. Semaphores are mostly used to implement ?
Ans. IPC mechanisms
Q 84. What are two basic types of operating systems ?
Ans. Batch and interactive
Free Mock Test
Follow us on Facebook