MCQOPTIONS
Saved Bookmarks
This section includes 22 Mcqs, each offering curated multiple-choice questions to sharpen your 8051 Microcontroller knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
For selecting the data pins in an LCD, RS pin should be |
| A. | 1 |
| B. | 0 |
| C. | F |
| D. | 10 |
| Answer» B. 0 | |
| 2. |
Which of the following commands takes more than 100 microseconds to run? |
| A. | shift cursor left |
| B. | shift cursor right |
| C. | set address location of the DDRAM |
| D. | clear screen |
| Answer» E. | |
| 3. |
In AVR, the LCD operates in two main modes, it can be in 8 bit or 4 bit data. |
| A. | true |
| B. | false |
| C. | depends on the situation |
| D. | can’t be said |
| Answer» B. false | |
| 4. |
THE_RS_PIN_IS_AN_INPUT/OUTPUT_FOR_A_CONTROLLER??$ |
| A. | input |
| B. | output |
| C. | input & output |
| D. | none of the mentioned |
| Answer» C. input & output | |
| 5. |
WHICH_OF_THE_FOLLOWING_COMMANDS_TAKES_MORE_THAN_100_MICROSECONDS_TO_RUN??$ |
| A. | shift cursor left |
| B. | shift cursor right |
| C. | set address location of the DDRAM |
| D. | clear screen |
| Answer» E. | |
| 6. |
For_selecting_the_data_pins_in_an_LCD,_RS_pin_should_be$ |
| A. | 1 |
| B. | 0 |
| C. | F |
| D. | 10 |
| Answer» B. 0 | |
| 7. |
Which instruction is used to select the first row first column of an LCD? |
| A. | 0x08 |
| B. | 0x0c |
| C. | 0x80 |
| D. | 0xc0 |
| Answer» D. 0xc0 | |
| 8. |
What is the address of the second column and the second row of the 2*20 LCD? |
| A. | 0x80 |
| B. | 0x81 |
| C. | 0xc0 |
| D. | 0xc1 |
| Answer» E. | |
| 9. |
For reading operation from an LCD what changes in the software are introduced? |
| A. | low to high pulse at E pin |
| B. | R/W pin is set high |
| C. | low to high pulse at E pin & R/W pin is set high |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 10. |
What is the function of the 0x06 command? |
| A. | to clear the LCD |
| B. | to blink the cursor |
| C. | to shift the cursor to the right |
| D. | for selecting the matrix |
| Answer» D. for selecting the matrix | |
| 11. |
What changes are to be made to send data to an LCD? |
| A. | set the R/W bit |
| B. | set the E bit |
| C. | set the RS bit |
| D. | all of the mentioned |
| Answer» D. all of the mentioned | |
| 12. |
To latch in information at the data pins of the LCD, we send |
| A. | H-L pulse at the E pin |
| B. | L-H pulse at the E pin |
| C. | A constant H pulse at the E pin |
| D. | A constant L pulse at the E pin |
| Answer» B. L-H pulse at the E pin | |
| 13. |
Which command is used to select the 2 lines and 5*7 matrix of an LCD? |
| A. | 0x01 |
| B. | 0x06 |
| C. | 0x0e |
| D. | 0x38 |
| Answer» E. | |
| 14. |
The RS pin acts as an |
| A. | input pin |
| B. | output pin |
| C. | any of the mentioned depending on the conditions |
| D. | none of the mentioned |
| Answer» B. output pin | |
| 15. |
Which command of an LCD is used to shift the entire display to the right? |
| A. | 0x1C |
| B. | 0x18 |
| C. | 0x05 |
| D. | 0x07 |
| Answer» B. 0x18 | |
| 16. |
What is the main function of the LPM instruction used in LCD? |
| A. | for initializing the LCD in the read mode |
| B. | for initializing the LCD in the write mode |
| C. | for sending a long string of characters to the LCD |
| D. | all of the mentioned |
| Answer» D. all of the mentioned | |
| 17. |
For writing commands on an LCD, RS bit is |
| A. | set |
| B. | reset |
| C. | set & reset |
| D. | none of the mentioned |
| Answer» C. set & reset | |
| 18. |
When the LCD operates in the 4 bit mode, then what more commands are added to it? |
| A. | 33 |
| B. | 32 |
| C. | 28 |
| D. | all of the mentioned |
| Answer» E. | |
| 19. |
Which pin of the LCD is used for adjusting its contrast? |
| A. | pin no 1 |
| B. | pin no 2 |
| C. | pin no 3 |
| D. | pin no 4 |
| Answer» D. pin no 4 | |
| 20. |
What can be the sequence of commands that may be used for initializing an LCD? |
| A. | 0x06, 0x0e, 0x01 |
| B. | 0x0e, 0x01, 0x80 |
| C. | 0x38, 0x0e, 0x01 |
| D. | all of the mentioned |
| Answer» D. all of the mentioned | |
| 21. |
How many data lines are there in a 16*2 alphanumeric LCD? |
| A. | 16 |
| B. | 8 |
| C. | 1 |
| D. | 0 |
| Answer» C. 1 | |
| 22. |
How many rows and columns are present in a 16*2 alphanumeric LCD? |
| A. | rows=2, columns=32 |
| B. | rows=16, columns=2 |
| C. | rows=16, columns=16 |
| D. | rows=2, columns=16 |
| Answer» E. | |