Signup/Sign In

Interview Questions (MCQs) for Operating System - 5

This Test will cover the several important concepts of Operating System.
Q. A CPU generally handles an interrupt, by executing an interrupt service routine __________.
Q. Which of the following is/are true for the auto-increment addressing mode?
Q. Which of the following statements are true?
1) Shortest Remaining Time First Scheduling, may cause starvation.
2) Preemptive Scheduling, may cause starvation.
3) Round Robin is better than FCFS in terms of response time.
Q. A thread is usually defined as a light weight process because an operating system(OS) maintains smaller data structures for a thread than for a process. In relation to this, which of the following is true?


Q. Let the time taken to switch between User and Kernel modes of execution be t1, while the time taken to switch between two processes be t2. Which of the following is true?
Q. Consider three CPU-intensive processes, which require 10, 20 and 30 time units and arrive at times 0, 2 and 6 respectively. How many context switches are needed if the operating system implements the "Shortest Remaining Time First Scheduling" algorithm?
Q. Consider 3 processes (Process Ids: 0, 1 and 2 respectively) with compute time bursts 2, 4 and 8 time units. All processes arrive at time zero. Consider the "Longest Remaining Time First" (LRTF) scheduling algorithm, in LRTF ties are broken by giving priority to the process with the lowest process id. The average turn around time is?
Q. Which combination of the following features will suffice to characterize an OS as a MultiProgrammed OS?
1. More than one program may be loaded into main memory at the same time for execution.
2. If a program waits for certain events such as I/O another program is immediately scheduled for execution.
3. If the execution of a program terminates, another program is immediately scheduled for execution.
Q. A part of the system software, which under all circumstances must reside in the main memory is __________.


Q. A simple Two-pass Assembler does the following in the first pass, __________.

Related Tests: