1. Home
  2. Explore
  3. Computer Science
  4. Building a Simple Computer

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Building a Simple Computer

  • 56Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Registers and Latches

What operations could the demonstrated ALU perform on the values held in its two 4-bit registers?

56 questions

  1. 1

    What operations could the demonstrated ALU perform on the values held in its two 4-bit registers?

    1. A

      Multiplication and division

    2. B

      Bit shifting and comparison

    3. C

      Logic operations only

    4. D

      Addition and subtraction

    Correct answer
    D

    Addition and subtraction

    Explanation

    The setup used its ALU to calculate with the register values, but the described operations were addition and subtraction.

  2. 2

    If the two 4-bit registers contain 151515 and 101010, what result does the ALU produce when set to subtract the second value from the first?

    1. A

      555

    2. B

      101010

    3. C

      150150150

    4. D

      252525

    Correct answer
    A

    555

    Explanation

    Subtracting 101010 from 151515 gives 555.

  3. 3

    How is a 4-bit register described as being constructed in the simulation?

    1. A

      Four two-bit latches

    2. B

      Eight one-bit buffers

    3. C

      Four one-bit registers

    4. D

      Two two-bit decoders

    Correct answer
    C

    Four one-bit registers

    Explanation

    Opening the 4-bit register reveals that it contains four one-bit registers.

  4. 4

    Why would building a large memory by duplicating complete clocked registers be wasteful?

    1. A

      Each register requires a separate address decoder for every input wire

    2. B

      Each register includes clock-synchronization logic that would be duplicated for every bit

    3. C

      Registers can store only values that are permanently written at startup

    4. D

      Registers cannot hold data while the ALU is performing a calculation

    Correct answer
    B

    Each register includes clock-synchronization logic that would be duplicated for every bit

    Explanation

    The clock-handling logic in each one-bit register would be repeated throughout a large memory, using extra resources unnecessarily.

  5. 5

    What is the fundamental one-bit memory element described before the larger memory grid is built?

    1. A

      A decoder connected to a three-state buffer

    2. B

      A capacitor connected to two inverters

    3. C

      Two NOR gates whose outputs feed back into each other

    4. D

      Two AND gates connected to a shared clock

    Correct answer
    C

    Two NOR gates whose outputs feed back into each other

    Explanation

    The latch is made from a pair of NOR gates with each output feeding into the other gate's input, allowing it to retain a bit.

  6. 6

    How does the feedback between the two NOR gates allow the latch to remember a bit?

    1. A

      It sustains the circuit's state after the input that set it is removed

    2. B

      It converts the stored bit into a decimal number

    3. C

      It refreshes a capacitor by charging it on every read

    4. D

      It repeatedly sends the stored value to the clock input

    Correct answer
    A

    It sustains the circuit's state after the input that set it is removed

    Explanation

    The cross-coupled feedback holds the circuit in its current state, keeping a single bit locked in place.

  7. 7

    How many bits of information can one latch in the described design store?

    1. A

      One bit

    2. B

      Eight bits

    3. C

      Four bits

    4. D

      Two bits

    Correct answer
    A

    One bit

    Explanation

    Each latch is a one-bit memory element.

  8. 8

    What does the simulation show at the output of a memory cell when that cell is not selected?

    1. A

      The output repeats the data input continuously

    2. B

      The output is forced to a high logic level

    3. C

      The output is disconnected and is neither high nor low

    4. D

      The output is forced to a low logic level

    Correct answer
    C

    The output is disconnected and is neither high nor low

    Explanation

    A three-state buffer disconnects an unselected cell's output, so it drives neither a high nor a low logic level.

  9. 9

    What circuit element allows an unselected memory cell to disconnect its output?

    1. A

      An exclusive-NOR gate

    2. B

      A three-state buffer

    3. C

      A capacitor

    4. D

      A clocked register

    Correct answer
    B

    A three-state buffer

    Explanation

    The three-state buffer can place the output in a disconnected state unless the cell is selected.

  10. 10

    Why can the outputs of multiple memory cells be joined onto one shared line in the design?

    1. A

      Every cell stores the same value at all times

    2. B

      The shared line automatically adds the cell values together

    3. C

      The row decoder forces every unselected cell to output zero

    4. D

      Only the selected cell is allowed to actively output its data

    Correct answer
    D

    Only the selected cell is allowed to actively output its data

    Explanation

    The selection logic and three-state buffers ensure that only one cell drives the output at a time, allowing the outputs to share a line.

  11. 11

    How many individual one-bit latches are arranged in a 4×44\times44×4 memory grid?

    1. A

      161616

    2. B

      888

    3. C

      444

    4. D

      323232

    Correct answer
    A

    161616

    Explanation

    A grid with four rows and four columns contains 4×4=164\times4=164×4=16 one-bit latches.

  12. 12

    How many address bits are needed to select one of the 161616 latches in a 4×44\times44×4 grid?

    1. A

      Four bits

    2. B

      Three bits

    3. C

      Two bits

    4. D

      Sixteen bits

    Correct answer
    A

    Four bits

    Explanation

    Four address bits can represent 161616 different combinations, enough to select any of the 161616 latches.

  13. 13

    In the described 4×44\times44×4 grid, how are the four address bits divided between row and column selection?

    1. A

      One bit specifies the row and three specify the column

    2. B

      All four bits specify the row, while the column is fixed

    3. C

      Three bits specify the row and one specifies the column

    4. D

      Two bits specify the row and two specify the column

    Correct answer
    D

    Two bits specify the row and two specify the column

    Explanation

    The grid uses two address bits for the row and the other two for the column.

  14. 14

    What does a decoder for a two-bit input produce in this memory design?

    1. A

      Four outputs, with one indicating the selected input value

    2. B

      Eight outputs, one for every possible pair of input values

    3. C

      Two outputs, each duplicating one input bit

    4. D

      One output that is high for every nonzero input

    Correct answer
    A

    Four outputs, with one indicating the selected input value

    Explanation

    A two-bit input has four possible values, and the decoder produces four individual outputs to indicate which value is selected.

  15. 15

    How does the described decoder recognize the two-bit input value 000?

    1. A

      It ANDs the two input bits without inverting them

    2. B

      It ORs both input bits and inverts the result

    3. C

      It inverts the first bit and ORs it with the second

    4. D

      It inverts both input bits and ANDs the results

    Correct answer
    D

    It inverts both input bits and ANDs the results

    Explanation

    The value 000 has both bits off, so the decoder inverts both inputs and ANDs the resulting high signals.

  16. 16

    How does the decoder recognize the two-bit input value 333?

    1. A

      It inverts both input bits and ANDs them

    2. B

      It inverts the first bit and ANDs it with the second

    3. C

      It ANDs the two input bits directly

    4. D

      It ORs the two input bits directly

    Correct answer
    C

    It ANDs the two input bits directly

    Explanation

    The two-bit representation of 333 has both bits on, so a direct AND of the inputs detects it.

  17. 17

    For the described two-bit decoder, which input condition represents the value 222?

    1. A

      The first bit is on and the second bit is off

    2. B

      The first bit is off and the second bit is on

    3. C

      Both bits are off

    4. D

      Both bits are on

    Correct answer
    B

    The first bit is off and the second bit is on

    Explanation

    The decoder treats the first input as the lower bit, so the value 222 is represented by the first bit off and the second bit on.

  18. 18

    For the described two-bit decoder, which input condition represents the value 111?

    1. A

      Both bits are on

    2. B

      Both bits are off

    3. C

      The first bit is on and the second bit is off

    4. D

      The first bit is off and the second bit is on

    Correct answer
    C

    The first bit is on and the second bit is off

    Explanation

    The value 111 is represented by the first bit on and the second bit off.

  19. 19

    When should a one-bit memory cell accept its input data for storage?

    1. A

      Only when its row and column are both unselected

    2. B

      Whenever either its row or its column is selected, regardless of the store signal

    3. C

      When the cell is selected by both its row and column and the store signal is on

    4. D

      Whenever the data input changes, even if the cell is not selected

    Correct answer
    C

    When the cell is selected by both its row and column and the store signal is on

    Explanation

    The cell's selection logic checks that both row and column are active, and it writes input data only when the store signal is also on.

  20. 20

    What happens to a memory cell's store operation if either its row or column selection is inactive?

    1. A

      The cell is inactive and does not store the input

    2. B

      The cell stores the input only if the data bit is high

    3. C

      The cell stores the input but disconnects its output

    4. D

      The cell activates every cell in the same row

    Correct answer
    A

    The cell is inactive and does not store the input

    Explanation

    Both row and column selection inputs must be active; if either is off, the cell is inactive and the store signal has no effect.

  21. 21

    How can a 4×44\times44×4 grid be made usable as one cell in a larger grid?

    1. A

      Remove its address input and connect every latch to the same output

    2. B

      Make all its internal cells active simultaneously

    3. C

      Replace its data input with a second clock input

    4. D

      Give the grid its own row and column selection inputs

    Correct answer
    D

    Give the grid its own row and column selection inputs

    Explanation

    The grid can be selected as a larger memory cell by adding its own row and column inputs, along with its data and store signals.

  22. 22

    Why can one 4×44\times44×4 grid of one-bit cells be placed inside another 4×44\times44×4 grid to address 256256256 bits?

    1. A

      Each address bit independently stores one byte in both grids

    2. B

      Each outer-grid position stores 256256256 bits, so the inner grid is unnecessary

    3. C

      Each outer-grid position selects a 161616-bit group, and the inner address selects one of its bits

    4. D

      The outer grid uses eight rows and the inner grid uses eight columns

    Correct answer
    C

    Each outer-grid position selects a 161616-bit group, and the inner address selects one of its bits

    Explanation

    Each inner 4×44\times44×4 grid contains 161616 bits, and the outer grid selects among 161616 such groups, for 16×16=25616\times16=25616×16=256 bits total.

  23. 23

    What distinguishes the latch-based memory described from the capacitor-based memory used for larger capacities?

    1. A

      Both are called static memory because they can store a bit

    2. B

      Both are called dynamic memory because each requires an address decoder

    3. C

      Latch-based memory is static memory, while capacitor-based memory is dynamic memory

    4. D

      Latch-based memory is dynamic memory, while capacitor-based memory is static memory

    Correct answer
    C

    Latch-based memory is static memory, while capacitor-based memory is dynamic memory

    Explanation

    The latch-based approach is called static memory, while capacitor-based memory is called dynamic memory because it requires refreshing.

  24. 24

    Why is latch-based memory used mainly for relatively small memory chips in the described comparison?

    1. A

      It is compact but loses its data whenever it is read

    2. B

      It requires a mechanical arm to select a stored bit

    3. C

      It is fast but takes up relatively large physical space

    4. D

      It cannot be connected to address decoders

    Correct answer
    C

    It is fast but takes up relatively large physical space

    Explanation

    The content describes latch-based memory as fast but physically large, making it suitable for smaller capacities rather than gigabytes.

  25. 25

    How does a capacitor represent a bit in the described dynamic-memory example?

    1. A

      A charged capacitor represents 111, while an uncharged one represents 000

    2. B

      A charged capacitor represents 000, while an uncharged one represents 111

    3. C

      The direction of its current represents 111, while its size represents 000

    4. D

      A capacitor represents a bit only while the clock is changing

    Correct answer
    A

    A charged capacitor represents 111, while an uncharged one represents 000

    Explanation

    The example represents an empty capacitor as 000 and a charged capacitor as 111.

  26. 26

    What happens to the stored information when the described capacitor memory is read?

    1. A

      Reading strengthens the charge, making the information permanent

    2. B

      Reading changes the bit from 111 to 000 only if the store signal is on

    3. C

      Reading transfers the charge to the row decoder without affecting it

    4. D

      Reading discharges the capacitor, so the stored information is lost

    Correct answer
    D

    Reading discharges the capacitor, so the stored information is lost

    Explanation

    The described read operation discharges the capacitor, which destroys the stored charge and therefore loses the bit.

  27. 27

    Why does capacitor-based dynamic memory need its contents to be refreshed?

    1. A

      Its decoder periodically changes every address

    2. B

      Its data is automatically erased whenever another address is selected

    3. C

      The charge leaks away over time, and reading can discharge it

    4. D

      The clock signal slowly turns each stored 111 into a 000

    Correct answer
    C

    The charge leaks away over time, and reading can discharge it

    Explanation

    The charge leaks away over time, and reading discharges it, so extra circuitry must repeatedly read and rewrite the contents.

  28. 28

    What makes the described capacitor-based memory especially compact?

    1. A

      Each bit requires two complete clocked registers

    2. B

      One capacitor and one transistor can store and control access to a bit

    3. C

      Each bit uses four decoders and a decimal display

    4. D

      Each bit is stored by a separate spinning magnetic disc

    Correct answer
    B

    One capacitor and one transistor can store and control access to a bit

    Explanation

    The content explains that a bit can be stored with one capacitor and one transistor that enables or disables the output.

  29. 29

    Which description applies to both latch-based static memory and capacitor-based dynamic memory?

    1. A

      Both require a mechanical arm to access each address

    2. B

      Both can be read only once before being replaced

    3. C

      Both preserve their data without power by storing magnetic polarity

    4. D

      Both are volatile and lose their data when power is removed

    Correct answer
    D

    Both are volatile and lose their data when power is removed

    Explanation

    Both types require a constant power source; without power, their stored data is lost, so they are volatile memory.

  30. 30

    How does the described spinning-disc persistent memory retain data long-term?

    1. A

      By storing each bit in the position of a clock signal

    2. B

      By maintaining feedback between pairs of NOR gates

    3. C

      By keeping electrical charge in a capacitor that never leaks

    4. D

      By changing the magnetic polarity of tiny regions on the disc

    Correct answer
    D

    By changing the magnetic polarity of tiny regions on the disc

    Explanation

    The spinning-disc example stores data by changing the magnetic polarity of tiny regions on the disc.

  31. 31

    Why can access time to a spinning-disc drive vary depending on the requested location?

    1. A

      The drive refreshes every capacitor before producing an output

    2. B

      The disc must spin and its arm must move to the needed location

    3. C

      The address decoder must rebuild the requested memory grid

    4. D

      The CPU cache must transfer all stored bits to the disc first

    Correct answer
    B

    The disc must spin and its arm must move to the needed location

    Explanation

    The disc and its arm physically move, so reaching different locations can take different amounts of time.

  32. 32

    What real-world implementation detail is mentioned for highly optimized memory cells?

    1. A

      Some cells use as few as six transistors

    2. B

      Every cell uses a pair of spinning discs

    3. C

      Every cell uses eight capacitors and a decimal decoder

    4. D

      All cells are built from complete 4-bit registers

    Correct answer
    A

    Some cells use as few as six transistors

    Explanation

    The content notes that real-world memory cells can be highly optimized and use as few as six transistors.

  33. 33

    What capacity does the nested pair of 4×44\times44×4 grids provide before it is replicated into bytes?

    1. A

      256256256 bits

    2. B

      256256256 bytes

    3. C

      646464 bytes

    4. D

      161616 bits

    Correct answer
    A

    256256256 bits

    Explanation

    The outer grid selects one of 161616 inner groups, each containing 161616 one-bit cells, giving 16×16=25616\times16=25616×16=256 bits.

  34. 34

    How many copies of a 256256256-bit memory cell are combined to create the described 256256256-byte memory?

    1. A

      Eight copies

    2. B

      Two hundred fifty-six copies

    3. C

      Sixteen copies

    4. D

      Four copies

    Correct answer
    A

    Eight copies

    Explanation

    Eight copies are used so that the eight bit outputs together form a byte at each address.

  35. 35

    Why does the described 256256256-byte memory use an 8-bit data input and an 8-bit data output?

    1. A

      The memory stores eight separate decimal digits at every address

    2. B

      Each address has eight rows, and each row needs a separate data signal

    3. C

      Each cell can store only one of the eight possible addresses

    4. D

      Each addressed location stores one byte, which contains eight bits

    Correct answer
    D

    Each addressed location stores one byte, which contains eight bits

    Explanation

    The design combines eight one-bit memory cells so that a location holds an 8-bit byte.

  36. 36

    How many distinct byte locations can an 8-bit address select?

    1. A

      256256256

    2. B

      161616

    3. C

      128128128

    4. D

      888

    Correct answer
    A

    256256256

    Explanation

    An 8-bit address has 28=2562^8=25628=256 possible values, so it can select 256256256 byte locations.

  37. 37

    In the nested memory arrangement, what do the upper four address bits select?

    1. A

      The store signal for the entire memory

    2. B

      One of the 161616 groups of 161616 bits

    3. C

      One of the eight bits in the output byte

    4. D

      One of the four rows in the innermost grid

    Correct answer
    B

    One of the 161616 groups of 161616 bits

    Explanation

    The upper four bits select one of the 161616 larger cells, each of which contains 161616 individual bit cells.

  38. 38

    In that same nested arrangement, what do the lower four address bits select?

    1. A

      One of the memory's store or data inputs

    2. B

      One of the 161616 one-bit cells inside the selected group

    3. C

      One of the 161616 groups in the outer grid

    4. D

      One of the eight copies used to make a byte

    Correct answer
    B

    One of the 161616 one-bit cells inside the selected group

    Explanation

    After the upper bits select a group, the lower four bits select one of the 161616 one-bit cells within that group.

  39. 39

    What is the defining access-time property of random access memory in the described comparison?

    1. A

      Access time depends on how far a mechanical arm must swing

    2. B

      Accessing addresses takes longer in proportion to their numerical value

    3. C

      Accessing any address takes the same amount of time

    4. D

      Only consecutive addresses can be accessed in equal time

    Correct answer
    C

    Accessing any address takes the same amount of time

    Explanation

    The described RAM takes the same amount of time to jump between any two addresses, unlike mechanically accessed disc storage.

  40. 40

    Why might programmers still care about the order in which they request data from RAM?

    1. A

      The RAM decoder can select only the most recently used address

    2. B

      Nearby requests may be served faster if the data is already in cache

    3. C

      Requests must always proceed in increasing address order to avoid data loss

    4. D

      Random access becomes impossible when addresses are requested out of order

    Correct answer
    B

    Nearby requests may be served faster if the data is already in cache

    Explanation

    Computers use a cache that may already contain nearby data, so access patterns can affect whether data is available quickly.

  41. 41

    What type of memory is described as the small, very fast cache close to the CPU?

    1. A

      Capacitor-only persistent memory

    2. B

      Magnetic-disc storage

    3. C

      Dynamic RAM

    4. D

      Static RAM

    Correct answer
    D

    Static RAM

    Explanation

    The cache is described as a smaller amount of very fast static RAM positioned close to the CPU.

  42. 42

    What is the typical relationship between main RAM and cache in the described computer memory hierarchy?

    1. A

      Main RAM is persistent, while cache is stored on a spinning disc

    2. B

      Main RAM is larger and relatively slow, while cache is smaller and faster

    3. C

      Both have the same capacity and speed, but store different data types

    4. D

      Main RAM is smaller and faster, while cache is larger and slower

    Correct answer
    B

    Main RAM is larger and relatively slow, while cache is smaller and faster

    Explanation

    The computer is described as having a large amount of relatively slow dynamic RAM and a much smaller amount of very fast static RAM for cache.

  43. 43

    What does the computer do when requested data is not already in cache?

    1. A

      It fetches the data from main RAM and brings nearby data into cache as well

    2. B

      It searches the magnetic polarity of every location on the hard drive

    3. C

      It waits for the user to move the requested data into a register

    4. D

      It disables cache and reads all memory locations sequentially

    Correct answer
    A

    It fetches the data from main RAM and brings nearby data into cache as well

    Explanation

    On a cache miss, the computer fetches the requested data from slower main RAM and also brings along surrounding data in anticipation of nearby requests.

  44. 44

    What is the main reason the computer brings surrounding data into cache when retrieving requested data?

    1. A

      The computer must refresh all of dynamic RAM after every access

    2. B

      The next request may be for a nearby address

    3. C

      Nearby addresses always contain identical values

    4. D

      The cache cannot store the requested address by itself

    Correct answer
    B

    The next request may be for a nearby address

    Explanation

    Fetching surrounding data is based on the expectation that the next memory request may be at a nearby address.

  45. 45

    Why is an asynchronous RAM vulnerable to unintended writes when its store signal remains on as the address changes?

    1. A

      The data input is forced to zero whenever the store signal is on

    2. B

      Changing the address automatically turns every stored bit into a clock signal

    3. C

      The newly selected addresses may receive the current input data while store is active

    4. D

      The RAM output becomes disconnected whenever the address changes

    Correct answer
    C

    The newly selected addresses may receive the current input data while store is active

    Explanation

    Without clock synchronization, an active store signal can cause data to be written as the address changes, potentially overwriting unintended locations.

  46. 46

    At what point does the described clocked register capture new input data?

    1. A

      At any time while the clock is high

    2. B

      On the rising edge, when the clock changes from low to high

    3. C

      At any time while the clock is low

    4. D

      Only when the clock changes from high to low

    Correct answer
    B

    On the rising edge, when the clock changes from low to high

    Explanation

    The register accepts new data during the brief low-to-high transition, called the rising edge.

  47. 47

    What happens if the inputs to the described register change while the clock is already high or remains low?

    1. A

      The register does not capture those changes until a rising edge

    2. B

      The register immediately stores every change while the clock is high

    3. C

      The register clears its stored value whenever either level is held

    4. D

      The register captures changes only while the clock is low

    Correct answer
    A

    The register does not capture those changes until a rising edge

    Explanation

    Input changes take effect only on the rising edge; changing inputs while the clock is high or low does not update the register.

  48. 48

    In the initial clock-synchronization approach, when is the data register updated?

    1. A

      Only when the store signal is off and the clock falls

    2. B

      Whenever the address changes, regardless of the clock

    3. C

      Only when the store signal enables it and a rising clock edge occurs

    4. D

      Whenever the clock is high, even without a rising edge

    Correct answer
    C

    Only when the store signal enables it and a rising clock edge occurs

    Explanation

    The data register's store input is controlled by the store signal, and the register captures its input on a rising clock edge.

  49. 49

    Why can directly connecting a changing address to asynchronous RAM while store is active create a timing problem in real hardware?

    1. A

      The data register changes every address bit into an unknown value

    2. B

      The address register always erases RAM before its output stabilizes

    3. C

      The RAM cannot decode an address unless the clock is held high

    4. D

      Signals take time to settle, so an unstable address may briefly select the wrong location

    Correct answer
    D

    Signals take time to settle, so an unstable address may briefly select the wrong location

    Explanation

    Real signals do not settle instantaneously; if store is active while the address output is unstable, the wrong location could be selected briefly.

  50. 50

    What is one proposed way to reduce the risk that a store signal arrives before the address has settled?

    1. A

      Register the store signal and use logic to delay it by one clock cycle

    2. B

      Remove the address register and keep the store signal permanently on

    3. C

      Invert the data input whenever the address changes

    4. D

      Connect the store signal directly to every address bit

    Correct answer
    A

    Register the store signal and use logic to delay it by one clock cycle

    Explanation

    The content suggests registering the store signal and delaying it by one clock cycle so the address has time to settle.

  51. 51

    What inconvenience arises if the RAM address is read only from a clocked address register?

    1. A

      The RAM cannot store data at the registered address

    2. B

      A newly selected address is not seen by RAM until the next clock pulse

    3. C

      The RAM output changes continuously even when the address is fixed

    4. D

      The data output must be converted to decimal before it can be read

    Correct answer
    B

    A newly selected address is not seen by RAM until the next clock pulse

    Explanation

    When the address is held in a clocked register, RAM does not see a newly entered address until the next rising clock edge.

  52. 52

    How does the revised design allow RAM's output to reflect the most up-to-date address while still protecting writes?

    1. A

      It disconnects the address input and selects locations using the data value

    2. B

      It connects the input address directly to RAM but permits storage only when it matches the registered address

    3. C

      It allows writes only when the address input differs from the registered address

    4. D

      It stores every address in RAM immediately but delays the output by one cycle

    Correct answer
    B

    It connects the input address directly to RAM but permits storage only when it matches the registered address

    Explanation

    The direct address input makes reads respond immediately, while a match with the clocked address register is required before a write is permitted.

  53. 53

    Which logic operation is used to test whether two one-bit values are the same in the described design?

    1. A

      OR

    2. B

      Exclusive NOR

    3. C

      Exclusive OR

    4. D

      AND

    Correct answer
    B

    Exclusive NOR

    Explanation

    Exclusive OR detects whether two bits differ; inverting its output gives exclusive NOR, which is high when they match.

  54. 54

    How is the described 8-bit equality test assembled from one-bit comparison results?

    1. A

      Four AND results are inverted and combined with a decoder

    2. B

      Eight exclusive-OR results are combined with OR gates

    3. C

      Eight exclusive-NOR results are combined with AND gates

    4. D

      Two three-state buffers are connected to a clock register

    Correct answer
    C

    Eight exclusive-NOR results are combined with AND gates

    Explanation

    Each of the eight bit pairs is compared with an exclusive-NOR gate, and AND gates check that all eight comparisons indicate a match.

  55. 55

    Under what combined condition does the revised RAM design allow a write?

    1. A

      The data input is zero and the address register is changing

    2. B

      The clock is high and at least one address bit differs

    3. C

      The store signal is on and the input address matches the registered address

    4. D

      The store signal is off and the input address differs from the registered address

    Correct answer
    C

    The store signal is on and the input address matches the registered address

    Explanation

    The store is permitted only when the store signal is on and the equality circuit confirms that the direct address matches the clock-synchronized address.

  56. 56

    What happens if the store signal is changed without a clock pulse in the described synchronized design?

    1. A

      Every address is overwritten with the current data

    2. B

      The memory contents remain unchanged

    3. C

      The output is forced to zero

    4. D

      The current address is stored in the data register

    Correct answer
    B

    The memory contents remain unchanged

    Explanation

    The described test confirms that changing the store signal without a clock pulse does not write new data into memory.

Question 1 of 56
Question 1 of 56

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent