Microprocessor & Microcontroller (Cs502)

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Subhabratas
S
Subhabratas
Community Contributor
Quizzes Created: 1 | Total Attempts: 813
Questions: 40 | Attempts: 813

SettingsSettingsSettings
Microprocessor Quizzes & Trivia

Questions and Answers
  • 1. 

    Which is the microprocessor comprises: 

    • A.

      Register section

    • B.

      ALU

    • C.

      Control unit

    • D.

      All of these

    Correct Answer
    D. All of these
    Explanation
    The microprocessor comprises all of these components: register section, ALU, and control unit. The register section stores data and instructions temporarily, the ALU performs arithmetic and logical operations, and the control unit manages the flow of data and instructions within the microprocessor. Therefore, the correct answer is "All of these."

    Rate this question:

  • 2. 

    What will be stored by register? 

    • A.

      Data

    • B.

      Operands

    • C.

      Memory

    • D.

      None of these

    Correct Answer
    A. Data
    Explanation
    The register will store data.

    Rate this question:

  • 3. 

    Accumulator based microprocessor example are:

    • A.

      Intel 8085

    • B.

      Motorola 6809

    • C.

      A and B

    • D.

      None of these

    Correct Answer
    C. A and B
    Explanation
    The correct answer is A and B because both Intel 8085 and Motorola 6809 are examples of accumulator-based microprocessors. These microprocessors have a dedicated register called an accumulator that is used for arithmetic and logical operations. The accumulator stores the intermediate results of calculations and is a key component in the execution of instructions in these microprocessors. Therefore, both Intel 8085 and Motorola 6809 meet the criteria of being accumulator-based microprocessors.

    Rate this question:

  • 4. 

    A sets of registers can contain:

    • A.

      Data

    • B.

      Memory addresses

    • C.

      Result

    • D.

      All of these

    Correct Answer
    D. All of these
    Explanation
    A set of registers can contain data, memory addresses, and results. Registers are small, high-speed storage locations within a computer's central processing unit (CPU) that hold data that is being actively used or manipulated. They can store data values, memory addresses that point to specific locations in the computer's memory, and also hold the results of calculations or operations performed by the CPU. Therefore, all of these options are correct and can be contained within a set of registers.

    Rate this question:

  • 5. 

    There are primarily two types of register:

    • A.

      General purpose register

    • B.

      Dedicated register

    • C.

      A and B

    • D.

      None of these

    Correct Answer
    C. A and B
    Explanation
    The correct answer is A and B because general purpose registers are used for a wide range of functions and can store any type of data, while dedicated registers are designed for specific tasks and have predefined purposes. Therefore, both types of registers exist and serve different purposes in a computer system.

    Rate this question:

  • 6. 

    BCD stands for:

    • A.

      Binary coded decimal

    • B.

      Binary coded decoded

    • C.

      Both a & b

    • D.

      None of these

    Correct Answer
    A. Binary coded decimal
    Explanation
    BCD stands for Binary Coded Decimal. BCD is a coding scheme that represents each decimal digit with a 4-bit binary code. In BCD, each decimal digit is encoded separately, allowing easy conversion between binary and decimal representations. This coding scheme is commonly used in digital systems, particularly in applications where precise decimal arithmetic is required. BCD is not the same as Binary Coded Decoded, and it is not a combination of both options A and B. Therefore, the correct answer is Binary Coded Decimal.

    Rate this question:

  • 7. 

    Which is used to store critical pieces of data during subroutines and interrupts:

    • A.

      Stack

    • B.

      Queue

    • C.

      Accumulator

    • D.

      Data register

    Correct Answer
    A. Stack
    Explanation
    During subroutines and interrupts, the stack is used to store critical pieces of data. The stack is a data structure that follows the Last-In-First-Out (LIFO) principle, meaning that the last item added to the stack is the first one to be removed. This makes it suitable for storing data temporarily during subroutines and interrupts, as it allows for efficient retrieval of the most recent data when needed. The stack is commonly used to store return addresses, function parameters, and local variables, ensuring the correct flow of execution and preserving important data.

    Rate this question:

  • 8. 

    The process by which data will be submitted in the stack is:

    • A.

      Push

    • B.

      Enter

    • C.

      Submit

    • D.

      None of these

    Correct Answer
    A. Push
    Explanation
    The correct answer is "Push" because when data is submitted in a stack, it is added to the top of the stack using the push operation. The push operation pushes the data onto the stack, increasing its size and updating the top pointer to point to the newly added element. This allows for the data to be stored and accessed in a Last-In-First-Out (LIFO) manner.

    Rate this question:

  • 9. 

    Each memory location has:

    • A.

      Address

    • B.

      Contents

    • C.

      Both A and B

    • D.

      None of these

    Correct Answer
    C. Both A and B
    Explanation
    Each memory location in a computer system has an address, which is used to uniquely identify it. The address allows the system to locate and access the contents of that particular memory location. Additionally, each memory location stores data or instructions, which are referred to as its contents. Therefore, both A (address) and B (contents) are present in each memory location.

    Rate this question:

  • 10. 

    IP stands for:

    • A.

      Instruction pointer

    • B.

      Instruction purpose

    • C.

      Instruction paints

    • D.

      None of these

    Correct Answer
    A. Instruction pointer
    Explanation
    IP stands for Instruction Pointer. In computer programming, an instruction pointer is a register that holds the memory address of the next instruction to be executed. It points to the location in memory where the next instruction resides. The instruction pointer is automatically incremented after each instruction is executed, allowing the program to progress sequentially through its instructions. Therefore, the correct answer is "Instruction pointer."

    Rate this question:

  • 11. 

    The size of data bus in 8085 is:

    • A.

      4 bit

    • B.

      6 bit

    • C.

      8bit

    • D.

      16 bit

    Correct Answer
    C. 8bit
    Explanation
    The size of the data bus in the 8085 microprocessor is 8 bits. The data bus is responsible for transferring data between the microprocessor and other devices or components in the system. In the case of the 8085, it can transfer data in 8-bit chunks at a time. This means that it can handle data in the form of 8-bit binary numbers, allowing for a wide range of values to be processed and manipulated by the microprocessor.

    Rate this question:

  • 12. 

    Address bus size is:

    • A.

      8 bit

    • B.

      16 bit

    • C.

      24 bit

    • D.

      32 bit

    Correct Answer
    B. 16 bit
    Explanation
    The address bus size refers to the number of bits that can be used to address memory locations. In this case, the correct answer is 16 bit, which means that the computer system can address up to 2^16 (65536) different memory locations. This is a relatively small address space compared to larger address bus sizes like 32 bit or 64 bit, which can address much larger memory spaces.

    Rate this question:

  • 13. 

    Data bus is:

    • A.

      Uni directional

    • B.

      Bi directional

    • C.

      Both A and B

    • D.

      None of these

    Correct Answer
    B. Bi directional
    Explanation
    A data bus is a communication pathway that allows the transfer of data between different components of a computer system. It can be either unidirectional or bidirectional. In the case of a bidirectional data bus, data can flow in both directions, allowing for two-way communication between components. This means that data can be both sent and received through the bus. Therefore, the correct answer is bidirectional.

    Rate this question:

  • 14. 

    Address bus is:

    • A.

      Bi directional

    • B.

      Uni directional

    • C.

      Both A and B

    • D.

      None of these

    Correct Answer
    B. Uni directional
    Explanation
    The address bus is described as uni-directional because it only allows data to be transferred from the processor to the memory or input/output devices. It is used to transmit the memory address from the processor to the memory module, indicating the location where data needs to be read from or written to. The address bus does not allow data to be transferred in the opposite direction, making it a one-way communication path.

    Rate this question:

  • 15. 

    In 8085, all the results are stored in:

    • A.

      Accumulator

    • B.

      Stack Pointer

    • C.

      Program Counter

    • D.

      Instruction Pointer

    Correct Answer
    A. Accumulator
    Explanation
    In the 8085 microprocessor, all the results are stored in the Accumulator. The Accumulator is a special register that is used to store intermediate results and final results of arithmetic and logical operations performed by the microprocessor. It is also used as a source or destination operand in various instructions. The Accumulator plays a crucial role in data manipulation and processing within the 8085 microprocessor, making it the correct choice for storing results.

    Rate this question:

  • 16. 

    In 8085, register pairs are:

    • A.

      AB, CD, EF, HM

    • B.

      BC, DE, HL

    • C.

      All of the above

    • D.

      None of these

    Correct Answer
    B. BC, DE, HL
    Explanation
    In the 8085 microprocessor, register pairs BC, DE, and HL are available. These register pairs are used for various operations such as storing memory addresses, holding data, and performing arithmetic calculations. The AB, CD, EF, and HM register pairs mentioned in the options are not valid register pairs in the 8085 microprocessor. Therefore, the correct answer is BC, DE, HL.

    Rate this question:

  • 17. 

    When 9th bit will come, after any arithmetic operation, carry flag will be:

    • A.

      Set

    • B.

      Reset

    • C.

      All of the above

    • D.

      None of the above.

    Correct Answer
    A. Set
    Explanation
    After any arithmetic operation, the carry flag will be set when the result of the operation produces a carry or overflow. This means that the result is too large to fit in the designated number of bits. Therefore, the carry flag will be set when the 9th bit is encountered.

    Rate this question:

  • 18. 

    In an arithmetic result, if even number of ones are present, which flag will be set?

    • A.

      Carry

    • B.

      Auxiliary Carry

    • C.

      Zero

    • D.

      Parity

    Correct Answer
    D. Parity
    Explanation
    In an arithmetic result, the Parity flag will be set if an even number of ones are present. The Parity flag is used to indicate whether the result of an operation has an even or odd number of set bits. If there are an even number of ones in the result, the Parity flag will be set to indicate that the result has even parity.

    Rate this question:

  • 19. 

    Auxiliary carry will be set when:

    • A.

      Carry will be passed from bit 0 to bit 1

    • B.

      Carry will be passed from bit 3 to bit 4

    • C.

      All of the above

    • D.

      None of these

    Correct Answer
    B. Carry will be passed from bit 3 to bit 4
    Explanation
    The auxiliary carry flag is set when there is a carry from the lower nibble (bits 0-3) to the upper nibble (bits 4-7) during arithmetic operations. In this case, the correct answer states that the carry will be passed from bit 3 to bit 4, which means that there is a carry from the 4th bit to the 5th bit. Therefore, the auxiliary carry flag will be set in this scenario.

    Rate this question:

  • 20. 

    Z flag will be set when:

    • A.

      Final result is all ones

    • B.

      Final result is all zeros

    • C.

      All of the above

    • D.

      None of the above

    Correct Answer
    B. Final result is all zeros
    Explanation
    The Z flag is a flag in computer processors that indicates whether the result of an operation is zero or not. In this case, the correct answer is "Final result is all zeros." This means that when the final result of an operation is all zeros, the Z flag will be set. This flag is important in conditional branching and decision-making within a computer program, as it allows the program to check if a certain operation resulted in zero and take appropriate action based on that.

    Rate this question:

  • 21. 

    Addressing mode is:

    • A.

      Opcode, Operand and Process

    • B.

      Operand, Opcode and Process

    • C.

      All of the above

    • D.

      None of these

    Correct Answer
    A. Opcode, Operand and Process
    Explanation
    The addressing mode refers to the way in which the processor accesses the operands for an instruction. In this case, the correct answer is "Opcode, Operand and Process." This means that the instruction includes the opcode (which specifies the operation to be performed), the operand (which specifies the data on which the operation is to be performed), and the process (which determines how the operation is carried out). This addressing mode is commonly used in many computer architectures.

    Rate this question:

  • 22. 

    LDA 2050 - example of

    • A.

      Immediate mode

    • B.

      Indirect mode

    • C.

      Direct mode

    • D.

      Implicit mode

    Correct Answer
    C. Direct mode
    Explanation
    The given correct answer, "Direct mode," suggests that LDA 2050 is an example of a direct mode. In direct mode, the operand of an instruction specifies the actual data to be operated on. This means that the address of the data is directly specified in the instruction itself. In the case of LDA 2050, it implies that the instruction is directly loading the data from memory location 2050.

    Rate this question:

  • 23. 

    Example of immediate addressing mode is:

    • A.

      LDA 2050

    • B.

      MOV A,B

    • C.

      MVI H, 23

    • D.

      STAX B

    Correct Answer
    C. MVI H, 23
    Explanation
    The given example of immediate addressing mode is "MVI H, 23". In immediate addressing mode, the data operand is directly specified in the instruction itself. Here, the instruction "MVI H, 23" loads the immediate value 23 into the H register. This means that the value 23 is immediately moved into the H register without the need for any additional memory access.

    Rate this question:

  • 24. 

    Indirect register addressing mode is explained by:

    • A.

      MOV A,M

    • B.

      MOV A,B

    • C.

      MVI A,09

    • D.

      None of these

    Correct Answer
    A. MOV A,M
    Explanation
    The given correct answer, "MOV A,M," suggests that the indirect register addressing mode is explained by the instruction "MOV A,M." In this mode, the content of the memory location pointed to by the register is moved into the accumulator. This instruction is used to access data stored in memory indirectly through the register. The other instructions mentioned, "MOV A,B" and "MVI A,09," do not demonstrate the indirect register addressing mode.

    Rate this question:

  • 25. 

    MOV H,L stands for

    • A.

      Content of H is going to L

    • B.

      Content of L is coming to H

    • C.

      All of the above

    • D.

      None of the above

    Correct Answer
    B. Content of L is coming to H
    Explanation
    MOV H,L stands for "Move the content of L to H". This instruction is used in assembly language programming to transfer the value stored in the L register to the H register. Therefore, the correct answer is "Content of L is coming to H".

    Rate this question:

  • 26. 

    Implicit addressing mode's example is:

    • A.

      MOV A,B

    • B.

      MOV A,M

    • C.

      CMA

    • D.

      MVI A,09

    Correct Answer
    C. CMA
    Explanation
    The given example demonstrates the use of the implicit addressing mode. In the instruction "CMA", the accumulator's contents are complemented. This instruction does not explicitly specify any operands or memory addresses. Instead, it operates on the implicit operand, which is the accumulator. Therefore, "CMA" is an example of the implicit addressing mode.

    Rate this question:

  • 27. 

    STAX B/D represents:

    • A.

      Store the content of B or D register in A

    • B.

      Store the content of A or B or D register

    • C.

      Store the content of A in a memory location, which is pointed by BC or DE register pair

    • D.

      None of these

    Correct Answer
    C. Store the content of A in a memory location, which is pointed by BC or DE register pair
    Explanation
    STAX B/D represents the instruction to store the content of register A in a memory location. The memory location is determined by the register pair BC or DE. This means that the value in register A will be stored in the memory location pointed to by either BC or DE.

    Rate this question:

  • 28. 

    Load the content of memory location to A, which memory location is pointed by BC or DE register pair - Example of the above mentioned statement is:

    • A.

      LDAX 2000

    • B.

      LDA 2000

    • C.

      STAX 2000

    • D.

      LDAX B/D

    Correct Answer
    D. LDAX B/D
    Explanation
    The correct answer is LDAX B/D. This instruction is used to load the content of the memory location pointed by the BC or DE register pair into the accumulator (A). LDAX B is used when the memory location is pointed by the BC register pair, and LDAX D is used when the memory location is pointed by the DE register pair.

    Rate this question:

  • 29. 

    INX H means:

    • A.

      Increment HL pair by 01

    • B.

      Increment H by 01.

    • C.

      All of the above

    • D.

      None of these

    Correct Answer
    A. Increment HL pair by 01
    Explanation
    INX H stands for "Increment HL pair by 01". This means that the value of the HL register pair, which consists of the H and L registers, will be incremented by 01. The H register will not be incremented separately, it will only be incremented as part of the HL pair. Therefore, the correct answer is "Increment HL pair by 01".

    Rate this question:

  • 30. 

    MVI M, 07 represents:

    • A.

      Immediately store 07 to register M

    • B.

      Immediately store 07 to memory pointer M, which is pointed by HL pair

    • C.

      All of the above

    • D.

      None of these

    Correct Answer
    B. Immediately store 07 to memory pointer M, which is pointed by HL pair
    Explanation
    The instruction MVI M, 07 is used to immediately store the value 07 to the memory location pointed by the HL pair. This means that the value 07 will be stored in the memory address specified by the contents of the HL register pair. This instruction is commonly used in assembly language programming to load a value into a specific memory location.

    Rate this question:

  • 31. 

    ADC B means:

    • A.

      Accumulator+Reg B+Register C

    • B.

      Accumulator+Reg B+Carry

    • C.

      Accumulator+Reg B

    • D.

      None of these

    Correct Answer
    B. Accumulator+Reg B+Carry
    Explanation
    ADC stands for "Add with Carry". In computer programming, it is an instruction that adds the values of the accumulator and register B, along with the carry flag. The carry flag represents the carry or overflow that occurs when adding two numbers. Therefore, the correct answer is "Accumulator+Reg B+Carry".

    Rate this question:

  • 32. 

    CMP M means:

    • A.

      Content of M will be compared with A

    • B.

      Content of M will be compared with B

    • C.

      Content of M will be compared with carry

    • D.

      Content of M will be compared with stack

    Correct Answer
    A. Content of M will be compared with A
    Explanation
    The correct answer is "Content of M will be compared with A". This means that the value stored in register M will be compared with the value stored in register A.

    Rate this question:

  • 33. 

    If carry is reset and zero is set, it proves:

    • A.

      Content of accumulator and content of source will be same

    • B.

      Content of accumulator is greater than content of source

    • C.

      Content of accumulator is lesser than content of source

    • D.

      None of these

    Correct Answer
    A. Content of accumulator and content of source will be same
    Explanation
    If the carry is reset and the zero flag is set, it means that there was no carry generated during the previous operation and the result in the accumulator is zero. This implies that the content of the accumulator and the content of the source are the same, as both have a value of zero.

    Rate this question:

  • 34. 

    When 8 bit data will be compared with A, the mnemonics will be:

    • A.

      CMP B

    • B.

      CMP 02

    • C.

      CPI 02

    • D.

      CPI B

    Correct Answer
    C. CPI 02
    Explanation
    The correct answer is CPI 02. In this question, we are comparing an 8-bit data with A. The CPI instruction is used to compare an immediate 8-bit data with the contents of the accumulator (A). So, CPI 02 compares the value 02 with the contents of A. CMP B and CMP 02 are incorrect because they compare the contents of the accumulator with B and 02 respectively, rather than comparing an immediate value with A.

    Rate this question:

  • 35. 

    RAL means:

    • A.

      Individual bit will be shifted one bit left and D7 will go to carry and carry will come to D0.

    • B.

      Individual bit will be shifted one bit left and D0 will go to carry and carry will come to D7.

    • C.

      All of these

    • D.

      None of these

    Correct Answer
    A. Individual bit will be shifted one bit left and D7 will go to carry and carry will come to D0.
    Explanation
    The correct answer is that individual bit will be shifted one bit left and D7 will go to carry, and carry will come to D0. This means that each bit in the binary number will be moved one position to the left, and the leftmost bit (D7) will be stored in the carry flag. The rightmost bit (D0) will then be replaced by the carry flag. This process is known as a right arithmetic shift and is commonly used in computer programming and digital logic operations.

    Rate this question:

  • 36. 

    To do the AND operation with 8 bit data, mnemonics will be:

    • A.

      ANA B

    • B.

      ORA B

    • C.

      ANI 09

    • D.

      ORI 09

    Correct Answer
    C. ANI 09
    Explanation
    The given mnemonics are used to perform the AND operation with 8-bit data. The mnemonic "ANA B" performs the AND operation between the accumulator and the contents of register B. Similarly, the mnemonic "ORA B" performs the OR operation between the accumulator and register B. The mnemonic "ANI 09" performs the AND operation between the accumulator and the immediate data value 09. Lastly, the mnemonic "ORI 09" performs the OR operation between the accumulator and the immediate data value 09.

    Rate this question:

  • 37. 

    LHLD 2000 means:

    • A.

      Content of 2001 will go to L and content of 2000 will go to H

    • B.

      Content of 2001 will go to H and content of 2000 will go to L

    • C.

      Content of 2001 will go to A and content of 2000 will go to M

    • D.

      Content of 2001 will go to A and content of 2000 will go to stack

    Correct Answer
    B. Content of 2001 will go to H and content of 2000 will go to L
    Explanation
    The correct answer is "Content of 2001 will go to H and content of 2000 will go to L." This means that the content of memory location 2001 will be transferred to the H register, while the content of memory location 2000 will be transferred to the L register.

    Rate this question:

  • 38. 

    DCX L means:

    • A.

      Content of L will be decremented by 1

    • B.

      HL pair will be decremented by 1

    • C.

      Wrong mnemonics

    • D.

      None of the above

    Correct Answer
    C. Wrong mnemonics
    Explanation
    The correct answer is "Wrong mnemonics." This means that the mnemonic "DCX L" is not a valid or recognized instruction in the given context. The other options suggest different actions or explanations, but the correct answer indicates that the mnemonic itself is incorrect.

    Rate this question:

  • 39. 

    ADD A means:

    • A.

      Content of A will be summed with M

    • B.

      Content of A will be summed with B

    • C.

      Content of A will be summed with 8 bit data

    • D.

      Content of A will be summed with A

    Correct Answer
    D. Content of A will be summed with A
    Explanation
    The correct answer means that the content of A will be added or combined with itself. In other words, the value of A will be added to itself, resulting in a sum of the two values.

    Rate this question:

  • 40. 

    LDAX H means:

    • A.

      Load HL pair to A

    • B.

      Load HL pair to stack

    • C.

      Wrong mnemonics

    • D.

      None of these

    Correct Answer
    C. Wrong mnemonics
    Explanation
    The given correct answer is "Wrong mnemonics". This implies that LDAX H is not a valid instruction in the given context. It is likely that LDAX H is not a recognized mnemonic or opcode in the programming language or system being referred to. Therefore, the correct answer indicates that LDAX H is an incorrect or invalid instruction.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Jul 24, 2015
    Quiz Created by
    Subhabratas
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.