0% found this document useful (0 votes)
7 views6 pages

Gctu Quiz 2

The document is a quiz from Ghana Communication Technology University, consisting of 20 questions related to microprocessors and assembly language. It covers topics such as the functions of various components, architecture types, and specific instructions in assembly language. Each question offers multiple-choice answers to assess understanding of microprocessor systems.

Uploaded by

Daniel Arthur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views6 pages

Gctu Quiz 2

The document is a quiz from Ghana Communication Technology University, consisting of 20 questions related to microprocessors and assembly language. It covers topics such as the functions of various components, architecture types, and specific instructions in assembly language. Each question offers multiple-choice answers to assess understanding of microprocessor systems.

Uploaded by

Daniel Arthur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

GHANA COMMUNICATION TECHNOLOGY UNIVERSITY

QUIZ 1-NOV 2024


Answer All Questions Correctly

1. What is the function of the accumulator in a microprocessor?


A. It stores data permanently.
B. It holds data temporarily during processing.
C. It controls the program flow.
D. It generates clock signals.

2. Which of the following is a characteristic of the von Neumann architecture?


A. Separate memory for data and instructions
B. Single memory for both data and instructions
C. Multi-core processing
D. Parallel execution of instructions

3. What is the purpose of the ALU in a microprocessor?


A. Control program execution
B. Perform arithmetic and logical operations
C. Store data temporarily
D. Manage input and output operations
4. Which register in the microprocessor is responsible for holding the memory
address of the next instruction to be executed?
A. Program Counter (PC)
B. Accumulator
C. Stack Pointer (SP)
D. Instruction Register (IR)

5. In the context of microprocessor systems, what is a bus?


A. A device that performs calculations
B. A pathway for transferring data between components
C. A storage unit for binary data
D. A control unit that manages instruction execution

6. What is the primary difference between RISC and CISC architectures?


A. RISC uses complex instructions, while CISC uses simple instructions.
B. CISC uses complex instructions, while RISC uses simple instructions.
C. Both are the same.
D. RISC requires more power than CISC.

7. What is an interrupt in a microprocessor system?


A. A way to stop program execution permanently
B. A signal that causes the processor to suspend execution of the current program
and execute a specific routine
C. A method of communication between two processors
D. A command to shut down the microprocessor

8. What does the instruction "MOV A, B" do in assembly language?


A. Moves the value from register A to register B
B. Copies the value from register B to register A
C. Adds the contents of registers A and B
D. Exchanges the values in registers A and B

9. Which of the following is a key feature of the 8085 microprocessor?


A. 64-bit data bus
B. 16-bit address bus
C. 8-bit data bus
D. 32-bit instruction set
10. In assembly language programming, what does the term "opcode" refer to?
A. The part of an instruction that specifies the operation to be performed
B. A temporary storage area for data
C. The address of the next instruction
D. A section of memory allocated for data storage

11. Which of the following instructions in assembly language is used to add two
values?
A. ADD
B. MOV
C. SUB
D. MUL
12. What does the term "DMA" stand for in microprocessor systems?
A. Direct Memory Allocation
B. Direct Memory Access
C. Data Memory Access
D. Digital Microprocessor Access

13. What is the purpose of a stack in a microprocessor system?


A. To store temporary data during program execution
B. To hold the memory address of the next instruction
C. To manage I/O operations
D. To control the flow of the program

14. In assembly language, what does the "JMP" instruction do?


A. Jump to a specific memory location
B. Jump to the next instruction
C. Jump to a subroutine
D. Jump to the previous instruction

15. Which of the following best describes pipelining in microprocessors?


A. A method of increasing the speed of program execution by overlapping
instruction processing
B. A way to slow down the microprocessor to reduce power consumption
C. A method for storing instructions temporarily
D. A method for optimizing memory usage

16. What is the purpose of the "CALL" instruction in assembly language?


A. It halts program execution.
B. It calls a subroutine and stores the return address.
C. It copies data between registers.
D. It performs logical operations.

17. In assembly language, which of the following is used to define a constant


value?
A. MOV
B. ADD
C. EQU
D. SU

18. What is the function of the control unit in a microprocessor?


A. Performing arithmetic operations
B. Controlling the execution of instructions
C. Storing data permanently
D. Transferring data between registers

19. What does the "RET" instruction do in assembly language?


A. Stops the program execution
B. Returns control to the calling program after the subroutine has been executed
C. Resets the microprocessor
D. Reverses the contents of two registers
20. What is the typical word size of an 8086 microprocessor?
A. 4 bits
B. 8 bits
C. 16 bits
D. 32 bits

You might also like