Building a Simple Computer
- 80Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
80 questions
- 1The two initial registers each store a single number using_____bits.
Hint
Each register could hold values from 0 through 15.
Answer
4
Explanation
Each initial register is a 4-bit register and can remember one number in that range.
- 2The arithmetic unit in the initial setup can perform addition and_____on the register values.
Hint
It can perform the operation demonstrated with 15 and 10.
Answer
subtraction
Explanation
The ALU in the setup can perform addition or subtraction on the values in the registers.
- 3The result of an ALU calculation is stored in a register when the_____is pulsed.
Hint
This signal coordinates when stored values update.
Answer
clock
Explanation
Pulsing the clock causes the calculated result to be stored in a register.
- 4A 4-bit input pin or an 8-bit input pin bundles several input lines so users do not need to manage each_____separately.
Hint
Think of the individual connections that carry bits.
Answer
wire
Explanation
Multi-bit input pins reduce the need to manage many individual wires manually.
- 5The input pins became standalone elements so the simulation could be zoomed and_____more freely.
Hint
The change made it easier to move around the workspace.
Answer
navigated
Explanation
Standalone input pins allow users to zoom in and out and roam around the larger workspace.
- 6A register is useful for holding a value currently being worked with, while_____memory provides a larger place to keep results for later use.
Hint
This is the computer's larger general store for data.
Answer
main
Explanation
Main memory stores results and other values that may be accessed later, beyond the few values held in working registers.
- 7The main memory design is built from storage elements that can be selected individually using a memory_____.
Hint
This value identifies the location to access.
Answer
address
Explanation
The address determines which memory location is selected for reading or writing.
- 8A 4-bit address can identify_____distinct locations.
Hint
Four binary bits have sixteen possible patterns.
Answer
16
Explanation
A 4-bit address has sixteen possible values, enough to identify sixteen locations.
- 9The initial register-based arithmetic setup is not yet a_____computer because it lacks broader capabilities such as substantial memory.
Hint
This term describes a computer designed to handle many kinds of tasks.
Answer
general purpose
Explanation
The setup can perform basic arithmetic, but it still lacks the components and capabilities of a general purpose computer.
- 10In a 4-by-4 memory grid, the address bits can be divided so that two specify the row and two specify the_____.
Hint
The other coordinate identifies the vertical position in the grid.
Answer
column
Explanation
Two address bits select a row and the other two select a column in the 4-by-4 grid.
- 11A 4-by-4 grid contains_____individual latch locations.
Hint
Multiply the number of rows by the number of columns.
Answer
16
Explanation
Four rows with four latches in each row provide sixteen locations.
- 12A two-bit decoder converts its input into four output signals, with one output indicating which input value is_____.
Hint
Only the output corresponding to the selected value should be on.
Answer
active
Explanation
The decoder activates the output associated with the current two-bit input value.
- 13To detect a two-bit input of zero, both input bits are first_____and then combined with an AND gate.
Hint
The decoder must turn two off bits into two on signals for the zero case.
Answer
inverted
Explanation
Inverting both inputs makes both signals high when the original two-bit value is zero, so an AND gate can detect it.
- 14A two-bit input of three is detected by an AND gate receiving both input bits_____.
Hint
For this value, both original bits are already on.
Answer
directly
Explanation
The input value three has both bits high, so the two bits can feed the AND gate without inversion.
- 15To detect the two-bit input of two, the first bit is off and the second bit is_____.
Hint
In the decoder's ordering, this value has only the second bit high.
Answer
on
Explanation
The input value two is detected when the first bit is off and the second bit is on.
- 16To detect the two-bit input of one, the first bit is_____and the second bit is off.
Hint
This is the opposite bit pattern from the value two.
Answer
on
Explanation
The input value one is detected when the first bit is on and the second bit is off.
- 17The row decoder and column decoder together select a latch only when its row and its column are both_____by the address.
Hint
Each decoder identifies one coordinate of the target location.
Answer
selected
Explanation
A latch is selected by the intersection of the row and column indicated by the address decoders.
- 18The bottom-left latch in the grid is selected when both its row and column address values are_____.
Hint
It is at the first row and first column of the grid.
Answer
zero
Explanation
The bottom-left latch is selected when the row and column values both indicate zero.
- 19A pair of NOR gates with each output feeding the other gate's input forms a latch that can hold one_____of data.
Hint
This is the smallest unit of digital information.
Answer
bit
Explanation
The cross-coupled NOR gates maintain a stable state representing one bit.
- 20The feedback between the two NOR gates keeps the stored bit_____in place.
Hint
The feedback preserves the state rather than letting it disappear immediately.
Answer
locked
Explanation
Each NOR gate feeds back into the other, maintaining the latch's stored state.
- 21The one-bit memory cell writes new input data only when the cell is selected and the_____signal is on.
Hint
This control signal authorizes writing to memory.
Answer
store
Explanation
The write condition requires both row-and-column selection and an active store signal.
- 22An AND gate in the memory cell checks whether both the row and column signals are active, indicating that the cell is_____.
Hint
The gate detects the intersection of the two address coordinates.
Answer
selected
Explanation
The row and column signals must both be active for that memory cell to be selected.
- 23A three-state buffer makes an unselected memory cell's output electrically_____rather than high or low.
Hint
The output is neither logic level when the cell is not enabled.
Answer
disconnected
Explanation
When disabled, the three-state buffer outputs neither a high nor a low logic level; it leaves the line disconnected.
- 24The output of a memory cell is enabled only when both its row and column signals are_____.
Hint
The cell must be selected in both dimensions.
Answer
on
Explanation
The cell outputs its stored state only if both row and column selection signals are active.
- 25Using a three-state output allows many cells to share an output line because unselected cells remain_____.
Hint
They do not drive the shared line with either logic value.
Answer
disconnected
Explanation
Only selected cells drive the output; all other cells are disconnected from the shared line.
- 26The startup state of the simulated latches may be_____rather than a known zero.
Hint
The initial value is not guaranteed by the simulation.
Answer
random
Explanation
The simulation's latch states can begin randomly, so a cell may initially output either value.
- 27A memory cell does not store a changed data input unless the_____signal is activated.
Hint
Changing data alone is not a write operation.
Answer
store
Explanation
The data input is written into the latch only when the store condition is met.
- 28Real-world memory cells can be highly optimized to use as few as_____transistors per cell.
Hint
The source describes this as a small single-digit transistor count.
Answer
six
Explanation
Highly optimized real-world memory cells can use as few as six transistors.
- 29Latch-based memory is used for relatively small memory chips because it is fast but takes up a lot of physical_____.
Hint
Its limitation concerns how much area it occupies on a chip.
Answer
space
Explanation
Latch-based storage is fast, but its relatively large physical footprint limits its use in larger memories.
- 30Memory made from capacitors is called_____memory because its contents must be refreshed continually.
Hint
The name refers to the ongoing activity needed to preserve its contents.
Answer
dynamic
Explanation
Dynamic memory uses capacitors and requires constant refreshing to maintain stored data.
- 31In capacitor-based memory, a charged capacitor represents a_____in the described bit model.
Hint
The uncharged state represents the other binary value.
Answer
one
Explanation
The example represents a charged capacitor as one and an empty capacitor as zero.
- 32Reading a capacitor-based memory cell can discharge the capacitor, causing the stored_____to be lost unless it is restored.
Hint
The stored information is what the read operation risks destroying.
Answer
data
Explanation
Reading discharges the capacitor, so the data must be rewritten to preserve it.
- 33Capacitor charge gradually leaks away, so dynamic memory must periodically read and_____its contents.
Hint
Refreshing restores the charge representing the stored bits.
Answer
rewrite
Explanation
Dynamic memory refresh circuitry repeatedly reads and rewrites data to counter charge leakage and destructive reads.
- 34A capacitor-based memory bit can be made compactly with one capacitor and one_____to control its output.
Hint
This component enables or disables access to the stored charge.
Answer
transistor
Explanation
The described compact memory cell uses a capacitor to store charge and a transistor to enable or disable output.
- 35Latch-based memory is called_____memory, in contrast with capacitor-based dynamic memory.
Hint
This is the memory type that does not require the same continual refreshing process.
Answer
static
Explanation
The latch-based approach is known as static memory, while capacitor-based storage is dynamic memory.
- 36Both static and dynamic memory require a constant source of power and are therefore forms of_____memory.
Hint
This category loses its data when power is removed.
Answer
volatile
Explanation
Volatile memory requires power to preserve its contents, so the data is lost when power is removed.
- 37To preserve data when a computer is powered down, it must be transferred to_____memory.
Hint
This type of storage retains information without continuous power.
Answer
persistent
Explanation
Persistent memory retains data when powered down, unlike volatile memory.
- 38A spinning hard disk stores data long-term by changing the magnetic_____of tiny regions on its disc.
Hint
The stored information depends on the orientation of magnetization.
Answer
polarity
Explanation
A hard disk records information by changing the magnetic polarity of small regions on the disc.
- 39A hard disk's moving arm and spinning disc make access time depend on the physical location of the requested_____.
Hint
The mechanism must move to the place where the requested information is stored.
Answer
data
Explanation
Because the disk must spin and its arm must move, some locations take longer to access than others.
- 40In the first memory grid, each one-bit memory cell stores_____bit.
Hint
The basic latch-based unit holds a single binary value.
Answer
one
Explanation
Each memory cell at the lowest level of the grid stores one bit.
- 41Sixteen one-bit cells arranged as a 4-by-4 grid form a unit named_____in the design.
Hint
Its name reflects the total number of bits it contains.
Answer
ME16
Explanation
The 4-by-4 grid contains sixteen one-bit cells and is named ME16.
- 42The ME16 unit contains_____memory cells, each holding one bit.
Hint
It is a 4-by-4 arrangement.
Answer
16
Explanation
A 4-by-4 grid consists of sixteen one-bit memory cells.
- 43Sixteen ME16 units arranged in another 4-by-4 grid provide_____bits of storage.
Hint
Each unit stores sixteen bits, and there are sixteen units.
Answer
256
Explanation
Sixteen groups of sixteen bits provide 256 bits of storage.
- 44An 8-bit address can identify_____distinct bit locations in the 256-bit memory.
Hint
Eight binary bits provide 256 possible address values.
Answer
256
Explanation
An 8-bit address can represent 256 different values, enough to identify each of the 256 bit locations.
- 45The 8-bit address for the 256-bit arrangement is divided into two 4-bit values: one selects a memory cell and the other selects a bit within that_____.
Hint
The nested grid has an outer location and an inner location.
Answer
cell
Explanation
One four-bit portion chooses an ME16 unit, while the other selects a one-bit cell within it.
- 46Duplicating the 256-bit memory eight times, with one bit from each copy forming an output, creates_____bytes of memory.
Hint
Eight parallel bits make one byte at each address.
Answer
256
Explanation
Eight copies provide eight bits per address, resulting in 256 addressable bytes overall.
- 47The 256-byte memory uses an_____-bit data input and an 8-bit address input.
Hint
A byte contains this many bits.
Answer
8
Explanation
The memory reads or writes one byte at a time, so its data input is eight bits wide; its address is also eight bits wide.
- 48Only one selected memory output is active at a time, so the cell outputs can be joined onto a shared_____.
Hint
This is the common path that carries the selected output.
Answer
bit line
Explanation
Because only one output is enabled at a time, the outputs can share a single bit line.
- 49A decimal display can show the numeric value represented by the memory's_____-bit output.
Hint
The output is one byte wide.
Answer
8
Explanation
The eight output bits can represent a value that is shown on a decimal display.
- 50At a given address, writing a new value to a different address leaves the original address's stored value_____.
Hint
Separate addresses refer to separate memory locations.
Answer
unchanged
Explanation
Writing to one address does not overwrite the data stored at another address.
- 51The memory is called random access memory because accessing any address takes the same amount of time regardless of the order of_____.
Hint
The name describes the lack of a required sequential access pattern.
Answer
access
Explanation
RAM allows direct access to locations without needing to read through preceding locations, so access time does not depend on their order.
- 52Unlike RAM, a hard disk's access time can vary because its disc and arm must move_____to a requested location.
Hint
Consider the mechanical movement involved in disk access.
Answer
physically
Explanation
The disk must rotate and its arm must swing to the target location, making access time location-dependent.
- 53Computers commonly use a large amount of relatively slow dynamic RAM and a smaller amount of very fast static RAM called the_____.
Hint
This small store sits close to the CPU.
Answer
cache
Explanation
The cache is a smaller, faster store of static RAM, while main RAM is typically larger and slower.
- 54The cache is placed close to the_____to reduce the time needed to retrieve data.
Hint
This is the processor that requests instructions and data.
Answer
CPU
Explanation
Keeping the cache near the CPU minimizes the time required to retrieve frequently needed data.
- 55When requested data is not in the cache, the computer fetches it from the slower main_____.
Hint
This is the larger primary memory store.
Answer
RAM
Explanation
A cache miss requires fetching the requested data from main RAM.
- 56After retrieving data from main RAM, a computer may also bring nearby data into the cache because the next request may use a nearby_____.
Hint
The strategy anticipates requests for locations close to the current one.
Answer
address
Explanation
Fetching surrounding data is useful if later memory requests access nearby addresses.
- 57The computer checks the cache first to see whether requested data is already_____.
Hint
A successful cache lookup avoids a trip to main memory.
Answer
there
Explanation
The cache is checked before main RAM so data already held nearby can be returned quickly.
- 58The initial memory grid's address can be divided so that two bits select the row and two bits select the column; each decoder receives a_____-bit input.
Hint
Each coordinate uses the same number of bits in a 4-by-4 grid.
Answer
2
Explanation
A 4-by-4 grid needs two bits to encode each coordinate, so each row or column decoder has a two-bit input.
- 59The 256-byte memory stores a different byte at each of its_____addresses.
Hint
The eight-bit address has that many possible values.
Answer
256
Explanation
An eight-bit address can select 256 byte locations in the memory.
- 60Changing the address while the asynchronous memory's store signal is on can accidentally overwrite data at unintended_____.
Hint
The active write signal may affect whichever location the changing address selects.
Answer
addresses
Explanation
Without clock synchronization, the store signal must not remain on while the address changes, or writes may occur at unintended locations.
- 61Because the original RAM has no clock synchronization, it is described as_____.
Hint
Its operation is not controlled by a clock edge.
Answer
asynchronous
Explanation
The RAM is asynchronous because its inputs are not synchronized to a clock signal.
- 62In an edge-triggered register, new input data is stored when the clock changes from low to high at the_____edge.
Hint
The signal is moving upward from its low level to its high level.
Answer
rising
Explanation
The register captures new inputs on the rising edge of the clock.
- 63Changing register inputs while the clock is already high does not store new data because the register responds only to the clock's_____edge.
Hint
The register does not respond continuously throughout the high state.
Answer
rising
Explanation
The register captures inputs at the instant the clock transitions from low to high, not merely while it is high.
- 64A register made from eight one-bit registers is an_____-bit register.
Hint
Each component stores one bit, and there are eight components.
Answer
8
Explanation
Eight one-bit registers together form an eight-bit register.
- 65To synchronize both the address and data going into asynchronous RAM, the design routes them through synchronous_____.
Hint
These components capture inputs on the clock edge.
Answer
registers
Explanation
Synchronous registers hold the address and data inputs stable between clock events before they reach the RAM.
- 66In the synchronized design, the data register is updated only when the_____signal is on.
Hint
This control determines whether new write data should be captured.
Answer
store
Explanation
The data register's store input is controlled by the RAM store signal, so data is captured only for a write.
- 67In that design, the address register's store input is tied permanently on so the address can be updated_____.
Hint
The address register is allowed to capture a new address whether or not a write is requested.
Answer
either way
Explanation
The address register is always enabled, unlike the data register, which updates only when the store signal is on.
- 68In real hardware, signals take time to settle, so enabling a write before the address has stabilized can cause a_____.
Hint
This is a timing problem caused by competing changes in signals.
Answer
race condition
Explanation
If the store signal is active while the address output is still settling, the RAM may receive an incorrect or unstable address.
- 69One proposed way to avoid the address-settling hazard is to register the store signal and delay it by one_____cycle.
Hint
The delay gives address signals time to settle before the write is enabled.
Answer
clock
Explanation
Delaying the registered store signal by one clock cycle can ensure the address has time to stabilize first.
- 70Connecting the address input directly to RAM allows the RAM output to reflect the most up-to-date_____without waiting for a clock pulse.
Hint
This input selects the location being read.
Answer
address
Explanation
A direct address connection makes the read output respond immediately to the current address.
- 71With a direct address input, the write is permitted only when the store signal is on and the input address matches the address held in the_____.
Hint
The registered address serves as the clock-synchronized reference for writing.
Answer
register
Explanation
Comparing the current input address with the registered address prevents a write to a changing, unsynchronized location.
- 72An exclusive OR gate outputs high when its two input bits are_____.
Hint
It detects a mismatch between its inputs.
Answer
different
Explanation
Exclusive OR indicates whether two bits differ.
- 73Inverting the exclusive OR output produces an exclusive NOR gate, which is high when the two input bits are_____.
Hint
It detects a match instead of a mismatch.
Answer
the same
Explanation
Exclusive NOR is the inverse of exclusive OR, so it outputs high when its inputs match.
- 74An 8-bit equality checker can be built from eight exclusive NOR gates and AND gates that verify all bit comparisons agree_____.
Hint
The overall result should be high only if every pair of bits matches.
Answer
unanimously
Explanation
Each exclusive NOR checks one pair of bits; AND gates combine the comparisons so the output is high only when all pairs match.
- 75If even one compared bit pair differs, the output of the 8-bit equality checker turns_____.
Hint
The overall AND condition fails when any comparison fails.
Answer
off
Explanation
A mismatch makes at least one exclusive NOR output low, causing the combined equality result to turn off.
- 76The equality signal prevents writes to other locations when the store signal remains on while the current input_____changes.
Hint
This is the value being checked against the registered reference.
Answer
address
Explanation
The RAM stores only when the input address equals the clock-synchronized address, avoiding unintended writes at other addresses.
- 77In the completed synchronized RAM, changing the address updates the read output immediately, but writing still requires the appropriate_____event.
Hint
The data and registered address are captured at a clock transition.
Answer
clock
Explanation
The direct address path makes reads update immediately, while storing data remains synchronized through the clocked registers.
- 78Changing the data input without an enabled store operation and clock event leaves the stored RAM contents_____.
Hint
The memory should not write merely because its data input changes.
Answer
unaffected
Explanation
RAM contents change only when the write conditions are satisfied and the clocked control registers capture the necessary values.
- 79The final construction is described as well-behaved RAM because it combines random access with_____write control.
Hint
Its writes are coordinated with clocked registers and address checking.
Answer
synchronized
Explanation
The design retains RAM's random access while synchronizing write control to avoid unintended writes.
- 80Tracing through the nested memory grids eventually leads from the byte-wide memory to a grid of 16-bit units, then to one-bit cells, and finally to the basic_____.
Hint
This is the cross-coupled storage element at the foundation of the design.
Answer
latch
Explanation
The nested memory construction ultimately reduces to the one-bit latch that stores each individual bit.

Ask anything
We've read this whole study set, so questions about it get the best answers.