MCQ On Microcontroller: Microcontroller & Applications

MCQ On Microcontroller. This set includes 24+ Multiple Choice Questions on the topic of Microcontroller and its Applications.

MCQ On Microcontroller

 

When can a LCD display the text form of data ??

a. only when RS line is high
b. only when RW line is high
c. only when RS line is low
d. only when RW line is low

 

The display operations in LCD are undertaken on EN line with ??

a. 0 to 1 transition
b. 1 to 0 transitions
c. Both a & b
d. None of the above

 

Where does the power gets dissipated during the gradual decay of an inductor current (up to zero value) by turning OFF the transistor in an electromechanical relay ??

a. Internal resistance of the coil
b. Internal Diode resistance
c. Both a & b
d. None of the above

 

How many data lines are essential in addition to RS, EN and RW control lines for interfacing LCD with Atmel 89C51 microcontroller ??

a. 3
b. 5
c. 8
d. 10

 

Which diodes are employed in the electromechanical relays since the inductor current cannot be reduced to zero ??

a. Tunnel Diode
b. Shockley Diode
c. Freewheeling Diode
d. Zener Diode

MCQ On Microcontroller

 

On which factors do the delay between two characters depend for display purposes in LCD ??

a. Clock frequency
b. Display module
c. Both a & b
d. None of the above

 

In an electromechanical relay, the necessity of connecting an external base resistance arises only ??

a. in the presence of an internal pull-up resistor
b. in the absence of an internal pull-up resistor
c. in the absence of an internal push-up resistor
d. in the presence of an internal push-up resistor

 

How much delay is necessarily provided after the power-on-reset condition in order to overcome the predicaments related to valid power supply levels assigned to the microcontroller and LCD ??

a. 10 ms
b. 12 ms
c. 15 ms
d. 25 ms

 

What is the correct chronological order/sequence of steps associated with the latch operations given below ??

a. Loading the data on output port
b. Increment in the digital output functions by using microcontroller pins
c. Application of latch enable signal to desired latch

a. A, B, C
b. A, C, B
c. C, A, B
d. B, A, C

 

Match the HEX codes of LCD with their associated functions ??

a. 10H —————– 1) Shifting of cursor position to right
b. 14H —————– 2) Shifting of cursor position to left
c. 18H —————– 3) 2 lines & 5 x 7 character font
d. 38H —————– 4) Shifting of an entire display to the left

a. A-4, B–1, C-2, D-3
b. A-3, B–2, C-1, D-4
c. A-2, B-1, C-4, D-3
d. A-1, B–2, C-3, D-4

MCQ On Microcontroller

 

How is the latch interfacing with the microcontroller-related to the number of digital output functions ??

a. It increases the number of digital output functions in a time-multiplexed manner
b. It decreases the number of digital output functions in a time-multiplexed manner
c. It increases the number of digital output functions in a frequency multiplexed manner
d. It decreases the number of digital output functions in a frequency multiplexed manner

 

How does the instruction execute for reading command ‘Get LCD Status’ in LCD ??

a. By allowing EN line to go from low to high
b. By allowing EN line to go from high to low
c. By maintaining EN line to be stable
d. None of the above

 

What happens when the latch is kept open once after the execution of the latch operation by allowing input digital data byte to appear at the output ??

a. Variation in an input digital data
b. Output data remains constant despite changing input digital data
c. Variation in an output data with respect to input data variation
d. Cannot predict

 

Which ports assist in addressing lower order and higher address bytes into the data bus simultaneously, while accessing the external data memory ??

a. Port 0 & Port 1 respectively
b. Port 1 & Port 2 respectively
c. Port 0 & Port 2 respectively
d. Port 2 & Port 3 respectively

 

Which among the below-mentioned memory components possesses the potential of generating an ALE signal for the latching purpose of lower address byte in an external data memory ??

a. CPU
b. Data Bus
c. Port 0
d. Port 1

MCQ On Microcontroller

 

Which control line/s act/s as an initiator by apprising LCD about the inception of data transmission by the microcontroller ??

a. Enable (EN)
b. Register Select (RS)
c. Read/Write (RW)
d. All of the above

 

What happens when the RD signal becomes low during the read cycle ??

a. Data byte gets loaded from external data memory to data bus
b. Address byte gets loaded from external data memory to address bus
c. Data byte gets loaded from external program memory to data bus
d. Address byte gets loaded from external program memory to address bus

 

What does the availability of LCD in 16 x 2 typical value indicate ??

a. 16 lines per character with 2 such lines
b. 16 characters per line with 2 such lines
c. 16 pixels per line with 2 such sets
d. 16 lines per pixel with two such sets

 

Which bus/es acquire/s the potential of liberally receiving the code byte after addressing the lower order address byte ??

a. Data bus
b. Address bus
c. Both a & b
d. None of the above

 

Which among the below-given assertions exhibits the dependency of LED status over them, especially for LED and push button connection ??

a. Closure of pushbutton
b. Low Output pin driven by microcontroller
c. Both a & b
d. None of the above

MCQ On Microcontroller

 

Which essential operation should be performed while reading the external program byte on the data bus ??

a. Latching of lower address byte
b. Latching of higher address byte
c. Latching of any addressable byte irrespective of priority level
d. None of the above

 

What is the possible range of current limiting resistors essential for lightening the LED in certain applications after pressing the push-button ??

a. 25-55 Ω
b. 55-110 Ω
c. 110-220 Ω
d. 220-330 Ω

 

Which pin should be set low along with the program counter contents more than 0FFFH for accessing the external program memory ??

a. EA
b. ALE
c. PSEN
d. All of the above

 

What is/are the consequences of driving the LED in the form of an output function ??

a. Pin sources the current when made low without glowing LED
b. Pin sinks the current when made high without glowing LED
c. Pin sources the current when made high by glowing LED
d. Pin sinks the current when made low by glowing LED

 

What value of ‘B’ should be loaded in the TRISB register if return lines (RB7:RB4) and RB3:RB0 are supposed to be inputs and outputs respectively after the PORT B initialization ??

a. 11000100
b. 11110011
c. 11110001
d. 11110000

 

More Posts

Leave a Comment

Your email address will not be published. Required fields are marked *

error: Content is protected !!