Professional Documents
Culture Documents
Embedded-and-Real-Time-Systems-2 Marks Final
Embedded-and-Real-Time-Systems-2 Marks Final
*Caching.
Von-Neumann Architecture:
Harvard architecture:
25. What is the average memory access time of a machine whose hit rate is 93% with a
cache access time of 5 ns and a main memory access time of 80 ns?
29. Write the types of ARM processor modes used for programming?
Little-endian mode (with the lowest-order byte residing in the low-order bits of the
word)
Big-endian mode (the lowest-order byte stored in the highest bits of the word)
*Bulk transfer
*Isochronous transfer (sequence of data)
3. Define: processes.
A process is a single execution of a program.
If we run the same program two different times, we have created two different
processes.
Each process has its own state that includes not only its register but also all of its
memory.
5. Define queue.
A Queue is a sequence of work objects that are waiting to be processed.
6. Define stack.
A stack is a container of objects that are inserted and removed according to the last-
in first-out (LIFO) principle.
8. What are the three conditions that must be satisfied by the re-entrant function?
A function is called re-entrant function when the following three conditions are
satisfied all the arguments pass the values and some of the argument is a pointer
whenever a calling function calls it. When an operation is not atomic, the function should not
operate on any variable, which is declared but passed by reference not passed by
arguments in to the function. That function does not call any other function that is not itself
re-entrant.
9. What is meant by operating system?
An operating system (OS) is software that manages computer hardware and software
resources and provides common services for computer programs. The operating system is
an essential component of the system software in a computer system. Application programs
usually require an operating system to function.
7. What is the role played by the accelerator in the design of embedded system?
*One important category of PE for embedded multiprocessor is the accelerator.
*An accelerator is attached to CPU buses to quickly execute certain key functions.
*It can provide large performance increase, for many applications with computational
kernels.
* It can also provide critical speedups for low latency I/O functions.
9. What are the three classes used in the alarm clock mechanism?
1. The Lights-Class allows to drive the lights
2. The Buttons-Class provides read only access to the current state of the buttons.
3. The Buzzer-Class allows the buzzer to be turned off.
10. What are the two major components used in design and testing of alarm clocks?
1. The interrupt handler: It is in the interrupt process itself on most of the functionality
2. The foreground code: It can be more easily tested on PC used for code development
21. What is the input parameters used in the engine control unit?
1. Vehicle speed
2. Vehicle acceleration or Deceleration
3. Temperature
4. Air pressure
5. Throttle Position centre
23. What are the steps used for compressing JPEG images?
1. Color space conversion
2. Color down sampling
3. Block based Discrete Cosine Transform
4. Quantization
5. Entropy Coding