,1. Which of the following best describes a Harvard
architecture?
- A. Single memory for instructions and data
- B. Separate memories for instructions and data
- C. Utilizes cache memory
- D. Supports virtual memory
- Correct Answer: B
- Rationale: Harvard architecture has separate storage
and buses for instructions and data, allowing simultaneous
access.
2. In the context of assembly programming, what does the
term 'operand' refer to?
- A. The operation to be performed
- B. The data on which the operation is performed
- C. The result of the operation
- D. The address of the instruction
- Correct Answer: B
- Rationale: An operand is the data that the instruction
operates on, which can be a constant value, a register, or a
memory address.
4. What is the purpose of a stack in assembly language?
- A. To store global variables
- B. To hold the return address and function parameters
- C. For I/O operations
- D. To maintain the instruction set
- Correct Answer: B
- Rationale: The stack is used for storing temporary
data like return addresses, function parameters, and local
variables.
5. In assembly language programming, which of the
following instructions would typically transfer control to a
different part of the program?
- A. MOV
- B. ADD
- C. JMP
- D. PUSH
- Correct Answer: C
- Rationale: The JMP (jump) instruction is used to
change the flow of execution to another instruction.
### Fill-in-the-Blank Questions
6. The _______ is the component of the CPU that fetches,
decodes, and executes instructions.
- Correct Answer: Control Unit
- Rationale: The control unit manages the execution of
instructions in the CPU by coordinating the flow of data and
operations.
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller cobemamba. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $14.49. You're not tied to anything after your purchase.