Sie sind auf Seite 1von 3

MID-3 EXAM [16EC370 - Microcontrollers for Embedded Systems]

1 mark questions:

Unit 4:
1. List any four requirements for Cortex-M3 embedded processor.
2. List the three different profiles available for ARM.
3. Name the features of Cortex-M3.
4. What is NVIC in Cortex-M3?
5. What do you mean by MSP and PSP in Cortex-M3?
6. Name some special registers available in Cortex-M3.
7. Draw the xPSR format of Cortex-M3.
8. Name the operating modes of Cortex-M3.
9. Name the two levels of Cortex-M3.
10. Draw the state diagram of switching between thread and handler modes.
11. What do you mean by APSR, IPSR and EPSR in Cortex-M3?
12. Mention the size of SRAM and external RAM in Cortex-M3.
13. What are the main bus interfaces being available in Cortex-M3?
14. Mention the use of ICode and DCode buses.
15. What is JTAG?
16. What are the debugging features being available in Cortex-M3?
17. Mention the use of DWT in Cortex-M3.
18. What do you mean by ETM and ITM in Cortex-M3.
19. List the advantages of Thumb-2 technology over traditional ARM.
20. Mention the functions of WFE, WFI, and SEV instructions in Cortex-M3.
21. Mention the use of LDM and STR instructions?
22. Mention the use of RSB and REV instructions?
23. Mention the use of MLA and SMLAL instructions?
24. Mention the use of BL and BX instructions?
25. Mention the use of IT instruction?
26. The main importance of ARM micro-processors is providing operation with ______
a) Low cost and low power consumption
b) Higher degree of multi-tasking
c) Lower error or glitches
d) Efficient memory management
27. The additional duplicate register used in ARM machines are called as _______
a) Copied-registers
b) Banked registers
c) Extra registers
d) Extential registers
28. ____ symbol is used to signify write back mode.
a) #
b) ^
c) &
d) !
29. The ability to shift or rotate in the same instruction along with other operation is performed with
the help of _________
a) Switching circuit
b) Barrel switcher circuit
c) Integrated Switching circuit
d) Multiplexer circuit
30. The BEQ instructions is used _________
a) To check the equality condition between the operands and then branch
b) To check if the Operand is greater than the condition value and then branch
c) To check if the flag Z is set to 1 and then causes branch
d) None of the mentioned
31. The pseudo instruction used to load an address into the register is ______
b) ADR
32. Which of the following provides fastest access for the processor?
a) Tightly Coupled Memory (TCM)
b) Hard disk
c) Onboard flash memory
d) Register File
33. Which types of an embedded system involve the coding at a simple level in an embedded 'C',
without any necessity of RTOS?
a) Small Scale Embedded Systems
b) Medium Scale Embedded Systems
c) Sophisticated Embedded Systems
d) All of the above

Unit 5:

34. What are the components of C program

35. Explain how the parameters of a statement-block in a function pass-by value to the called
36. Explain how the parameters of a statement-block in a function pass-by reference to the called
37. Describe for control structure for loop
38. Describe while control structure for loop
39. Describe repeat control structure for loops
40. How the decision blocks are used for using if then else statements?
41. What is a function in c?
42. What are the steps involved in executing a function?
43. What are the two ways in which parameters can be passed in C?
44. What re the data types in C?
45. How do you declare variable, give examples?
46. What are static variables?
47. What are global variables?
48. What are local variables?
49. What is re-entrant function?
50. What are constants?
51. Can static variables in one function can be changed by another function?
52. What is structure? Give example.
53. What is union? Give example.
54. What is array? Give example
55. What are the two ways in which the pointers used?
56. Difference between C and Embedded C.
57. A pointer for a float is incremented by 1. What is the change in address?
58. Branching without saving on to the stack or registers is after _____.
a. the loop, if then else and case statements
b. a call
c. the loop, if then else and case statements and interrupts
d. return
59. What is the process of passing parameters in functions?
60. What are pre-processor directives?
61. What is the use of PWMPR?
62. What is the use of PWMMRX?
63. How do you select the edged nature of PWM signal?

10 mark questions:

Unit 4:

1. Explain ARM cortex M3 architecture in detail.

2. Explain about the arm cortex M3 applications and operating modes.
3. With neat sketch explain in detail about the ARM cortex M3 registers.
4. Explain thumb-2 technology with instruction set.

Unit 5:

5. Explain about the features and advantage of using C programming for embedded systems.
6. Explain about arrays structures and pointers with example programs.
7. Explain the different models of using loops and decisions.
8. Explain in detail about how functions are useful with necessary examples and use cases with
passing parameters for functions.
9. Write a program to interface switches & LEDs using GPIO and explain about PWM registers.