Multitasking Operating System MCQ Quiz – Objective Question with Answer for Multitasking Operating System

1. Which of the following works by dividing the processor’s time?

A. the single-task operating system
B. multitask operating system
C. kernel
D. applications

Answer: B

The multitasking operating system works by dividing the processor’s time into different discrete time slots, that is, each application requires a defined number of time slots to complete its execution.

 

2. Which of the following decides which task can have the next time slot?

A. the single-task operating system
B. applications
C. kernel
D. software

Answer: C

The operating system kernel decides which task can have the next time slot. So instead of the task executing continuously until completion, the execution of the processor is interleaved with the other tasks.

 

3. Which of the following controls the time-slicing mechanism in a multitasking operating system?

A. kernel
B. single-tasking kernel
C. multitasking kernel
D. application manager

Answer: C

The multitasking operating systems are associated with the multitasking kernel which controls the time-slicing mechanism.

 

4. Which of the following provides a time period for the context switch?

A. timer
B. counter
C. time slice
D. time machine

Answer: C

The time period required for each task for execution before it is stopped and replaced during a context switch is known as the time slice.

 

5. Which of the following can periodically trigger the context switch?

A. software interrupt
B. hardware interrupt
C. peripheral
D. memory

Answer: B

The multitasking operating systems are associated with the multitasking kernel which controls the time-slicing mechanism. The time period required for each task for execution before it is stopped and replaced during a context switch is known as the time slice. These are periodically triggered by a hardware interrupt from the system timer.

 

6. Which interrupt provides the system clock in the context switching?

A. software interrupt
B. hardware interrupt
C. peripheral
D. memory

Answer: B

The multitasking operating systems deal with the multitasking kernel which controls the time-slicing mechanism and the time period required for each task for execution before it is stopped and replaced during a context switch is known as the time slice which is periodically triggered by a hardware interrupt from the system timer. This hardware interrupt provides the system clock in which several interrupts are executed and counted before a context switch is performed.

 

7. The special tale in the multitasking operating system is also known as

A. task control block
B. task access block
C. task address block
D. task allocating a block

Answer: A

When a context switch is performed, the current program or task is interrupted, so the processor’s registers are saved in a special table which is known as the task control block.

 

8. Which of the following stores all the task information that the system requires?

A. task access block
B. register
C. accumulator
D. task control block

Answer: D

The task control block stores all the task information that the system requires and this is done when the context switch is performed so that the currently running program is interrupted.

 

9. Which of the following contains all the task and their status?

A. register
B. ready list
C. access-list
D. task list

Answer: B

The ‘ready’ list possesses all the information regarding a task, that is, all the tasks and their corresponding status which is used by the scheduler to decide which task should execute in the next time slice.

 

10. Which determines the sequence and the associated task’s priority?

A. scheduling algorithm
B. ready list
C. task control block
D. application register

Answer: A

The scheduling algorithm determines the sequence and an associated task’s priority. It also determines the present status of the task.

Scroll to Top