QB345
QB345
7. Explain the different types of special keywords used in inline assembly for C51.
8. What will be the memory allocated on successful execution of the following memory
allocation request?
Assume the size of int as 2 bytes
x = (int *) malloc(100);
(a) 2 Bytes (b) 100 Bytes (c) 200 Bytes (d) 4 Bytes
9. Which of the following is a processor understandable language?
(a) Assembly language (b) Machine language (c) High level language
Long Answer Questions
1. Explain the function of a watchdog timer in an embedded system, its influence on system
stability, and provide examples of both internal and external implementations and their
effectiveness.
2. Draw a diagram of the assembly language to machine language conversion process and
explain it in detail.
3. Explain the different approaches to embedded firmware design in detail.
4. Explain the ‘High Level Language’ based embedded firmware development technique and its
key features.
5. Explain the 'High-Level Language' based 'Embedded Firmware' development technique.
6. With a neat diagram, explain the conversion process from assembly language to machine
language, and discuss the advantages and disadvantages of assembly language.
UNIT-IV
Short answer type ques ons
1.Explain the key func onality of process management.
2. The user application and kernel interface is provided through
(a) System calls (b) Shared memory h (c) Services (d) All of these
7. Explain the main principle of Round Robin (RR) scheduling in CPU process management.
9. Iden fy and explain the key processes involved in context switching, context saving, and context
retrieval.
10. Explain the different thread binding models for user-level and kernel-level threads
11. Compare and contrast threads and processes by sta ng two key differences
2. How does a message queue facilitate communica on between processes or threads in an opera ng
system?
3. Apply your understanding of message passing in inter-process communica on and differen ate it
from shared memory, explaining the key differences and advantages of each.
4. Choose the key parameters involved in memory-mapping and explain how each one affects the
mapping process.
6. Apply your understanding of the Mailbox concept in inter-process communica on to explain how it
works and provide an example of its use in an embedded system.
8. Explain the concept of a race condi on and explain how it can lead to data inconsistency in a mul -
process system.
9. Explain signaling as a method for inter-process communica on and explain how it is used in RTX51
Tiny OS.