4.new Computer Organization and Assembly Language MCQs
4.new Computer Organization and Assembly Language MCQs
Here are some important MCQs on computer organization and assembly language:
1. **Which component of a computer system is responsible for temporarily storing data and
instructions during processing?**
a) ALU
b) Memory
c) Cache
d) CPU
**Answer:** c) Cache
**Answer:** c) Cache
**Answer:** c) Cache
6. **Which unit of a CPU is responsible for performing arithmetic operations like addition and
subtraction?**
a) ALU (Arithmetic Logic Unit)
b) Control Unit
c) Memory Unit
d) Cache Unit
**Answer:** d) Controls the flow of data and instructions within the CPU
**Answer:** b) Hyper-threading
9. **Which memory unit has the highest storage capacity but slower access compared to other
types of memory?**
a) Cache memory
b) RAM
c) Secondary storage
d) Virtual memory
10. **What is the primary function of the Memory Management Unit (MMU) in a computer
system?**
a) Manages the cache memory
b) Controls the CPU clock speed
c) Translates virtual addresses to physical addresses
d) Executes arithmetic and logic operations
12. **Which type of instruction in assembly language transfers data between the CPU and
memory?**
a) ALU instructions
b) Control instructions
c) Data transfer instructions
d) Branch instructions
13. **In assembly language, what does the term "opcode" refer to?**
a) The operation to be performed
b) The memory location of data
c) The address of the next instruction
d) The name of a register
14. **Which register in a CPU is commonly used as an index register for addressing memory
locations?**
a) Accumulator
b) Program Counter
c) Stack Pointer
d) Index Register
**Answer:** a) Loop
18. **What is the primary advantage of using macros in assembly language programming?**
a) Macros improve code readability
b) Macros reduce code size
c) Macros enhance code portability
d) Macros facilitate code reuse
19. **Which directive in assembly language is used to reserve memory space for variables?**
a) .data
b) .text
c) .code
d) .variable
**Answer:** a) .data
20. **In assembly language, what does the term "label" represent?**
a) A memory address
b) A reserved keyword
c) A subroutine
d) A symbolic name for a memory location
These questions cover fundamental concepts in computer organization and assembly language.
Let me know if you need more questions or if there's a specific area you'd like to focus on!
Certainly! Here are more MCQs on computer organization and assembly language:
22. **Which type of memory is non-volatile and retains its data even when the power is turned
off?**
a) RAM
b) Cache
c) ROM
d) Virtual memory
23. **Which type of memory is directly accessible to the CPU for storing data and instructions
currently being processed?**
a) Secondary storage
b) Cache
c) Virtual memory
d) Optical disk
**Answer:** b) Cache
25. **Which technology is used in modern CPUs to improve performance by allowing multiple
instructions to be executed simultaneously?**
a) Pipelining
b) Multithreading
c) Overclocking
d) Parallel processing
**Answer:** a) Pipelining
26. **Which unit of a CPU is responsible for controlling the flow of data between the CPU and
other components?**
a) ALU
b) Cache
c) Control Unit
d) Memory Unit
28. **Which technology is used to store frequently accessed data and instructions close to the
CPU for faster access?**
a) Virtual memory
b) RAM
c) Cache memory
d) Secondary storage
29. **In computer architecture, what is the purpose of the Arithmetic Logic Unit (ALU)?**
a) To store intermediate data
b) To perform arithmetic and logic operations
c) To control the flow of instructions
d) To manage memory access
30. **Which memory hierarchy level typically has the largest storage capacity in a computer
system?**
a) Cache memory
b) RAM
c) Secondary storage
d) Virtual memory
**Answer:** a) CALL
34. **What does the term "directive" refer to in assembly language programming?**
a) A type of machine instruction
b) A symbolic name for a memory location
c) A statement that directs the assembler
d) A hardware component
35. **Which addressing mode in assembly language allows direct access to memory locations
using a constant value?**
a) Immediate addressing
b) Indirect addressing
c) Register addressing
d) Base addressing
36. **Which statement accurately describes the role of the linker in assembly language
programming?**
a) It converts assembly language code to machine code
b) It combines object files into a single executable program
c) It executes assembly language programs
d) It translates high-level language instructions
37. **In assembly language, what is the purpose of the END directive?**
a) Marks the end of a program
b) Ends a loop
c) Ends a subroutine
d) Ends a conditional statement
38. **Which register in a CPU is used to store the result of arithmetic and logical
operations?**
a) Accumulator
b) Program Counter
c) Stack Pointer
d) Index Register
**Answer:** a) Accumulator
39. **What does the term "opcode" stand for in assembly language programming?**
a) Operation code
b) Optimal code
c) Operational code
d) Operand code
40. **Which directive in assembly language is used to define and initialize constants?**
a) .constant
b) .data
c) .const
d) .define
**Answer:** c) .const
These questions cover a variety of topics in computer organization and assembly language. Let
me know if you need more questions or if there's a specific area you'd like to focus on!
Certainly! Here are more MCQs on computer organization and assembly language:
41. **Which component of a CPU stores the address of the next instruction to be fetched?**
a) Control Unit
b) ALU
c) Cache
d) Program Counter
42. **What is the purpose of the MAR (Memory Address Register) in a computer system?**
a) To store the data being processed
b) To store the address of the next instruction
c) To store the address of memory locations
d) To store intermediate results
43. **Which type of memory is used to store data that is currently being processed by the
CPU?**
a) RAM
b) Cache
c) ROM
d) Hard disk
**Answer:** a) RAM
45. **Which technology is used to improve CPU performance by allowing multiple cores to
work together on processing tasks?**
a) Pipelining
b) Multithreading
c) Multiprocessing
d) Hyper-threading
**Answer:** c) Multiprocessing
46. **In a computer system, what does the term "clock speed" refer to?**
a) The amount of RAM
b) The number of CPU cores
c) The frequency at which the CPU executes instructions
d) The size of the hard disk
47. **Which unit of a CPU is responsible for decoding instructions and controlling the
execution of programs?**
a) ALU
b) Control Unit
c) Cache Unit
d) Memory Unit
48. **What is the purpose of the FPU (Floating Point Unit) in a CPU?**
a) To perform floating-point arithmetic operations
b) To manage file storage
c) To control memory access
d) To execute branch instructions
49. **Which type of memory is used for long-term storage of data and programs, even when
the power is turned off?**
a) RAM
b) Cache
c) ROM
d) Virtual memory
**Answer:** c) ROM
51. **Which addressing mode in assembly language uses a register to hold the address of the
operand?**
a) Immediate addressing
b) Direct addressing
c) Register addressing
d) Indirect addressing
52. **What does the term "mnemonic" refer to in assembly language programming?**
a) A type of machine instruction
b) A symbolic name for a memory location
c) A reserved keyword
d) A hardware component
53. **Which directive in assembly language is used to define and initialize variables?**
a) .const
b) .data
c) .var
d) .define
**Answer:** b) .data
54. **In assembly language, what does the term "label" represent?**
a) A memory address
b) A reserved keyword
c) A subroutine
d) A symbolic name for a memory location
55. **Which instruction in assembly language is used to transfer control to a specified memory
address?**
a) JMP
b) CALL
c) RET
d) PUSH
**Answer:** a) JMP
**Answer:** c) It is a named block of code that can be called from other parts of the
program
59. **Which directive in assembly language is used to reserve memory space without
initializing it?**
a) .space
b) .reserve
c) .allocate
d) .define
**Answer:** a) .space
60. **What is the purpose of the stack pointer register in assembly language programming?**
a) To store the address of the next instruction
b) To store intermediate data
c) To manage subroutine calls and local variables
d) To perform arithmetic operations
These questions cover various aspects of computer organization and assembly language. Let
me know if you need more questions or if there's a specific area you'd like to focus on!
Certainly! Here are more MCQs on computer organization and assembly language:
61. **Which component of a CPU is responsible for fetching instructions from memory and
executing them?**
a) Control Unit
b) ALU
c) Cache
d) Program Counter
63. **Which type of memory is used to store frequently accessed data and instructions to speed
up processing?**
a) RAM
b) Cache
c) ROM
d) Virtual memory
**Answer:** b) Cache
64. **In a computer system, what is the purpose of the DMA (Direct Memory Access)
controller?**
a) To perform arithmetic operations
b) To manage memory allocation
c) To transfer data between peripherals and memory without involving the CPU
d) To control the CPU clock speed
**Answer:** c) To transfer data between peripherals and memory without involving the
CPU
65. **Which unit of a CPU is responsible for performing arithmetic and logical operations?**
a) Control Unit
b) Cache
c) ALU (Arithmetic Logic Unit)
d) Memory Unit
66. **What is the purpose of the MMU (Memory Management Unit) in a computer system?**
a) To manage memory allocation
b) To translate virtual addresses to physical addresses
c) To control the CPU clock speed
d) To perform arithmetic operations
67. **Which technology is used to improve CPU performance by predicting and preloading
instructions into cache?**
a) Pipelining
b) Branch prediction
c) Multithreading
d) Multiprocessing
69. **Which type of memory is volatile and loses its data when the power is turned off?**
a) Cache
b) RAM
c) ROM
d) Secondary storage
**Answer:** b) RAM
70. **In CPU architecture, what is the purpose of the I/O controller?**
a) To execute program instructions
b) To manage input and output operations
c) To perform arithmetic operations
d) To control the CPU clock speed
71. **Which addressing mode in assembly language uses a register to indirectly access
memory?**
a) Direct addressing
b) Indirect addressing
c) Register addressing
d) Immediate addressing
**Answer:** b) Indirect addressing
72. **What does the term "opcode" represent in assembly language programming?**
a) The operation to be performed
b) The address of the operand
c) The memory location of the instruction
d) The name of a register
73. **Which directive in assembly language is used to reserve memory space and initialize it
with specific values?**
a) .data
b) .const
c) .space
d) .define
**Answer:** a) .data
74. **In assembly language programming, what is the purpose of the EQU directive?**
a) To define constants
b) To declare variables
c) To specify memory allocation
d) To execute a subroutine
75. **Which instruction in assembly language is used to increment the value of a register by
one?**
a) INC
b) ADD
c) MOV
d) SUB
**Answer:** a) INC
78. **In assembly language, what does the term "directive" refer to?**
a) A type of machine instruction
b) A symbolic name for a memory location
c) A statement that directs the assembler
d) A hardware component
79. **Which addressing mode in assembly language allows specifying an offset from a base
address stored in a register?**
a) Immediate addressing
b) Indirect addressing
c) Base addressing
d) Register addressing
80. **What is the purpose of the RET instruction in assembly language programming?**
a) To define a subroutine
b) To transfer control to a specified address
c) To return from a subroutine
d) To perform a conditional jump
These questions cover a wide range of topics in computer organization and assembly language.
Let me know if you need more questions or if there's a specific area you'd like to focus on!
Certainly! Here are more MCQs on computer organization and assembly language:
81. **Which component of a CPU controls the flow of data within the processor?**
a) ALU
b) Control Unit
c) Cache
d) RAM
**Answer:** b) Control Unit
82. **What does the term "bus width" refer to in computer architecture?**
a) The number of CPU cores
b) The speed of the CPU clock
c) The size of the cache memory
d) The number of bits that can be transferred simultaneously
83. **Which type of memory is typically used as the primary storage in a computer system?**
a) RAM
b) Cache
c) ROM
d) Optical disk
**Answer:** a) RAM
**Answer:** b) Multithreading
86. **In CPU architecture, what is the purpose of the clock signal?**
a) To synchronize operations
b) To store program instructions
c) To manage memory allocation
d) To execute arithmetic operations
88. **What is the purpose of the MMU (Memory Management Unit) in a computer system?**
a) To manage memory allocation
b) To translate virtual addresses to physical addresses
c) To perform arithmetic operations
d) To control the CPU clock speed
89. **Which type of memory is non-volatile and retains its data even when the power is turned
off?**
a) RAM
b) Cache
c) ROM
d) Virtual memory
**Answer:** c) ROM
90. **Which technology is used to improve CPU performance by predicting and preloading
instructions into cache?**
a) Pipelining
b) Branch prediction
c) Multithreading
d) Multiprocessing
91. **Which addressing mode in assembly language allows specifying an offset from a base
address stored in a register?**
a) Immediate addressing
b) Indirect addressing
c) Base addressing
d) Register addressing
92. **What does the term "opcode" represent in assembly language programming?**
a) The operation to be performed
b) The address of the operand
c) The memory location of the instruction
d) The name of a register
93. **Which directive in assembly language is used to reserve memory space and initialize it
with specific values?**
a) .data
b) .const
c) .space
d) .define
**Answer:** a) .data
94. **In assembly language programming, what is the purpose of the EQU directive?**
a) To define constants
b) To declare variables
c) To specify memory allocation
d) To execute a subroutine
95. **Which instruction in assembly language is used to increment the value of a register by
one?**
a) INC
b) ADD
c) MOV
d) SUB
**Answer:** a) INC
97. **Which register in a CPU is used to store the address of the top of the stack?**
a) Accumulator
b) Program Counter
c) Stack Pointer
d) Index Register
**Answer:** c) Stack Pointer
98. **In assembly language, what does the term "directive" refer to?**
a) A type of machine instruction
b) A symbolic name for a memory location
c) A statement that directs the assembler
d) A hardware component
99. **Which addressing mode in assembly language allows specifying an immediate value as
an operand?**
a) Immediate addressing
b) Indirect addressing
c) Base addressing
d) Register addressing
100. **What is the purpose of the RET instruction in assembly language programming?**
a) To define a subroutine
b) To transfer control to a specified address
c) To return from a subroutine
d) To perform a conditional jump
These questions cover various aspects of computer organization and assembly language. Let
me know if you need more questions or if there's a specific area you'd like to focus on!
Certainly! Here are more MCQs on computer organization and assembly language:
101. **Which component of a CPU stores the result of arithmetic and logical operations?**
a) ALU
b) Control Unit
c) Cache
d) Accumulator
**Answer:** d) Accumulator
102. **What is the purpose of the ALU (Arithmetic Logic Unit) in a CPU?**
a) To fetch instructions from memory
b) To control the flow of data within the CPU
c) To perform arithmetic and logical operations
d) To store program instructions
103. **Which type of memory is used to store BIOS (Basic Input/Output System) and
firmware code?**
a) RAM
b) Cache
c) ROM
d) Virtual memory
**Answer:** c) ROM
104. **In a computer system, what does the term "interrupt" refer to?**
a) A type of CPU instruction
b) A signal that temporarily halts the CPU to handle a specific event
c) A unit for performing arithmetic operations
d) A form of memory storage
**Answer:** b) A signal that temporarily halts the CPU to handle a specific event
105. **Which technology is used to temporarily store data and instructions that are likely to be
accessed next by the CPU?**
a) RAM
b) Cache
c) ROM
d) Secondary storage
**Answer:** b) Cache
106. **In CPU architecture, what is the purpose of the clock speed?**
a) To synchronize operations
b) To store program instructions
c) To manage memory allocation
d) To execute arithmetic operations
107. **Which unit of a CPU is responsible for managing data transfers between the CPU and
external devices?**
a) ALU
b) Control Unit
c) I/O Controller
d) Cache Unit
**Answer:** c) I/O Controller
108. **What is the role of the DMA (Direct Memory Access) controller in a computer
system?**
a) To perform arithmetic operations
b) To manage memory allocation
c) To transfer data between memory and peripherals without involving the CPU
d) To control the CPU clock speed
**Answer:** c) To transfer data between memory and peripherals without involving the
CPU
109. **Which type of memory is used for long-term storage of data and programs, even when
the power is turned off?**
a) RAM
b) Cache
c) ROM
d) Virtual memory
**Answer:** c) ROM
110. **Which technology allows multiple processors to work together on a task to improve
performance?**
a) Pipelining
b) Multithreading
c) Multiprocessing
d) Branch prediction
**Answer:** c) Multiprocessing
111. **Which addressing mode in assembly language uses a constant value or expression as an
operand?**
a) Immediate addressing
b) Indirect addressing
c) Base addressing
d) Register addressing
112. **What does the term "assembly directive" refer to in assembly language
programming?**
a) A type of machine instruction
b) A statement that directs the assembler
c) A symbolic name for a memory location
d) A hardware component
**Answer:** d) .equ
114. **In assembly language programming, what is the purpose of the DB directive?**
a) To define binary data
b) To declare a byte-sized variable
c) To specify memory allocation
d) To execute a subroutine
115. **Which instruction in assembly language is used to transfer data from one register to
another?**
a) MOV
b) ADD
c) SUB
d) JMP
**Answer:** a) MOV
117. **Which register in a CPU is used to store the address of the next instruction to be
executed?**
a) Accumulator
b) Program Counter
c) Stack Pointer
d) Index Register
**Answer:** b) Program Counter
118. **In assembly language, what does the term "label" represent?**
a) A memory address
b) A reserved keyword
c) A subroutine
d) A symbolic name for a memory location
119. **Which addressing mode in assembly language uses a register to indirectly access
memory?**
a) Direct addressing
b) Indirect addressing
c) Register addressing
d) Immediate addressing
120. **What is the purpose of the CALL instruction in assembly language programming?**
a) To define a subroutine
b) To transfer control to a specified address
c) To return from a subroutine
d) To perform a conditional jump
These questions cover a broad range of topics in computer organization and assembly
language. Let me know if you need more questions or if there's a specific area you'd like to
focus on!
Certainly! Here are more MCQs on computer organization and assembly language:
121. **Which component of a CPU is responsible for fetching instructions from memory?**
a) ALU
b) Control Unit
c) Cache
d) RAM
123. **Which type of memory is used to store frequently accessed data and instructions to
speed up processing?**
a) RAM
b) Cache
c) ROM
d) Virtual memory
**Answer:** b) Cache
124. **In a computer system, what is the purpose of the DMA (Direct Memory Access)
controller?**
a) To perform arithmetic operations
b) To manage memory allocation
c) To transfer data between peripherals and memory without involving the CPU
d) To control the CPU clock speed
**Answer:** c) To transfer data between peripherals and memory without involving the
CPU
125. **Which unit of a CPU is responsible for performing arithmetic and logical operations?**
a) Control Unit
b) Cache
c) ALU (Arithmetic Logic Unit)
d) Memory Unit
126. **What is the purpose of the MMU (Memory Management Unit) in a computer system?**
a) To manage memory allocation
b) To translate virtual addresses to physical addresses
c) To control the CPU clock speed
d) To perform arithmetic operations
127. **Which technology is used to improve CPU performance by predicting and preloading
instructions into cache?**
a) Pipelining
b) Branch prediction
c) Multithreading
d) Multiprocessing
129. **Which type of memory is volatile and loses its data when the power is turned off?**
a) Cache
b) RAM
c) ROM
d) Secondary storage
**Answer:** b) RAM
130. **In CPU architecture, what is the purpose of the I/O controller?**
a) To execute program instructions
b) To manage input and output operations
c) To perform arithmetic operations
d) To control the CPU clock speed
131. **Which addressing mode in assembly language uses a register to indirectly access
memory?**
a) Direct addressing
b) Indirect addressing
c) Register addressing
d) Immediate addressing
132. **What does the term "opcode" represent in assembly language programming?**
a) The operation to be performed
b) The address of the operand
c) The memory location of the instruction
d) The name of a register
**Answer:** a) The operation to be performed
133. **Which directive in assembly language is used to reserve memory space and initialize it
with specific values?**
a) .data
b) .const
c) .space
d) .define
**Answer:** a) .data
134. **In assembly language programming, what is the purpose of the EQU directive?**
a) To define constants
b) To declare variables
c) To specify memory allocation
d) To execute a subroutine
135. **Which instruction in assembly language is used to increment the value of a register by
one?**
a) INC
b) ADD
c) MOV
d) SUB
**Answer:** a) INC
137. **Which register in a CPU is used to store the address of the top of the stack?**
a) Accumulator
b) Program Counter
c) Stack Pointer
d) Index Register
138. **In assembly language, what does the term "directive" refer to?**
a) A type of machine instruction
b) A symbolic name for a memory location
c) A statement that directs the assembler
d) A hardware component
139. **Which addressing mode in assembly language allows specifying an offset from a base
address stored in a register?**
a) Immediate addressing
b) Indirect addressing
c) Base addressing
d) Register addressing
140. **What is the purpose of the RET instruction in assembly language programming?**
a) To define a subroutine
b) To transfer control to a specified address
c) To return from a subroutine
d) To perform a conditional jump
These questions cover a variety of topics in computer organization and assembly language. Let
me know if you need more questions or if there's a specific area you'd like to focus on!
Sure, here are more MCQs on computer organization and assembly language:
142. **What does the term "clock cycle" refer to in CPU architecture?**
a) The speed of the CPU
b) The time it takes to execute an instruction
c) The number of CPU cores
d) The unit of time used for synchronization
**Answer:** d) The unit of time used for synchronization
143. **Which type of memory is typically used for permanent storage of system software and
firmware?**
a) RAM
b) Cache
c) ROM
d) Virtual memory
**Answer:** c) ROM
144. **In a computer system, what is the purpose of the ALU (Arithmetic Logic Unit)?**
a) To fetch instructions from memory
b) To store program instructions
c) To perform arithmetic and logical operations
d) To manage memory allocation
**Answer:** a) Pipelining
146. **In CPU architecture, what is the function of the cache memory?**
a) To store program instructions
b) To manage memory allocation
c) To temporarily store frequently accessed data and instructions
d) To perform arithmetic operations
147. **Which unit of a CPU is responsible for managing the flow of data within the
processor?**
a) ALU
b) Control Unit
c) Cache
d) RAM
149. **Which type of memory is volatile and requires constant refresh cycles to maintain data
integrity?**
a) RAM
b) Cache
c) ROM
d) Secondary storage
**Answer:** a) RAM
151. **Which addressing mode in assembly language allows specifying an operand that is the
content of a memory location?**
a) Immediate addressing
b) Indirect addressing
c) Base addressing
d) Register addressing
152. **What does the term "mnemonic" represent in assembly language programming?**
a) The operation code of an instruction
b) The memory location of an instruction
c) The address of the operand
d) The name of a register
**Answer:** c) .equ
154. **In assembly language programming, what is the purpose of the DW directive?**
a) To define double-word data
b) To declare a word-sized variable
c) To specify memory allocation
d) To execute a subroutine
**Answer:** b) JMP
157. **Which register in a CPU is used to store the return address when a subroutine is
called?**
a) Accumulator
b) Program Counter
c) Stack Pointer
d) Index Register
158. **In assembly language, what does the term "directive" refer to?**
a) A type of machine instruction
b) A symbolic name for a memory location
c) A statement that directs the assembler
d) A hardware component
159. **Which addressing mode in assembly language allows specifying an operand that is an
immediate value?**
a) Immediate addressing
b) Indirect addressing
c) Base addressing
d) Register addressing
160. **What is the purpose of the RET instruction in assembly language programming?**
a) To define a subroutine
b) To transfer control to a specified address
c) To return from a subroutine
d) To perform a conditional jump
These questions cover a range of topics in computer organization and assembly language. Let
me know if there's a specific area you'd like to focus on or if you need more questions!
Certainly! Here are more MCQs on computer organization and assembly language:
161. **Which component of a CPU is responsible for controlling the flow of data within the
processor?**
a) ALU
b) Control Unit
c) Cache
d) RAM
**Answer:** c) ROM
164. **In a computer system, what is the role of the MMU (Memory Management Unit)?**
a) To perform arithmetic operations
b) To manage memory allocation
c) To translate virtual addresses to physical addresses
d) To execute program instructions
165. **Which technology allows a CPU to execute multiple threads simultaneously to improve
performance?**
a) Pipelining
b) Multithreading
c) Multiprocessing
d) Branch prediction
**Answer:** b) Multithreading
166. **In CPU architecture, what is the purpose of the cache memory?**
a) To store program instructions
b) To manage memory allocation
c) To temporarily store frequently accessed data and instructions
d) To perform arithmetic operations
167. **Which unit of a CPU is responsible for performing arithmetic and logical operations?**
a) Control Unit
b) Cache
c) ALU (Arithmetic Logic Unit)
d) Memory Unit
169. **Which type of memory is non-volatile and retains its data even when power is turned
off?**
a) Cache
b) RAM
c) ROM
d) Secondary storage
**Answer:** c) ROM
171. **Which addressing mode in assembly language allows specifying an operand that is the
content of a register?**
a) Immediate addressing
b) Indirect addressing
c) Base addressing
d) Register addressing
172. **What does the term "opcode" represent in assembly language programming?**
a) The operation code of an instruction
b) The memory location of an instruction
c) The address of the operand
d) The name of a register
173. **Which directive in assembly language is used to reserve memory space without
initializing it?**
a) .space
b) .reserve
c) .data
d) .const
**Answer:** a) .space
174. **In assembly language programming, what is the purpose of the DS directive?**
a) To define double-word data
b) To declare a string variable
c) To specify memory allocation
d) To execute a subroutine
**Answer:** a) SUB
177. **Which register in a CPU is used to store the address of the next instruction to be
executed?**
a) Accumulator
b) Program Counter
c) Stack Pointer
d) Index Register
178. **In assembly language, what does the term "directive" refer to?**
a) A type of machine instruction
b) A symbolic name for a memory location
c) A statement that directs the assembler
d) A hardware component
**Answer:** c) A statement that directs the assembler
179. **Which addressing mode in assembly language allows specifying an operand that is an
immediate value?**
a) Immediate addressing
b) Indirect addressing
c) Base addressing
d) Register addressing
180. **What is the purpose of the CALL instruction in assembly language programming?**
a) To define a subroutine
b) To transfer control to a specified address
c) To return from a subroutine
d) To perform a conditional jump
These questions cover various aspects of computer organization and assembly language. Let
me know if you need more questions or if there's a specific area you'd like to focus on!
Sure, here are more MCQs on computer organization and assembly language:
181. **Which component of a CPU is responsible for arithmetic and logical operations?**
a) Control Unit
b) ALU (Arithmetic Logic Unit)
c) Cache
d) RAM
183. **Which type of memory is used to temporarily store data and instructions that are
currently being processed by the CPU?**
a) Cache
b) RAM
c) ROM
d) Virtual memory
**Answer:** b) RAM
184. **In a computer system, what is the role of the CPU scheduler?**
a) To execute program instructions
b) To manage memory allocation
c) To control the CPU clock speed
d) To prioritize tasks and allocate CPU time
185. **Which technology allows multiple processors to work together to execute tasks
concurrently?**
a) Pipelining
b) Multithreading
c) Multiprocessing
d) Branch prediction
**Answer:** c) Multiprocessing
186. **In CPU architecture, what is the purpose of the cache memory?**
a) To store program instructions
b) To manage memory allocation
c) To temporarily store frequently accessed data and instructions
d) To perform arithmetic operations
187. **Which unit of a CPU is responsible for fetching instructions from memory?**
a) ALU
b) Control Unit
c) Cache
d) RAM
**Answer:** c) ROM
191. **Which addressing mode in assembly language allows specifying an operand that is the
content of a memory location pointed to by a register?**
a) Immediate addressing
b) Indirect addressing
c) Base addressing
d) Register addressing
192. **What does the term "mnemonic" represent in assembly language programming?**
a) The operation code of an instruction
b) The memory location of an instruction
c) The address of the operand
d) The name of a register
193. **Which directive in assembly language is used to declare and initialize a constant
value?**
a) .const
b) .define
c) .equ
d) .data
**Answer:** c) .equ
194. **In assembly language programming, what is the purpose of the RESB directive?**
a) To reserve byte-sized data
b) To declare a subroutine
c) To specify memory allocation
d) To execute a conditional jump
**Answer:** a) MUL
197. **Which register in a CPU is used to store the address of the top of the stack?**
a) Accumulator
b) Program Counter
c) Stack Pointer
d) Index Register
198. **In assembly language, what does the term "directive" refer to?**
a) A type of machine instruction
b) A symbolic name for a memory location
c) A statement that directs the assembler
d) A hardware component
199. **Which addressing mode in assembly language allows specifying an operand that is an
immediate value?**
a) Immediate addressing
b) Indirect addressing
c) Base addressing
d) Register addressing
200. **What is the purpose of the NOP instruction in assembly language programming?**
a) To define a subroutine
b) To transfer control to a specified address
c) To perform no operation
d) To execute a conditional jump
These questions cover a broad range of topics in computer organization and assembly
language. Let me know if there's anything else you need!