Embedded Operating System Flashcards
Task functions typically do not call “return()”
True False
True
If a task calls the following function, it will be placed into a “blocked” state for 250ms:
vTaskDelay(250);
True False
False
Which service/feature is the most important for multi-tasking to work in an EOS?
context switch
inter-process communication
memory management
polling
context switch
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)
scheduler
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 service crash does not crash the whole system
In FreeRTOS, the lowest priority interrupt (ISR) will interrupt the highest priority task.
True False
True
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
Round-robin scheduling will occur
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)
Least Slack Time (LST)
Earliest Deadline First (EDF)
Which of the following are considerations when selecting an RTOS? [Select 2]
Debuggers
Features
Machine Learning
Decompilers
Debuggers
Features
Which Task State occurs the least amount of time?
Ready
Running
Blocked
Terminated
Terminated