MCQOPTIONS
Saved Bookmarks
This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Avr Microcontroller knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
CP_INSTRUCTION_ALTERS_THE_VALUE_OF_THE_REGISTER??$ |
| A. | true |
| B. | false |
| C. | none of the mentioned |
| D. | can’t be said |
| Answer» C. none of the mentioned | |
| 2. |
What_is_right_about_the_ROR_instruction?$ |
| A. | it rotates the contents of the register left to right |
| B. | it rotates the contents of the register from right to left |
| C. | it rotates the contents of the register from left to right through carry |
| D. | it rotates the contents of the register from right to left through carry |
| Answer» D. it rotates the contents of the register from right to left through carry | |
| 3. |
To set the bits of a register R1 to 1, we must OR the contents of the register with? |
| A. | 00H |
| B. | 11H |
| C. | FFH |
| D. | 0FH |
| Answer» D. 0FH | |
| 4. |
In AVR, when is the V flag set? |
| A. | there is a carry from D7 bit |
| B. | there is a carry from D6 to D7 bit |
| C. | none of the mentioned |
| D. | any of the mentioned |
| Answer» E. | |
| 5. |
Which of the following is correct about the MUL instruction? |
| A. | it is a byte-by-byte multiplication instruction |
| B. | the product is stored in two registers R1 and R0 |
| C. | all of the mentioned |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 6. |
In executing subtraction based instructions, state the role of the C flag? |
| A. | if C=1, the result is negative |
| B. | if C=1, the result is positive |
| C. | none of the mentioned |
| D. | all of the mentioned |
| Answer» B. if C=1, the result is positive | |
| 7. |
What steps are involved when we subtract two numbers present at two different locations? |
| A. | take the two’s complement of the subtrahend |
| B. | add it to the minuend |
| C. | invert the carry |
| D. | all of the mentioned |
| Answer» E. | |
| 8. |
AVR supports which of the following mentioned subtraction instructions? |
| A. | SUB |
| B. | SBC |
| C. | SBI |
| D. | All of the mentioned |
| Answer» E. | |
| 9. |
ADC instruction is used for? |
| A. | addition of two 16 bit numbers |
| B. | analog to digital conversion |
| C. | automatic digital control |
| D. | none of the mentioned |
| Answer» B. analog to digital conversion | |
| 10. |
In AVR microcontrollers, ADD instruction affects the status of which of the following bits of a status register? |
| A. | Z |
| B. | C |
| C. | N |
| D. | All of the mentioned |
| Answer» E. | |