Embedded Operating System Flashcards

1
Q

Task functions typically do not call “return()”

True
False
A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

If a task calls the following function, it will be placed into a “blocked” state for 250ms:
vTaskDelay(250);

True
False
A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which service/feature is the most important for multi-tasking to work in an EOS?

context switch

inter-process communication

memory management

polling

A

context switch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A task is the smallest sequence of instructions that can be managed independently by an/a ….

inter-process communication (IPC)

interrupt

scheduler

task control block (TCB)

A

scheduler

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of these characteristics of Monolithic Kernel is false?

Both user services and kernel services are kept in the same address space

Fast Execution

Hard to extend its functionality

A service crash does not crash the whole system

A

A service crash does not crash the whole system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In FreeRTOS, the lowest priority interrupt (ISR) will interrupt the highest priority task.

True
False
A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which of the following statement is true based on the following code snippet?

xTaskCreate(avg_task, “AvgThread”, configMINIMAL_STACK_SIZE, NULL,
TEST_TASK_PRIORITY
, NULL);
xTaskCreate(simpleaverage, “TempThread”, configMINIMAL_STACK_SIZE, NULL,
TEST_TASK_PRIORITY
, NULL);

xTaskCreate(printfunction, “AvgThread”, configMINIMAL_STACK_SIZE, NULL, TEST_TASK_PRIORITY, &printtask);
Question 5 options:

The program will crash at the instruction: “for( ; ; )”

Round-robin scheduling will occur

The program will crash at the instruction: “vTaskStartScheduler()”

Priority-based scheduling will occur

A

Round-robin scheduling will occur

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which Priority Driven Scheduling Algorithm is dynamic-priority based?

Least Slack Time (LST)

Rate Monotonic Scheduling (RMS)

Earliest Deadline First (EDF)

Deadline Monotonic Scheduling (DMS)

A

Least Slack Time (LST)

Earliest Deadline First (EDF)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which of the following are considerations when selecting an RTOS? [Select 2]

Debuggers

Features

Machine Learning

Decompilers

A

Debuggers
Features

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which Task State occurs the least amount of time?

Ready

Running

Blocked

Terminated

A

Terminated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly