Introduction to Microcontrollers MCQ

 Introduction to Microcontrollers

1. In 8086 microprocessor , the address bus is ________ bit wide

  •  10 bit
  •  20 bit
  •  16 bit
  •  12 bit

 Answer 20 bit

2. What is the file extension is used to load in a microcontroller to execute an instruction?

  •  .doc
  •  .c
  •  .txt
  •  .hex

Answer .hex

3. What are the two instruction set architecture (ISA) classifications?

  •  SIDC & BIDC
  •  CISC & RISC
  •  CISC & VISC

Answer CISC & RISC

4. What is internal RAM memory of 8051 microprocessor?

  •  32 bytes
  •  64 bytes
  •  128 bytes
  •  256 bytes

Answer 128 bytes

5. How many timers/counter 8051 16-bit microprocessor have?

  •  1
  •  2
  •  5
  •  8

Answer 2 timers/counter

6. Register that is used to holds the memory address of the next instruction to be executed is

  •  Program Memory
  •  Program Counter
  •  Control Unit
  •  Instruction decoder

Answer Program Counter

7. The 8051 microprocessor has ________ parallel I/O ports.

  •  2
  •  3
  •  4
  •  5

Answer  4 parallel I/O ports.

8. Which instructions affect the program counter?

  •  Call & Return
  •  Call & Jump
  •  Push & Pop
  •  Return & Jump

Answer Call & Jump

9. Which register is used to store the output generated by ALU?

  •  Special Function Register
  •  Timer Register
  •  Accumulator
  •  Stack Pointer

Answer Accumulator

10. ........... signal control the flow of data

  •  DTR
  •  RTS
  •  Both 1 & 2
  •  None of the above

Answer Both 1 & 2

11. Which of the following is the function of the TMOD register?

  •  It is used to interrupt the timer
  •  It is used to load the count of the timer
  •  It is used to set different timer’s or counter’s to their appropriate modes
  •  It Is the destination or the final register where the result is obtained after the operation of the timer

Answer It is used to set different timer’s or counter’s to their appropriate modes

12. Which of the following is the function of the SCON register?

  •  control SMOD registers
  •  control SBUF and SMOD registers
  •  program the start bit, stop bit, and data bits of framing
  •  None of the above

Answer program the start bit, stop bit, and data bits of framing

13. Which of the following is the bit of the IE register is used to enable TxD/RxD interrupt?

  •  IE.D2
  •  IE.D3
  •  IE.D4
  •  IE.D5

Answer IE.D4

14. Which of the following pin of the LCD is used for adjusting its contrast?

  •  pin no 3
  •  pin no 1
  •  pin no 4
  •  pin no 2

Answer pin no 3

15. Point out the correct statement about about DAC0808?

  •  It has current as an output
  •  Parallel digital data to analog data conversion
  •  Both A & B
  •  None of the above

Answer Parallel digital data to analog data conversion

16. Which of the following register usually store the output generated by ALU in several arithmetic and logical operations?

  •  Special Function Register
  •  Timer Register
  •  Accumulator
  •  Stack Pointer

Answer Accumulator

17. Which of the following operations are performed by stack pointer during its incremental phase?

  •  Pop
  •  Push
  •  Return
  •  None of the above

Answer  Push

18. Which of the following is the default value of stack once after the system undergoes the reset condition?

  •  08H
  •  09H
  •  00H
  •  07H

Answer 07H

19. Whichn of the following commands are used for addressing the off-chip data and associated codes respectively by data pointer?

  •  MOVC & MOVY
  •  MOVY & MOVB
  •  MOVZ & MOVA
  •  MOVX & MOVC

Answer MOVX & MOVC

20. Which of the following is the bit addressing range of addressable individual bits over the on-chip RAM?

  •  00H to 7FH
  •  01H to 7FH
  •  00H to FFH
  •  80H to FFH

Answer a 00H to 7FH

21. A microcontroller at-least should consist of:

  • RAM, ROM, I/O ports and timers
  • CPU, RAM, I/O ports and timers
  • CPU, RAM, ROM, I/O ports and timers
  • CPU, ROM, I/O ports and timers

Answer CPU, RAM, ROM, I/O ports and timers

22. Unlike microprocessors, microcontrollers make use of batteries because they have:

a) high power dissipation

b) low power consumption

c) low voltage consumption

d) low current consumption

Answer low power consumption

23. What is the order decided by a processor or the CPU of a controller to execute an instruction?

a) decode,fetch,execute

b) execute,fetch,decode

c) fetch,execute,decode

d) fetch,decode,execute

Answer fetch,decode,execute

24. If we say microcontroller is 8-bit then here 8-bit denotes size of:

a) Data Bus

b) ALU

c) Control Bus

d) Address Bus

Answer: ALU

25. How are the performance and the computer capability affected by increasing its internal bus width?

a) it increases and turns better

b) it decreases

c) remains the same

d) internal bus width doesn’t affect the performance in any way

Answer: it increases and turns better

26. Abbreviate CISC and RISC.

a) Complete Instruction Set Computer, Reduced Instruction Set Computer

b) Complex Instruction Set Computer, Reduced Instruction Set Computer

c) Complex Instruction Set Computer, Reliable Instruction Set Computer

d) Complete Instruction Set Computer, Reliable Instruction Set Computer

Answer: Complex Instruction Set Computer, Reduced Instruction Set Computer

27. Give the names of the buses present in a controller for transferring data from one place to another?

a) data bus, address bus

b) data bus

c) data bus, address bus, control bus

d) address bus

Answer: data bus, address bus, control bus

28. What is the file extension that is loaded in a microcontroller for executing any instruction?

a) .doc

b) .c

c) .txt

d) .hex

Answer: .hex

29. What is the most appropriate criterion for choosing the right microcontroller of our choice?

a) speed

b) availability

c) ease with the product

d) all of the mentioned

Answer: all of the mentioned

30. Why microcontrollers are not called general purpose computers?

a) because they have built in RAM and ROM

b) because they design to perform dedicated task

c) because they are cheap

d) because they consume low power

Answer: because they design to perform dedicated task

31. How many types of architectures are available, for designing a device that is able to work on its own?

a) 3

b) 2

c) 1

d) 4

Answer: 2

32. Which architecture is followed by general purpose microprocessors?

a) Harvard architecture

b) Von Neumann architecture

c) None of the mentioned

d) All of the mentioned

Answer: Von Neumann architecture

33. Which architecture involves both the volatile and the non volatile memory?

a) Harvard architecture

b) Von Neumann architecture

c) None of the mentioned

d) All of the mentioned

Answer: Harvard architecture

34. Which architecture provides separate buses for program and data memory?

a) Harvard architecture

b) Von Neumann architecture

c) None of the mentioned

d) All of the mentioned

Answer: Harvard architecture

35. Which microcontroller doesn’t match with its architecture below?

a) Microchip PIC- Harvard

b) MSP430- Harvard

c) ARM7- Von Neumann

d) ARM9- Harvard

Answer: MSP430- Harvard

36. Harvard architecture has _____________

a) dedicated buses for data and program memory

b) pipeline technique

c) complex architecture

d) all of the mentioned

Answer: all of the mentioned

37. Which out of the following supports Harvard architecture?

a) ARM7

b) Pentium

c) SHARC

d) All of the mentioned

Answer: SHARC

38. Why most of the DSPs use Harvard architecture?

a) they provide greater bandwidth

b) they provide more predictable bandwidth

c) they provide greater bandwidth & also more predictable bandwidth

d) none of the mentioned

Answer: they provide greater bandwidth & also more predictable bandwidth

39. Which of the following supports CISC as well as Harvard architecture?

a) ARM7

b) ARM9

c) SHARC

d) None of the mentioned

Answer: SHARC

40. Which of the two architecture saves memory?

a) Harvard

b) Von Neumann

c) Harvard & Von Neumann

d) None of the mentioned

Answer: Von Neumann

Comments