Search Header Logo

Multitasking 2 Concepts Quiz

Authored by Nantika easwaran

Computers

12th Grade

Used 2+ times

Multitasking 2 Concepts Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about cooperative multitasking?

Task switching is done by the kernel.

Tasks always run to completion unless explicitly yielding.

System latency is predictable.

Tasks switch automatically after a fixed time.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In pre-emptive multitasking, task switching is managed by:

The application programmer.

Interrupt Service Routines (ISRs).

The kernel scheduler.

Yield() calls in the code.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a drawback of cooperative multitasking?

Increased overhead due to ISRs.

Predictable system latency.

Reliance on the programmer to yield control.

Complicated kernel design.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens during an interrupt in a pre-emptive multitasking system?

The interrupted thread must finish before switching.

The kernel decides if a context switch is required.

The ISR directly continues the interrupted thread.

Interrupts are ignored during task execution.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In cooperative multitasking, returning to the interrupted thread before yielding:

Increases system latency.

Reduces system latency.

Automatically triggers a context switch.

Allows parallel execution of tasks.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Foreground/Background multitasking is most suitable for:

Complex operating systems.

Event-driven embedded systems.

High-performance computing.

Multithreaded server applications.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary function of the 'Main Loop' in Foreground/Background systems?

Handle interrupts.

Execute high-priority tasks.

Perform background processing.

Sit idle and wait for events.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?