Monday 2 September 2013

Embedded systems Lab-Viva-Questions

Embedded Systems Course Objectives
Course: (CS 432) Embedded systems Lab

Viva-Questions
1. What is watchdog timer?
2.  What is semaphore?
3.  What is mutex?
4.  Can structures be passed to the functions by value?
5.  Why cannot arrays be passed by values to functions?
6.  Advantages and disadvantages of using macro and inline functions?
7.  What happens when recursion functions are declared inline?
8.  Scope of static variables?
9.  What is the difference between a ‘thread’ and a ‘process’?
10. Explain the working of Virtual Memory?
11. What is Concurrency? Explain with example Deadlock and Starvation.
12. What is the difference between fifo and the memory?
13. Is it necessary to start the execution of a program from the main() in C?
14. What is an anti aliasing filter? Why is it required?
15. How to implement a fourth order Butterworth LP filter at 1kHz if sampling frequency is 8 kHz?
16. IS 8085 an embedded system?
17. What is the role of segment register?
18. What type of registers contains an (INTEL) CPU?
19. What is plc system?
20. What is difference between micro processor & micro controller?
21. Can we use semaphore or mutex or spin lock in interrupt context in linux kernel?
22. DMA deals with which address (physical/virtual addresses)?
23. What is dirac delta function and its Fourier transform and its importance?
24. What is the difference between testing and verification of vlsi circuit?
25. While writing interrupt handlers (ISR), which are points needed to be considered?
26. Explain can microcontroller work independently?
27. Explain What happens when recursion functions are declared inline?
28. Explain Scope of static variables?
29. What is interrupt latency?
30. Explain Operations involving unsigned and signed? Unsigned will be converted to signed?
31. Explain Order of constructor and destructor call in case of multiple inheritance?
32. Explain Difference between object oriented and object based languages?
33. What are the advantages and disadvantages of using macro and inline functions?
34. Explain why cannot arrays be passed by values to functions?
35. Explain what is interrupt latency? How can we reduce it?
36. Explain what are the different qualifiers in C?
37. Explain What are the 5 different types of inheritance relationship?
38. Explain What will this return malloc(sizeof(-10))?
39. Explain Can structures be passed to the functions by value?
40. Explain can we have constant volatile variable?
41. Explain what are the different storage classes in C?
42. Explain what is forward reference w.r.t. pointers in c?
43. How is function itoa() written in C?
44. Explain what is the difference between embedded systems and the system in which RTOS is running?
45. How to define a structure with bit field members?
46. Explain what is interrupt latency?
47. Explain Scope of static variables?
48. What is pass by value and pass by reference? How are structure passed as arguments? 
49. What is difference between using a macro and a in line function? 
50. What is the volatile keyword used for? 
51. What are hard and soft Real time systems? 
52. What is a semaphore? what are the different types of semaphore? 
53. Write a constant time consuming statement lot finding out If a given number Is a power of 2? 
54. What are recursive functions? Can we make them in line? 
55. What is the size of the int, char and float data types? 
56. What does malloc do? What will happen if we have a statement like malloc(sizeof(0));
57. What is meant by a forward reference in C? 
58. What is the order of calling for the constructors and destructors in case of objects of inherited classes? 
59. Explain the properties of  a Object oriented programming language. 
60. What do you mean by interrupt latency? 
61. What typecast is applied when we have a signed and an unsigned int in an expression? 
62. How are variables mapped across to the various memories by the C compiler? 
63. What is a memory leak? What is a segmentation fault? 
64. What is ISR? Can they be passed any parameter and can they return a value? 
65. a=7; b=8; x=a++-b; printf(“%d”, x ); What does this code give as output? 
66. What are little endian and big endian types of storage? How can you identify which type of allocation a system follows? 
67. What is the scope of a function that is declared as static? 
68. What is the use of having the const qualifier? 
69. Why do we need a infinite loop in embedded systems development? What are the different ways by which you can code in a infinite loop? 
70. What is the difference between embedded systems and the system in which rtos is running?

No comments:

Post a Comment