Professional Documents
Culture Documents
ES Question Bank 7CT PDF
ES Question Bank 7CT PDF
UNIT - I
1. What types of hardware parts are typically found in ES? Write in brief.
2. Define ES. What are the difficulties encountered while writing S/W for ES?
3. What is difference between desktop computer OS & the real time OS of an ES?
UNIT-II
1. Mention the design difficulties encountered in ES.
2. Explain the designing process for h/w & s/w part for ES.
3. Explain the five level of Abstraction.
4. What do you understand by Software architecture? Explain any two in detail.
UNIT – III
2. What are the rules to decide reentrancy of a function? Explain due to which rule
the following function is not reentrant?
int cErrors;
viod vcountErrors(int cNewError)
{
cErrors += cNewError;
}
Can this function be made reentrant by using semaphore? Justify.
4. A scheduler is the part of the RTOS & keeps track of the states of each task.
Answer the following questions:
i) How scheduler does know that a task is blocked or unblocked?
ii) What happens if all the tasks are blocked?
iii) What happens if two tasks with same priority are ready?
iv)
5. Write three rules for deciding if a function is reentrant. Is this function reentrant?
int cErrors;
Void vcountErrors(int cNewError)
{
cErrors += cNewError;
}
6. How does an RTOS semaphore protect data? Explain by giving example.
7. Where do you need to take & release semaphores in the following code to make
the function reentrant?
Static int iValue;
Int iFixValue(int iParam)
{int iTemp;
iTemp = iValue;
iTemp += iParam * 17;
If (iTemp > 4922)
iTemp = iParam;
ivalue = itemp;
iParam = iTemp + 179;
If (iParam < 2000)
return 1;
Else
Return 0;
}
8. Compare message queue, mailbox & pipes.
10. Explain state transition diagram of RTOS.also explain what a scheduler is &
how it manages these different tasks?
11.Explain the data structure for RTOS & tasks with diagram.
13.Discuss the problems caused by semaphores when not used perfectly by the
programmer.
15.Is it possible to use semaphores in place of RTOS events services for the same
purpose? Justify your answer by writing pseudo code for given situation by
using events & writing the same code by using semaphores.
16.Define Real Time System. List some RTOSs & explain whether Windows
95/98/2000/NT based systems can be used for real time operations?
17. Differentiate a desktop computer operating system like DOS & Real time
Operating system (RTOS) of an embedded system.
UNIT-1V
2. Draw the tool chain for building embedded software and explain.
3. Explain host and target machines for ES with Reference to cross-assemblers, cross
compilers.
8. What do you mean by simulation? Explain simulator for an embedded system and
its uses.
5. Draw the block diagram of 8051 microcontroller & write its unique features.
XTAL1, XTAL2, RST, EA/, PSEN/, ALE, WR/, RD/, TXD, RXD.
Where ‘/’ stands for bar i.e. active low signal.
1. Exchange lower nibble of register R0 & R1. i.e. put lower nibble of R1 in R0 &
lower nibble of R0 in R1.
5. Write a program to find a number that when XOR ed to the A register, results in
the number 3FH in A.
7. Write a program to copy the bytes stored at 0100H to 0102H to internal RAM
locations 20H to 22H.
8.
9. Explain adaptive & non – adaptive routing Algorithms.