Embedded Systems Questions and Answers
Download Embedded Systems eBook

Download PDF Download Embedded Systems Questions eBook

Embedded Systems Questions and Answers: Submit Your Question

1 :: Explain Scope of static variables?

Static variables can only be accesed in the files were they are declared.

Static variable within the scope of a function store it's values in consecutive calls of that function.

Static functions can only be caled within the file they are defined.
Is This Answer Correct?    52 Yes 2 No
Submit Your Answer

2 :: Explain What is interrupt latency?

Interrupt latency refers to the amount of time between when an interrupt is triggered and when the interrupt is seen by software.
Is This Answer Correct?    33 Yes 12 No
Submit Your Answer

3 :: How to define a structure with bit field members?

You can define structure bit field members with Dot operators.

EXAMPLE:

#include
int main()
{

Struct bit_field
{
Int x.4; // it allocates only 4 bits to x
Char C.6; // it allocates only 6 bits to C;
};

return 0;
}
Is This Answer Correct?    21 Yes 6 No
Submit Your Answer

4 :: Explain What is the difference between embedded systems and the system in which RTOS is running?

Embedded system can include RTOS and cannot include also. it depends on the requirement. if the system needs to serve only event sequencially, there is no need of RTOS. If the system demands the parallel execution of events then we need RTOS.
Is This Answer Correct?    21 Yes 0 No
Submit Your Answer

5 :: How is function itoa() written in C?

#include
#include
int main()
{
int n = 6789;
char p[20];
itoa(n,s,10);
printf("n=%d,s=%s",n,s);
return 0;
}
Is This Answer Correct?    7 Yes 13 No
Submit Your Answer

Place Your Question