Search Header Logo

Real-Time Operating Systems Quiz 1

Authored by DJ CHEN

Engineering

University

Used 2+ times

Real-Time Operating Systems Quiz 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary role of the kernel in a real-time operating system (RTOS)?

Manage low-level I/O operations directly

Handle interrupt requests only

Manage tasks, scheduling, and resource allocation

Replace hardware-level timers

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is CMSIS-Core designed to provide?

High-level task management

A hardware abstraction layer for Cortex-M microcontrollers

Peripheral drivers for STM32 microcontrollers

Power management for low-power systems

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following accurately describes context switching in an RTOS?

Swapping hardware interrupts between cores

Saving and restoring the state of a task to switch to another task

Resetting all tasks when a new task arrives

Allocating additional stack space for higher-priority tasks

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Rate-Monotonic Scheduling (RMS), why are tasks with shorter periods assigned higher priority?

To ensure deadlines of low-priority tasks are always missed

Because they have longer deadlines

To meet frequent execution requirements for time-critical tasks

To improve CPU power consumption

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do interrupts and preemptive scheduling differ?

Interrupts pause only kernel tasks, while preemption affects all tasks

Preemption is used for real-time deadlines, while interrupts are for event handling

Interrupts are triggered by software events, preemption by hardware

Interrupts are synchronous, preemption is asynchronous

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main advantage of using fixed-priority scheduling in embedded systems?

It guarantees 100% CPU utilization

It avoids task starvation by balancing priorities dynamically

It provides predictable timing for real-time applications

It ensures tasks are executed in the order they are created

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which timer function is typically implemented by the SysTick Timer in Cortex-M microcontrollers?

Generating PWM output

Time-stamping UART data

Periodic scheduler interrupts for task management

Resetting stack pointers

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?