MCQOPTIONS
Saved Bookmarks
This section includes 40 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. |
Which of the following instructions don’t affect the status bits? |
| A. | bis |
| B. | bic |
| C. | bis & bic |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 2. |
dadd instruction can act as _____________ |
| A. | valid BCD addition |
| B. | valid adder with carry |
| C. | all of the mentioned |
| D. | none of the mentioned |
| Answer» B. valid adder with carry | |
| 3. |
Which of the following bit/s of the status register that allows the microcontroller to operate in its low power mode? |
| A. | Z |
| B. | Reserved |
| C. | CPU off |
| D. | N |
| Answer» D. N | |
| 4. |
In MSP430, the size of the status register is ________ |
| A. | 1 byte |
| B. | 2 bytes |
| C. | 1 bit |
| D. | 2 bit |
| Answer» C. 1 bit | |
| 5. |
Which of the following statements execute faster? |
| A. | Sequential statements |
| B. | Concurrent statements |
| C. | Declaration statements |
| D. | Loop statements |
| Answer» C. Declaration statements | |
| 6. |
It is not possible to declare an entity after declaring its architecture. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 7. |
Which of the following can’t be declared in the declaration part of the architecture? |
| A. | Signals |
| B. | Subprograms |
| C. | Components |
| D. | Libraries |
| Answer» E. | |
| 8. |
An entity can’t be described by more than one architecture. |
| A. | True |
| B. | False |
| Answer» C. | |
| 9. |
Which of the following can be the name of an architecture? |
| A. | arch 1 |
| B. | 1arch |
| C. | arch_1 |
| D. | architecture |
| Answer» D. architecture | |
| 10. |
The statements in between the keyword BEGIN and END are called _______ |
| A. | Concurrent statements |
| B. | Netlist |
| C. | Declaration statement |
| D. | Entity function |
| Answer» B. Netlist | |
| 11. |
What does the architecture of an entity define? |
| A. | External interface |
| B. | Internal functionality |
| C. | Ports of the entity |
| D. | Specifications |
| Answer» C. Ports of the entity | |
| 12. |
DADD_INSTRUCTION_CAN_ACT_AS______________?$ |
| A. | valid BCD addition |
| B. | valid adder with carry |
| C. | all of the mentioned |
| D. | none of the mentioned |
| Answer» B. valid adder with carry | |
| 13. |
A_14_BIT_PROGRAM_COUNTER_CAN_EXECUTE_A_MAXIMUM_OF___________MEMORY_LOCATIONS??$ |
| A. | 4K |
| B. | 8K |
| C. | 16K |
| D. | 64K |
| Answer» D. 64K | |
| 14. |
THE_STATEMENTS_IN_BETWEEN_THE_KEYWORD_BEGIN_AND_END_ARE_CALLED________?$ |
| A. | Concurrent statements |
| B. | Netlist |
| C. | Declaration statement |
| D. | Entity function |
| Answer» B. Netlist | |
| 15. |
ON_POWER_UP,_THE_8051_USES_WHICH_RAM_LOCATIONS_FOR_REGISTER_R0-_R7?$ |
| A. | 00-2F |
| B. | 00-07 |
| C. | 00-7F |
| D. | 00-0F |
| Answer» C. 00-7F | |
| 16. |
Which_of_the_following_instructions_don’t_affect_the_status_bits?$# |
| A. | bis |
| B. | bic |
| C. | bis & bic |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 17. |
When_AVR_wakes_up,_then_the_value_of_PC_becomes?$ |
| A. | 00H |
| B. | 000H |
| C. | 0000H |
| D. | 00000H |
| Answer» E. | |
| 18. |
How_many_bytes_of_bit_addressable_memory_is_present_in_8051_based_microcontrollers?$ |
| A. | 8 bytes |
| B. | 32 bytes |
| C. | 16 bytes |
| D. | 128 bytes |
| Answer» D. 128 bytes | |
| 19. |
Which out of the following is a correct emulated instruction? |
| A. | dst==0 |
| B. | *–SP=src |
| C. | dst=*SP++ |
| D. | dst+=C |
| Answer» C. dst=*SP++ | |
| 20. |
Is an assembly language a high level language? |
| A. | Yes |
| B. | No |
| C. | Cant be said |
| D. | None of the mentioned |
| Answer» C. Cant be said | |
| 21. |
What does the declarative part of architecture contain? |
| A. | Declaration of another entity |
| B. | Declaration of libraries and packages |
| C. | Declaration of local signals, constants or subprograms |
| D. | Declaration of Architecture type |
| Answer» E. | |
| 22. |
If we push data onto the stack then the stack pointe? |
| A. | increases with every push |
| B. | decreases with every push |
| C. | increases & decreases with every push |
| D. | none of the mentioned |
| Answer» B. decreases with every push | |
| 23. |
Pre increment addressing is available in MSP430? |
| A. | true |
| B. | false |
| C. | cant be said |
| D. | depends on the conditions |
| Answer» C. cant be said | |
| 24. |
Which out of the following is not a directive? |
| A. | .EQU |
| B. | .DEVICE |
| C. | .ORG |
| D. | .LDI |
| Answer» E. | |
| 25. |
How are the bits of the register PSW affected if we select Bank2 of 8051? |
| A. | PSW.5=0 and PSW.4=1 |
| B. | PSW.2=0 and PSW.3=1 |
| C. | PSW.3=1 and PSW.4=1 |
| D. | PSW.3=0 and PSW.4=1 |
| Answer» E. | |
| 26. |
.w form is used for operations |
| A. | that uses bytes |
| B. | that uses words |
| C. | that uses both |
| D. | that uses none |
| Answer» D. that uses none | |
| 27. |
How are the status of the carry, auxiliary carry and parity flag affected if the write instruction |
| A. | |
| B. | |
| Answer» C. | |
| 28. |
Their are_______________ number of emulated instructions found in the MSP430? |
| A. | 4 |
| B. | 8 |
| C. | 16 |
| D. | 24 |
| Answer» E. | |
| 29. |
Which out of the following instructions don’t affect the flags of the status register?$ |
| A. | AND |
| B. | INC |
| C. | OR |
| D. | ADD |
| Answer» E. | |
| 30. |
When the microcontroller executes some arithmetic operations, then the flag bits of which register are affected? |
| A. | PSW |
| B. | SP |
| C. | DPTR |
| D. | PC |
| Answer» B. SP | |
| 31. |
To improve the efficiency of an MSP430 based microcontroller, for one register |
| A. | there is only one value for all addressing modes |
| B. | there are two values for each addressing mode |
| C. | there are 2 values for four addressing modes |
| D. | there are 4 values for four addressing modes |
| Answer» E. | |
| 32. |
The total space for the data memory available in the AVR based microcontroller is? |
| A. | FFH |
| B. | FFFH |
| C. | FFFFH |
| D. | FFFFFH |
| Answer» D. FFFFFH | |
| 33. |
When 8051 wakes up then 0x00 is loaded to which register? |
| A. | DPTR |
| B. | SP |
| C. | PC |
| D. | PSW |
| Answer» D. PSW | |
| 34. |
What is actually done to improve the efficiency of a RISC processor? |
| A. | instructions are reduced |
| B. | they have two or more processors inbuilt connected between |
| C. | they have many instructions that are interrelated to each other |
| D. | they have one or more registers hard wired to the commonly used values |
| Answer» E. | |
| 35. |
The largest value that can be loaded in an 8 bit register is? |
| A. | 11111111H |
| B. | FH |
| C. | FFH |
| D. | 00H |
| Answer» D. 00H | |
| 36. |
8051 series has how many 16 bit registers? |
| A. | 2 |
| B. | 3 |
| C. | 1 |
| D. | 0 |
| Answer» B. 3 | |
| 37. |
Which of the following bits is a bit of the status register that allows the microcontroller to operate in its low power mode? |
| A. | Z |
| B. | Reserved |
| C. | CPU off |
| D. | N |
| Answer» B. Reserved | |
| 38. |
Registers R0-R31 are used for what type of works? |
| A. | they are used for arithmetic and logic instructions |
| B. | they are used for data copy |
| C. | they are used for calculations |
| D. | none of the mentioned |
| Answer» B. they are used for data copy | |
| 39. |
AT89C2051 has RAM of: |
| A. | 128 bytes |
| B. | 256 bytes |
| C. | 64 bytes |
| D. | 512 bytes |
| Answer» B. 256 bytes | |
| 40. |
8051 series of microcontrollers are made by which of the following companies? |
| A. | Atmel |
| B. | Philips |
| C. | Atmel & Philips |
| D. | None of the mentioned |
| Answer» E. | |