17th
Sep
Microcontroller MCQ

Microcontroller MCQ

  • Admin
  • 17th Sep, 2021
  • 457 Followers

Microcontroller MCQ Quiz

Following are mostly asked Microcontroller MCQ test that are designed for professionals like you to crack you interviews. You can take this Microcontroller online test before appearing to you real interview. This Microcontroller quiz there are around 30+ multiple choice questions on Microcontroller with four options.

1) A microcontroller at-least should consist of:

  • A. CPU, ROM, I/O ports and timers
  • B. RAM, ROM, I/O ports and timers
  • C. CPU, RAM, I/O ports and timers
  • D. CPU, RAM, ROM, I/O ports and timers

2) Unlike microprocessors, microcontrollers make use of batteries because they have:

  • A. low power consumption
  • B. low voltage consumption
  • C. high power dissipation
  • D. low current consumption

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

  • A. fetch,execute,decode
  • B. execute,fetch,decode
  • C. fetch,decode,execute
  • D. decode,fetch,execute

4) If we say microcontroller is 8-bit then here 8-bit denotes size of:

  • A. ALU
  • B. Control Bus
  • C. Address Bus
  • D. Data Bus

5) Abbreviate CISC and RISC:

  • A. Complete Instruction Set Computer, Reduced Instruction Set Computer
  • B. Complete Instruction Set Computer, Reliable Instruction Set Computer
  • C. Complex Instruction Set Computer, Reduced Instruction Set Computer
  • D. Complex Instruction Set Computer, Reliable Instruction Set Computer
Download Free : Microcontroller MCQ PDF

6) 8051 microcontrollers are manufactured by which of the following companies?

  • A. Intel
  • B. Atmel
  • C. Philips
  • D. All of the above

7) AT89C2051 has RAM of:

  • A. 256 bytes
  • B. 128 bytes
  • C. 512 bytes
  • D. 64 bytes

8) 8051 series has how many 16 bit registers?

  • A. 1
  • B. 2
  • C. 3

9) When 8051 wakes up then 0x00 is loaded to which register?

  • A. SP
  • B. PC
  • C. PSW
  • D. none of the mentioned

10) When the microcontroller executes some arithmetic operations, then the flag bits of which register are affected?

  • A. PSW
  • B. PC
  • C. SP
  • D. DPTR

11) How are the status of the carry, auxiliary carry and parity flag affected if the write instruction MOV A,#9C ADD A,#64H

  • A. CY=1,AC=1,P=1
  • B. CY=0,AC=1,P=0
  • C. CY=0,AC=0,P=0
  • D. CY=1,AC=1,P=0

12) How are the bits of the register PSW affected if we select Bank2 of 8051?

  • A. PSW.2=0 and PSW.3=1
  • B. PSW.3=0 and PSW.4=1
  • C. PSW.3=1 and PSW.4=1
  • D. PSW.5=0 and PSW.4=1

13) On power up, the 8051 uses which RAM locations for register R0- R7:

  • A. 00-07
  • B. 00-0F
  • C. 00-7F
  • D. 00-2F

14) How many bytes of bit addressable memory is present in 8051 based microcontrollers?

  • A. 32 bytes
  • B. 128 bytes
  • C. 16 bytes
  • D. 8 bytes

15) If we push data onto the stack then the stack pointer:

  • A. increases & decreases with every push
  • B. decreases with every push
  • C. constant
  • D. increases with every push

16) Which operations are performed by the bit manipulating instructions of boolean processor?

  • A. Clear bit
  • B. Set bit
  • C. Complement bit
  • D. All of the above

17) What is the maximum delay generated by the 12 MHz clock frequency in accordance to an auto-reload mode (Mode 2) operation of the timer?

  • A. 256 μs
  • B. 250 μs
  • C. 125 μs
  • D. 1200 μs

18) Which timer mode exhibit the necessity to generate the interrupt by setting EA bit in IE enhancing the program counter to jump to another vector location?

  • A. Mode 3
  • B. Mode 2
  • C. Mode 1
  • D. Mode 0

19) Which among the following control/s the timer1 especially when it is configured as a timer in mode’0′, where gate and TR1 bits are attributed to be ‘1” in TMOD register?

  • A. External input at (INT1)
  • B. TF1
  • C. TR1
  • D. All of these

20) Which special function register play a vital role in the timer/counter mode selection process by allocating the bits in it?

  • A. TCON
  • B. SCON
  • C. PCON
  • D. TMOD

21) What is the counting rate of a machine cycle in correlation to the oscillator frequency for timers?

  • A. 1 / 10
  • B. 1 / 12
  • C. 1 / 15
  • D. 1 / 20

22) What kind of triggering configuration of external interrupt intimate the signal to stay low until the generation of subsequent interrupt?

  • A. Level Triggering
  • B. Edge-Triggering
  • C. Both a & b d
  • D. None of the above

23) Which location specify the storage/loading of vector address during the interrupt generation?

  • A. Stack Pointer
  • B. Data Pointer
  • C. Program Counter
  • D. All of the above

24) How does the processor respond to an occurrence of the interrupt?

  • A. By Interrupt Status Subroutine
  • B. By Interrupt Structure Subroutine
  • C. By Interrupt System Subroutine
  • D. By Interrupt Service Subroutine

25) What is the divisional range of program memory for internal and external memory portions respectively when enable access pin is held high (unity)?

  • A. 0000H – 1000H & 0FFFH – FFFFH
  • B. 0000H – 0FFFH & 1000H – FFFFH
  • C. 0001H – 0FFFH & 01FFH – FFFFH
  • D. none of the mentioned

26) The address space of the 8051 is divided into four distinct areas: internal data, external data, internal code, and external code.

  • A. True
  • B. False

27) Data transfer from I/O to external data memory can only be done with the MOVX command:

  • A. True
  • B. False

28) What is the difference between the 8031 and the 8051?

  • A. The 8031 is ROM-less
  • B. The 8051 has 64 bytes more memory.
  • C. The 8031 has no interrupts
  • D. The 8051 is ROM-less

29) Which of the following statements will add the accumulator and register 3?

  • A. ADD R3, A
  • B. ADD @R3, @A
  • C. ADD A, R3
  • D. ADD @A, R3

30) Bit-addressable memory locations are:

  • A. 40H through 4FH
  • B. 30H through 3FH
  • C. 20H through 2FH
  • D. 10H through 1FH

Microcontroller Online Test Questions (Microcontroller FAQs)

1) What is Microcontroller?

A microcontroller is a microcomputer on an integrated circuit (IC) chip manufactured to control the functions of products. A microcontroller performs one specific program that is dedicated to one single task.

2) What is 8051 Microcontroller ?

8051 microcontroller is an 8-bit microcontroller that is consists of 40 pins DIP, 4kb of ROM storage and 128 bytes of RAM storage, 2 16-bit timers, designed by Intel in the year 1981.

3) What are registers in Microcontroller?

A register is a location in microcontroller memory used to write data to or read data.

4) List different types of interupts available in Microcontroller?

There are five different types of interrupts available in Microcontroller are:

  • TF0- Timer 0 overflow interrupt
  • INT0- External hardware interrupt
  • TF1- Timer 1 overflow interrupt
  • TF1- External hardware interrupt
  • RI/TI- Serial communication interrupt

5) What is a PIC microcontroller?

PIC microcontrollers stand for Programmable Interface Controllers.PIC microcontrollers are used to perform a large no of tasks. They are used in a lot of electronic devices such as mobiles, production line systems, etc.

6) What is an embedded Microcontroller?

An embedded microcontroller system is a system of hardware and software designed to perform dedicated functions within a larger mechanical or electrical system.

7) What is meant by Flipflop?

Flip-flops commonly known as latches are fundamental building blocks of digital electronics systems which is consist of two stable states in order to store information.

8) What is the width of address bus in Microcontroller?

The width of the address bus in the Microcontroller varies as it uses both port 0 and port 2. Therefore while using port 0, the width would be 8 bits and while using port 2 the width would be 16 bits.

9) What are special function registers in Microcontroller?

Microcontroller Special Function Registers in Microcontroller are used to program and control different hardware peripherals.

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

01st
Sep
IOS Swift MCQ
01st
Apr
Django MCQ
01st
Apr
Cobol MCQ
01st
Jul
Email MCQ