Friday, April 24, 2020

Operating systems multiple choice questions for exams - Set 16

Operating systems exams - multiple choice questions (MCQ) and answers



Operating Systems MCQ questions and answers – Set 16

1. Which of the following is not a property of Multiprogramming?

(a) increases CPU utilization
(b) typically uses operating systems that are able to keep several jobs in memory
(c) is an important aspect in job scheduling
(d) often results in an idle CPU even though more jobs are available to execute

View Answer

Answer: (d) often results in an idle CPU even though more jobs are available to execute         
The main purpose of multiprogramming is to increase the CPU utilization. Hence, the CPU will not be in an idle mode if more jobs are available to execute.

The main activities related to multiprogramming are;

  • The operating system keeps several jobs in memory at a time.
  • The operating system picks and begins to execute one of the job in the memory.
  • Multiprogramming operating system monitors the state of all active programs and system resources using memory management programs to ensures that the CPU is never idle unless there are no jobs

2. A dispatcher
(a) terminates a process.
(b) terminates a thread.
(c) gives control of the CPU to a process.
(d) is not required to be implemented at high speeds as it is invoked significantly less often than a context switch.

View Answer

Answer: (c) gives control of the CPU to a process        

What is the main function of a dispatcher?

The main function of a dispatcher is to allocate a processor to a process when the processor becomes available.
The dispatcher's job is to organize and manage the ready state. It must take a process from some pool of ready processes, and to set the process running on an available processor. The two components of this operation are, selecting the process, and setting it going.

3. Every process gets the same share of the CPU with a ___ .

(a) Round-robin scheduler.
(b) Shortest remaining time first scheduler.
(c) Priority scheduler.
(d) Multilevel feedback queues

View Answer

Answer: (a) RR scheduler 

RR scheduling algorithm is the one in which each process will get a fixed amount of CPU time to process.


4. A process scheduler is responsible for moving processes between these states.

(a) Ready and Blocked
(b) Running Blocked
(c) Ready and Running
(d) Ready, Running, and Blocked

View Answer

Answer: (c) Ready and Running 
Process scheduler is responsible for selecting one process from ready state for scheduling it on the running state.
The act of determining which process is in the ready state, and should be moved to the running state is known as Process Scheduling.
The prime aim of the process scheduling system is to keep the CPU busy all the time and to deliver minimum response time for all programs.

5. If the relocation register has a value of 500, and the limit register has a value of 200, what is the range of logical memory addresses available to the process?
(a) 500 to 699
(b) 500 to 700
(c) 1 to 200
(d) 0 to 199

View Answer

Answer: (d) 0 to 199     

Base register (relocation register) contains value of smallest physical address.

Limit register contains range of logical addresses –each logical address must be less than the limit register.
The range of logical memory addresses available to the process is 0 to 199.

*********

Related links:




OS Interview questions with answers

solved Interview questions in operating systems

GATE questions in operating systems

MCQ Interview questions in OS

Operating systems interview questions for competitive exams

objective type OS questions for IIT JEE entrance exam

No comments:

Post a Comment

Featured Content

Multiple choice questions in Natural Language Processing Home

MCQ in Natural Language Processing, Quiz questions with answers in NLP, Top interview questions in NLP with answers Multiple Choice Que...

All time most popular contents

data recovery