RTOS question bank (2)
RTOS question bank (2)
Question Bank
Unit 1
1. With a neat diagram explain the real time embedded system resource
characterization and explain the response time equation.
2. With neat diagram explain the following Resource time service utility.
a) Hard real time service utility
b) Isochronal service utility
c) Best effort service utility
d) Soft real time service utility
e) Anytime service utility
f) Soft isochronal service utility
3. Explain Resource scheduling taxonomy
4. With an example explain the Preemptive fixed priority policy and also explain
the RM LUB.
5. Classify and explain the Feasibility test.
6. Explain the two Necessary and Sufficient feasibility tests.
7. What is Deadline Monotonic Policy ? Explain
8. Explain the different dynamic Priority policies.
9. Write a note on Worst case execution time with respect to Hard real time
system and soft real time systems.
10.Explain the concept of Deadlock and Livelock.
Unit 2
1. Explain the different services offered by Kernel in a computer system.
2. Differentiate between Kernel space and User space
3. Write a note on Monolithic kernel and microkernel.
4. Differentiate between GPOS and RTOS
5. Explain the basic functions of a real time kernel.
6. Illustrate a)The structure of a process b) Process states and state transition and
c) Process management
7. Explain the concept of Multithreading.
8. Describe the types of Multitasking.
9. Explain the different types of Non- Preemptive scheduling and Preemptive
scheduling techniques
10. Explain the following concepts in Task Communication
a) Shared memory types
b) Message passing classifications
11. Explain the following Task communication/synchronisation issues
a) Racing
b) Deadlock
c) Dining Philosophers’ problem
d) Producer- consumer/ bounded buffer problem
e) Reader- writers problem
f) Priority inversion
Unit 3:
1. Explain in detail the different approaches to Embedded Firmware Design.
2. Write a short note on Integrated Development Environments (IDEs) for
Embedded System Development.
3. Differentiate between The Super Loop and Embedded OS Based firmware
design approaches.
4. Write a short note on Embedded Firmware Development Languages
(Assembly/high level language ).
5. Explain in brief the Assembly Language approach to Embedded Firmware
Development.
6. Explain the different storage classes in C.
7. Differentiate between Compiler and Cross compiler.
8. Write a C program to generate Fibonacci numbers upto 100.
9. Write a program to have case insensitive search of a character in a string of 50
words.
10. Write a C program to find odd Prime numbers between 1 to 100.
11. Differentiate the generic IDE and IDE of embedded firmware development.
Pg.570.
12. Write a note on Dynamic memory allocation.
Unit4:
1. Write a note on Free RTOS.
2. Build a prototype task function in FreeRTOS.
3. Using suitable APIs, illustrate Idle Task Hook function in FreeRTOS.
4. Using suitable APIs, illustrate the creation and deletion of tasks in FreeRTOS.
5. Explain in brief FreeRTOS Queue Management.
6. Write a pseudo code to send a pointer to a buffer using a queue.
7. Illusrtrate the benefits of having queue by copy method in FreeRTOS
8. Explain in brief the FreeRTOS resource management.
9. Write a short note on Task Priorities in FreeRTOS.
10. Explain the different APIs used for Interrupt Management in FreeRTOS
11. Write a program to create a critical section for guarding access to a register
12. Write a program to create a critical section for guarding access to a register
13. Using suitable API’s, illustrate the creation and suspension of a scheduler in
Free RTOS
14. Write a pseudo code to send a pointer to a buffer using a queue.
15. Illustrate the Dynamic Memory Allocation and its Relevance to FreeRTOS with
an example.
16. Write a short note on deferred interrupt processing.
17. Analyze the advantages and disadvantage of using separate interrupt safe API.