MCQOPTIONS
Saved Bookmarks
This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Boolean Algebra and Logic Simplification knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
The following command will rotate the 8 bits of the accumulator one position to the left: RL A |
| A. | True |
| B. | False |
| C. | - |
| D. | - |
| Answer» B. False | |
| 2. |
The following program will cause the 8051 to be stuck in a loop: LOOP: MOV A, #00H JNZ LOOP |
| A. | True |
| B. | False |
| C. | - |
| D. | - |
| Answer» C. - | |
| 3. |
The contents of the accumulator after this operation MOV A,#2BH ORL A,00H will be: |
| A. | 1B H |
| B. | 2B H |
| C. | 3B H |
| D. | 4B H |
| Answer» C. 3B H | |
| 4. |
This program code will read data from port 0 and write it to port 2, and it will stop looping when bit 3 of port 2 is set: STAT: MOV A, PO MOV P2,A JNB P2.3, STAT |
| A. | True |
| B. | False |
| C. | - |
| D. | - |
| Answer» B. False | |
| 5. |
This program code will be executed once: STAT: MOV A, #01H JNZ STAT |
| A. | True |
| B. | False |
| C. | - |
| D. | - |
| Answer» C. - | |
| 6. |
The contents of the accumulator after this operation MOV A,#0BH ANL A,#2CH will be |
| A. | 11010111 |
| B. | 11011010 |
| C. | 00001000 |
| D. | 00101000 |
| Answer» D. 00101000 | |
| 7. |
When the 8051 is reset and the line is HIGH, the program counter points to the first program instruction in the: |
| A. | internal code memory |
| B. | external code memory |
| C. | internal data memory |
| D. | external data memory |
| Answer» B. external code memory | |
| 8. |
The following program will receive data from port 1, determine whether bit 2 is high, and then send the number FFH to port 3: READ: MOV A,P1 ANL A,#2H CJNE A,#02H,READ MOV P3,#FFH |
| A. | True |
| B. | False |
| C. | - |
| D. | - |
| Answer» B. False | |
| 9. |
This statement will set the address of the bit to 1 (8051 Micro-controller): SETB 01H |
| A. | True |
| B. | False |
| C. | - |
| D. | - |
| Answer» C. - | |
| 10. |
This program code will be executed continuously: STAT: MOV A, #01H JNZ STAT |
| A. | True |
| B. | False |
| C. | - |
| D. | - |
| Answer» B. False | |