πŸŽ“ BookMCQ
← Back to 2. Simple as Possible (SAP) - I

πŸ“ Memory Unit of Simple as Possible (SAP) I Computer (7 MCQs)

Sixteen-Location RAM Organization in SAP-I

The memory unit of the SAP-I computer is a random-access memory containing sixteen storage locations, each capable of holding eight binary bits. Its total capacity is therefore 128 bits or 16 bytes. Four address bits identify each location, giving addresses from 0H to FH. The same memory stores machine instructions and numerical operands, demonstrating the stored-program principle.

Memory Address Selection Through the MAR

The four-bit memory address register receives an address from the common bus and selects the corresponding RAM location. The selected 8-bit word can then be transferred onto the bus when the RAM output control signal is activated. During a memory read, the destination register captures this word. During system initialization, instructions and data are placed in their required memory positions.

Reading Instructions and Operands During Computer Operation

Instruction fetching uses the program counter to identify a RAM location and transfers the selected word to the instruction register. When LDA, ADD or SUB requires an operand, the instruction's lower address field is transferred to the MAR. RAM then supplies the data byte for the accumulator or B register, depending on the operation.

Example of Program and Data Storage in RAM

Consider locations 00H to 03H containing LDA 0EH, ADD 0FH, OUT and HLT. Location 0EH stores 04H, while 0FH stores 03H. The first locations hold executable instructions, whereas the last two hold operands. The computer reads both types of information from the same RAM during program execution.

Memory Capacity and Stored-Program Organization

The sixteen-word memory imposes a strict limit on the size of a SAP-I program and its numerical data. Instructions and operands must share its available locations, so their placement requires careful planning. This arrangement demonstrates the stored-program concept in which instructions and data occupy the same memory, a principle also used in conventional general-purpose computer architectures.

Misconceptions About SAP-I Memory Organization

'The SAP-I memory contains sixteen bits in total' is incorrect because it contains sixteen 8-bit words. 'Every RAM location stores only an instruction' overlooks numerical operands stored in the same memory. 'A 4-bit address identifies 4 KB of memory' is incorrect because four bits provide only sixteen distinct address combinations.

Memory Address and Capacity Calculations in Examinations

Calculate memory capacity by multiplying the number of locations by the number of bits per location. Identify the hexadecimal address range and distinguish instruction words from operand data. Questions may require tracing MAR contents, selecting an appropriate RAM location, interpreting an instruction's address field or arranging a short program and its numerical operands within available memory.

Memory Organization and Access Terms

  • RAM - Read-write memory storing program information.
  • MAR - Holds a four-bit memory address.
  • Memory Word - One eight-bit storage unit.
  • Memory Read - Transfers stored information onto the bus.
  • Memory Location - One individually addressable position.
  • Stored Program - Instructions and data share memory.
1
Easy
4
Medium
2
Hard

πŸ“ All Memory Unit of Simple as Possible (SAP) I Computer MCQs

Q1. What is the primary function of the Control Unit in a computer system?

A.It performs arithmetic calculations. βœ…
B.It coordinates the activities of other units and directs data flow.
C.It stores data permanently.
D.It generates visual output on a screen.
πŸ’‘ Difficulty: easy | βœ… Correct: A

πŸ“– Explanation: The Control Unit does not calculate; its main role is to orchestrate the operations of the processor, telling the ALU when to add, subtract, etc., and directing data between memory and I/O devices. Option A is wrong because arithmetic is done by the ALU. Option C describes memory, not control. Option D describes the Output Unit. Understanding this helps students see how a CPU manages tasks like a traffic controller directing cars.

Q2. How does the interaction between the Arithmetic Logic Unit (ALU) and the Control Unit enable the execution of an instruction?

A.The ALU stores the instruction while the Control Unit processes it. βœ…
B.The Control Unit decodes the instruction and signals the ALU to perform the required operation.
C.Both units independently execute the same instruction simultaneously.
D.The ALU controls the timing signals for the Control Unit.
πŸ’‘ Difficulty: medium | βœ… Correct: A

πŸ“– Explanation: The Control Unit first decodes the instruction, then issues control signals that tell the ALU which arithmetic or logical operation to carry out. Option A reverses roles; the ALU does not store instructions. Option B incorrectly suggests the ALU stores the instruction. Option C describes parallel execution which does not happen for a single instruction. Recognizing this sequence explains why a computer can correctly add numbers in a spreadsheet.

Q3. A simple calculator program receives two numbers and a command to add them. Which component actually performs the addition?

A.Arithmetic Logic Unit (ALU) βœ…
B.Control Unit
C.Output Unit
D.Memory Unit
πŸ’‘ Difficulty: medium | βœ… Correct: A

πŸ“– Explanation: The ALU is designed to execute arithmetic operations such as addition, subtraction, multiplication, and division. The Control Unit only tells the ALU what to do, while the Output Unit displays the result, and the Memory Unit stores data. Therefore, the correct answer is the ALU. Knowing this lets students map real‑world tasks, like adding two numbers on a calculator, to the underlying hardware that carries out the computation.

Q4. Why does the Control Unit rely on clock pulses to sequence operations, and what would happen if the clock stopped temporarily?

A.Clock pulses provide power to the ALU; without them, the ALU would overheat. βœ…
B.Clock pulses synchronize the timing of control signals; a pause would cause instructions to stall or execute out of order.
C.Clock pulses store data in registers; stopping them would erase memory contents.
D.Clock pulses generate visual output; halting them would blank the screen.
πŸ’‘ Difficulty: hard | βœ… Correct: A

πŸ“– Explanation: Clock pulses are timing references that synchronize when each control signal is sent, ensuring instructions are processed in the correct order. If the clock stops, the sequencing halts, causing the processor to pause or potentially misinterpret the next instruction. Option A confuses power with timing. Option B misstates the role of the clock as directly powering the ALU. Option D describes the Output Unit, not timing. This explains why a stable clock is essential for reliable program execution.

Q5. In a system that must show calculation results on both an LED display and a printer, which unit handles the data after the ALU finishes processing?

A.Input Unit
B.Output Unit βœ…
C.Control Unit
D.Memory Unit
πŸ’‘ Difficulty: hard | βœ… Correct: B

πŸ“– Explanation: After the ALU computes a result, the data is sent to the Output Unit, which translates it into signals appropriate for devices such as LEDs and printers. The Input Unit gathers data, not displays it. The Control Unit already directed the operation and does not format results for devices. Memory Unit would store the result but not present it. Understanding this flow helps engineers design interfaces that correctly route processed data to multiple output devices.

Q6. Which statement best describes how the Output Unit differs from the Control Unit in terms of functionality?

A.The Output Unit executes arithmetic operations, while the Control Unit displays results. βœ…
B.The Output Unit converts processed data into human‑readable forms, whereas the Control Unit orchestrates instruction flow.
C.Both units perform identical tasks but use different power supplies.
D.The Output Unit stores program code, while the Control Unit retrieves it.
πŸ’‘ Difficulty: medium | βœ… Correct: A

πŸ“– Explanation: The Output Unit’s role is to transform binary results into visual or printed forms that users can understand, such as turning a binary number into LED patterns. The Control Unit, on the other hand, manages the sequence of operations and issues control signals. Option A swaps their functions. Option B incorrectly claims the Control Unit displays results. Option C suggests they are the same, which is false. Recognizing this distinction clarifies why a computer can both compute and present information.

Q7. If a CPU design separates the ALU and Control Unit into distinct chips, what impact is most likely on instruction execution time compared to an integrated design?

A.Execution time will decrease because the chips can work in parallel.
B.Execution time will increase due to added communication delay between the units. βœ…
C.Execution time remains unchanged because both designs perform the same functions.
D.Execution time becomes unpredictable and varies randomly.
πŸ’‘ Difficulty: medium | βœ… Correct: B

πŸ“– Explanation: Separating the ALU and Control Unit introduces extra signal paths, which can add latency; however, designers often mitigate this by allowing parallel operation of the two chips, potentially reducing bottlenecks and speeding up execution. Option B assumes only delay without parallel benefit. Option C ignores physical separation effects. Option D suggests randomness, which is not typical. Understanding these trade‑offs helps students evaluate hardware design choices for performance optimization.

πŸ”— Related Topics (MCQs)