Machine-translated by Google. Questions are authored in English.
Top

Real Time Operating Systems Questions and Answers

Answer: A

The kernel examines how far the sentinel pattern has been overwritten and reports the worst case seen so far, which is exactly what is needed to size a stack with confidence. A figure that never moves after start-up usually means the deep path has not yet been exercised.

Please log in or register to report this question.

Answer: B

An error path or an unusual input can add several frames that no test happened to reach, and the measurement says nothing about them. A margin over the measured worst case, plus static analysis of the call graph where it matters, is the safer practice.

Please log in or register to report this question.

Answer: C

One ready list per level, and often one bit per level in a lookup word, is what the count buys in RAM. The scheduler itself finds the highest ready level in constant time whether there are eight levels or two hundred and fifty-six.

Please log in or register to report this question.

Answer: D

Correct answer: the total stack requirement of the tasks

Each task needs its own stack and its own control block, so 200 tasks consume a substantial part of 32 kB before a single buffer is allocated - a modest 128 bytes each would be 25 kB. The design almost certainly needs fewer tasks, which is the conclusion the arithmetic forces.

Please log in or register to report this question.

Answer: A

Priorities above a configured threshold are left permanently enabled, so their latency is the hardware's alone. The price is that such handlers may not call the kernel, since the kernel's own structures are not protected against them.

Please log in or register to report this question.

Loading…
Tags: Real Time Operating Systems Questions and Answers || Real Time Operating Systems MCQ Questions and Answers || Real Time Operating Systems GK Questions and Answers || Real Time Operating Systems GK MCQ Questions || Real Time Operating Systems Multiple Choice Questions and Answers || Real Time Operating Systems GK || GK on Real Time Operating Systems || Embedded Systems Questions and Answers || Embedded Systems MCQ Questions and Answers || Embedded Systems GK Questions and Answers || GK on Embedded Systems