Unit 6 - Practice Quiz

ECE213 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What does the acronym ROM stand for in digital electronics?

Read-only memory Easy
A. Random-Online Memory
B. Read-Once Memory
C. Rapid-Output Memory
D. Read-Only Memory

2 Which type of memory is volatile, meaning it loses its data when the power is turned off?

Read/Write memory- SRAM and DRAM Easy
A. RAM
B. Flash Memory
C. ROM
D. EPROM

3 Which type of RAM requires its contents to be periodically refreshed to prevent data loss?

Read/Write memory- SRAM and DRAM Easy
A. MRAM (Magnetoresistive RAM)
B. SRAM (Static RAM)
C. ROM (Read-Only Memory)
D. DRAM (Dynamic RAM)

4 What does PAL stand for in the context of programmable logic devices?

PALs and their applications Easy
A. Programmable Access Layer
B. Programmed AND Logic
C. Primary Access Logic
D. Programmable Array Logic

5 What is the key architectural feature of a Programmable Logic Array (PLA)?

PLAs and their applications Easy
A. Neither array is programmable
B. Only the OR array is programmable
C. Both AND and OR arrays are programmable
D. Only the AND array is programmable

6 What does the acronym FPGA stand for?

Introduction to field programmable gate arrays Easy
A. Field-Programmable Gate Array
B. Fixed-Program Gate Array
C. Fast-Programmable Gate Array
D. Field-Protocol Gate Architecture

7 What component is added to a combinational PLD to create a sequential PLD?

Sequential PLDs and their applications Easy
A. Flip-flops or registers
B. More AND gates
C. Capacitors
D. Resistors

8 Which type of ROM can be erased by exposing it to ultraviolet (UV) light?

Read-only memory Easy
A. PROM
B. EEPROM
C. EPROM
D. Mask ROM

9 The basic storage cell of a Static RAM (SRAM) is a...

Read/Write memory- SRAM and DRAM Easy
A. Resistor
B. Flip-flop
C. Capacitor
D. Fuse link

10 In a PAL's architecture, the AND array is and the OR array is .

PALs and their applications Easy
A. Fixed, Programmable
B. Fixed, Fixed
C. Programmable, Programmable
D. Programmable, Fixed

11 Which type of RAM is generally faster and is often used for CPU cache?

Read/Write memory- SRAM and DRAM Easy
A. Flash Memory
B. DRAM
C. SRAM
D. SDRAM

12 A computer's BIOS (Basic Input/Output System) is typically stored in which type of memory to ensure it's available on startup?

Read-only memory Easy
A. SRAM cache
B. Non-volatile memory like ROM or Flash
C. The hard disk drive only
D. Volatile memory like DRAM

13 Compared to a PAL, a PLA is generally considered more...

PLAs and their applications Easy
A. Simple
B. Fast
C. Flexible
D. Low-power

14 What is the fundamental, reprogrammable building block inside an FPGA?

Introduction to field programmable gate arrays Easy
A. AND-OR Gate
B. Arithmetic Logic Unit (ALU)
C. Configurable Logic Block (CLB)
D. Memory Cell

15 What is the primary purpose of the registered outputs in a sequential PLD?

Sequential PLDs and their applications Easy
A. To combine multiple logic signals
B. To amplify the output voltage
C. To provide a direct combinational path
D. To store state information between clock cycles

16 What are the two main types of Read/Write memory?

Read/Write memory- SRAM and DRAM Easy
A. SRAM and DRAM
B. PAL and PLA
C. EPROM and EEPROM
D. ROM and PROM

17 What does it mean for a memory device to be "non-volatile"?

Read-only memory Easy
A. It loses data without power
B. It can only be written to once
C. It retains data without power
D. It is extremely fast

18 A logic function is implemented using a PAL. This means the function is realized in which standard form?

PALs and their applications Easy
A. Sum-of-Products (SOP)
B. Product-of-Sums (POS)
C. Canonical Form
D. Binary-Coded Decimal (BCD)

19 CPLD is an acronym for:

Sequential PLDs and their applications Easy
A. Computerized Programmable Logic Device
B. Complex Programmable Logic Device
C. Combinational Programmable Logic Device
D. Custom Programmable Logic Device

20 Which memory type is programmed at the factory during the manufacturing process and cannot be changed by the user?

Read-only memory Easy
A. PROM
B. EEPROM
C. EPROM
D. Mask ROM

21 To construct a 64K x 16 memory system, how many 16K x 8 RAM chips are required, and how many address lines are needed for the chip select (CS) decoder?

Read/Write memory- SRAM and DRAM Medium
A. 4 chips, 4 address lines
B. 8 chips, 2 address lines
C. 8 chips, 3 address lines
D. 4 chips, 2 address lines

22 A ROM is used to implement the Boolean function . What will be the data stored at the memory address 110?

Read-only memory Medium
A. 1
B. Undefined
C. 0
D. High Impedance

23 Consider a PAL device with 4 inputs and 2 outputs. Each output is generated by a fixed OR gate with 3 AND gate inputs. Which of the following pairs of functions can be implemented on this PAL?


PALs and their applications Medium
A. Only can be implemented, cannot.
B. Only can be implemented, cannot.
C. Neither nor can be implemented.
D. Both and can be implemented.

24 To implement the functions and using a PLA, what is the minimum number of unique product terms required in the AND array?

PLAs and their applications Medium
A. 5
B. 3
C. 4
D. 2

25 What is the primary architectural reason that FPGAs are generally more suitable for register-intensive applications (like a digital filter pipeline) than CPLDs?

Introduction to field programmable gate arrays Medium
A. FPGAs have a fine-grained architecture with a vast number of registers distributed throughout the fabric, typically paired with each LUT.
B. FPGAs are non-volatile and retain their configuration on power-off.
C. FPGAs use a programmable AND-OR plane which is more efficient for state machines.
D. CPLDs have a higher input-to-output pin delay, making them unsuitable for high-frequency designs.

26 A DRAM chip has a refresh period of 64 ms and contains 8192 rows. What is the average time interval between row refresh operations (refresh cycle time)?

Read/Write memory- SRAM and DRAM Medium
A. 7.81 µs
B. 8.19 µs
C. 64 µs
D. 128 ns

27 What is the key function of an Output Logic Macrocell (OLMC) in a sequential PLD like a GAL22V10?

Sequential PLDs and their applications Medium
A. To decode the address lines for selecting specific product terms.
B. To provide a configurable path for an output to be either combinational or registered (using a flip-flop).
C. To solely act as a buffer to increase the drive strength of the output pin.
D. To implement the AND-plane logic for all product terms.

28 A design engineer needs to choose a memory type for storing firmware in a consumer electronics device. For initial prototyping and debugging, frequent reprogramming is necessary. For the final high-volume production, the lowest cost per unit is the primary concern. Which pair of memory types is most appropriate?

Read-only memory Medium
A. Prototyping: EEPROM, Production: Mask ROM (MROM)
B. Prototyping: PROM, Production: EEPROM
C. Prototyping: SRAM, Production: DRAM
D. Prototyping: Mask ROM (MROM), Production: EPROM

29 What is the primary architectural difference between a PAL (Programmable Array Logic) and a PLA (Programmable Logic Array)?

PALs and their applications Medium
A. A PAL uses fuses for programming, while a PLA uses anti-fuses.
B. A PLA has a programmable AND array and a fixed OR array, while a PAL has both a programmable AND array and a programmable OR array.
C. A PAL has a programmable AND array and a fixed OR array, while a PLA has both a programmable AND array and a programmable OR array.
D. A PAL can only implement combinational logic, while a PLA can implement sequential logic.

30 The primary reason DRAM (Dynamic RAM) can achieve much higher storage densities than SRAM (Static RAM) is that...

Read/Write memory- SRAM and DRAM Medium
A. DRAM cells do not require power to retain data, reducing the need for power distribution circuitry.
B. SRAM cells are physically larger due to the need for UV-transparent windows for erasing.
C. DRAM uses a more advanced manufacturing process that allows for smaller feature sizes.
D. A DRAM cell consists of a single transistor and a capacitor, while an SRAM cell requires a latch typically made of 6 transistors.

31 How does a typical FPGA implement a complex 6-input combinational logic function using its fundamental logic elements which are 4-input Look-Up Tables (LUTs)?

Introduction to field programmable gate arrays Medium
A. By cascading multiple 4-input LUTs, often using multiplexers to combine their results.
B. It is not possible; the function must be simplified to 4 inputs or less.
C. By using the programmable AND-OR planes instead of the LUTs.
D. By reconfiguring a single 4-input LUT to operate as a 6-input LUT at a lower speed.

32 A PLA is defined by its number of inputs (I), product terms (P), and outputs (O). If a PLA is used to implement a BCD-to-7-Segment decoder, what are the minimum values for I and O?

PLAs and their applications Medium
A. I=10, O=7
B. I=7, O=4
C. I=4, O=10
D. I=4, O=7

33 To implement a 4-bit synchronous counter with a parallel load capability, which of the following devices would be most suitable?

Sequential PLDs and their applications Medium
A. A 4K x 8 ROM
B. A simple PAL with 4 inputs and 4 outputs
C. A sequential PLD (like a CPLD or GAL)
D. A simple PLA

34 The configuration data that defines the logic functions and interconnections in an SRAM-based FPGA is...

Introduction to field programmable gate arrays Medium
A. Non-volatile, and is permanently stored in the FPGA using fuse technology.
B. Non-volatile, and stored in an on-chip EEPROM.
C. Volatile, but is retained for several hours by internal capacitors.
D. Volatile, and must be loaded from an external source (like a flash memory) upon power-up.

35 An 8K x 8 ROM chip has a chip enable input (CE) and an output enable input (OE). To read data from the ROM, what must be the state of these signals?

Read-only memory Medium
A. CE must be inactive, and OE must be active.
B. CE must be active, and OE must be inactive.
C. Both CE and OE must be inactive.
D. CE must be active, and OE must be active.

36 Given the Boolean function , how many product terms are required to implement its minimized sum-of-products form using a PAL?

PALs and their applications Medium
A. 3
B. 1
C. 2
D. 4

37 An advantage of using a PLA over a PAL for implementing a set of logic functions is that...

PLAs and their applications Medium
A. PLAs are generally faster than PALs because of their simpler architecture.
B. The PLA's programmable OR array allows for more efficient allocation of product terms among the outputs.
C. PLAs consume significantly less power than PALs for the same logic function.
D. PLAs are field-programmable, whereas PALs are only mask-programmable.

38 In a memory system, SRAM is most commonly used for CPU cache while DRAM is used for main memory. What is the primary trade-off that dictates this choice?

Read/Write memory- SRAM and DRAM Medium
A. Volatility vs. Non-volatility: SRAM is non-volatile while DRAM is volatile.
B. Power Consumption vs. Capacity: SRAM consumes less power, making it suitable for main memory.
C. Read Speed vs. Write Speed: SRAM has faster reads, while DRAM has faster writes.
D. Speed vs. Cost/Density: SRAM is much faster but more expensive and less dense than DRAM.

39 The routing resources in an FPGA consist of a programmable interconnection matrix. What is the primary purpose of these resources?

Introduction to field programmable gate arrays Medium
A. To create flexible signal paths to connect the outputs of some Configurable Logic Blocks (CLBs) to the inputs of others.
B. To store the configuration bitstream for the entire device.
C. To supply power and ground connections to all the logic blocks on the chip.
D. To provide clock signals to the sequential elements within the CLBs.

40 A state machine with 5 states is to be implemented using a sequential PLD. What is the minimum number of flip-flops (registers) required within the PLD to represent the states?

Sequential PLDs and their applications Medium
A. 3
B. 2
C. 5
D. 8

41 A 256Mbit DRAM chip is organized as 16K rows, 2K columns, and a bus width of 8 bits. The memory requires a refresh cycle every 64 ms. If a single row refresh operation (read and write-back) takes 50 ns, what percentage of the total time is spent on refresh operations?

Read/Write memory- SRAM and DRAM Hard
A. Approximately 0.64%
B. Approximately 1.28%
C. Approximately 0.32%
D. Approximately 2.56%

42 Consider implementing the following three Boolean functions using a single PLA with inputs w, x, y, z:



What is the minimum number of unique product terms required in the AND array of the PLA to implement all three functions simultaneously?

PLAs and their applications Hard
A. 8
B. 6
C. 10
D. 16

43 A state machine is implemented using a sequential PLD (like a CPLD macrocell) with a registered output. The propagation delay through the combinational logic (AND-OR array) is ns, the setup time for the flip-flop is ns, and the clock-to-output delay of the flip-flop is ns. The external circuit connected to the PLD's output has its own setup time requirement of 4 ns relative to the same system clock. What is the maximum possible clock frequency () at which this entire system can operate reliably?

Sequential PLDs and their applications Hard
A. 76.9 MHz
B. 62.5 MHz
C. 58.8 MHz
D. 100 MHz

44 How would you implement the Boolean function (a 6-input XOR gate) most efficiently using an FPGA architecture composed of 4-input Look-Up Tables (LUTs)?

Introduction to field programmable gate arrays Hard
A. Four 4-input LUTs in a single level.
B. Two 4-input LUTs and one 2-input AND gate.
C. Three 4-input LUTs arranged in two levels.
D. One 4-input LUT and one 3-input LUT.

45 A PAL16L8 device has 10 dedicated inputs, 2 dedicated outputs, and 6 pins that are programmable as I/O. Each output is generated by a 7-input OR gate, which is fed by 7 product terms from the AND array. Consider the function . Which statement is true regarding its implementation on a single output of a PAL16L8?

PALs and their applications Hard
A. The function can be implemented directly as it has exactly 7 product terms.
B. The function cannot be implemented because it requires 6 inputs but the OR gate is 7-input.
C. The function cannot be implemented directly because after minimization it requires more than 7 product terms.
D. The function cannot be implemented without factoring because it requires 8 product terms after minimization.

46 A system requires a 4-bit binary to 7-segment display decoder for a common anode display. Invalid BCD codes (1010 through 1111) must result in the display being completely blank. What is the hexadecimal value that must be stored in the ROM at address (binary 1011) to implement this function?

Read-only memory Hard
A. 0xFF
B. 0x40
C. 0x7F
D. 0x00

47 An asynchronous SRAM has a read cycle time () of 20 ns, an address access time () of 20 ns, a chip select access time () of 15 ns, and an output enable access time () of 10 ns. The processor driving the SRAM provides the address and asserts Chip Select (CS) simultaneously. After a 5 ns delay, it asserts Output Enable (OE). When is the data from the SRAM guaranteed to be valid?

Read/Write memory- SRAM and DRAM Hard
A. 25 ns after address is applied.
B. 10 ns after address is applied.
C. 20 ns after address is applied.
D. 15 ns after address is applied.

48 In an FPGA, implementing a 32-bit adder using the general-purpose logic fabric (LUTs) is compared to using the dedicated, hard-wired carry chain logic available in most modern FPGAs. What is the primary architectural reason that the dedicated carry chain is significantly faster?

Introduction to field programmable gate arrays Hard
A. The dedicated carry chain logic is implemented with smaller transistors, reducing parasitic capacitance.
B. The LUT-based implementation requires a clock signal for each bit, while the carry chain does not.
C. The dedicated carry chain uses asynchronous logic for faster propagation.
D. The dedicated carry chain uses specialized, high-speed routing paths between adjacent logic elements that bypass the general-purpose interconnect matrix.

49 A PLA is used to implement a logic system with 8 inputs and 6 outputs. The implementation requires 45 unique product terms after minimization. A ROM is considered as an alternative. What is the size of the ROM required to implement the same logic, and what is the ratio of utilized crosspoints in the PLA's AND-plane to the total crosspoints in the ROM's decoder?

PLAs and their applications Hard
A. ROM Size: 256 x 6 bits. Ratio: (8x45) / (256x6) = 0.23
B. ROM Size: 2048 x 6 bits. Ratio: Not meaningful as structures are different.
C. ROM Size: 256 x 6 bits. Ratio: (8x2x45) / (2^8 x 8) = 0.3515
D. ROM Size: 256 x 6 bits. Ratio: (8x2x45) / (256x8) = 0.35

50 A Mealy state machine with 5 states, 3 inputs, and 4 outputs is to be implemented using a CPLD. The states are encoded using the minimum number of bits. The CPLD macrocells contain D-flip-flops. What is the minimum size of the combinational logic required, expressed in terms of inputs to the logic block and outputs from the logic block?

Sequential PLDs and their applications Hard
A. 6 inputs, 4 outputs
B. 3 inputs, 4 outputs
C. 6 inputs, 7 outputs
D. 5 inputs, 4 outputs

51 You need to implement the function . A PAL device is available where each output OR gate has a maximum of 3 product terms as inputs. How can this function be implemented?

PALs and their applications Hard
A. It can be implemented directly on one output.
B. It can be implemented by minimizing the function to 3 product terms.
C. It is impossible to implement on this device.
D. It requires cascading two PAL outputs, where one output implements part of the function and is fed back as an input to the logic for the second output.

52 A 1T1C DRAM cell uses a 25 fF storage capacitor charged to 2.0 V to store a logic '1'. Due to junction leakage in the access transistor, the stored charge slowly leaks away. The sense amplifier can reliably detect the stored '1' as long as the capacitor voltage remains at or above 1.92 V. What is the maximum allowable leakage current if the data must be retained for the full 64 ms refresh period?

Read/Write memory- SRAM and DRAM Hard
A. Approximately 12.2 nA
B. Approximately 0.54 pA
C. Approximately 31.25 fA
D. Approximately 1.95 pA

53 A microprocessor's boot sequence is stored in a 32K x 8 ROM. The ROM has an access time () of 150 ns and an output enable time () of 70 ns. The microprocessor bus cycle requires the address to be stable for the entire cycle, asserts the output enable signal 50 ns after the start of the cycle, and latches the data at 200 ns. What is the minimum bus cycle time, and what is the unused time margin for the ROM in this system?

Read-only memory Hard
A. 200 ns cycle, 80 ns margin
B. 200 ns cycle, 50 ns margin
C. 220 ns cycle, 20 ns margin
D. 150 ns cycle, 0 ns margin

54 A hypothetical FPGA's logic element consists of one 4-input LUT and one D-flip-flop. To implement a 4-bit synchronous binary counter with a synchronous reset, what is the minimum number of logic elements required, and why?

Introduction to field programmable gate arrays Hard
A. 5 LEs, four for the counter bits and one for the terminal count logic.
B. 4 LEs, one for each bit's flip-flop and next-state logic.
C. 6 LEs, four for the counter bits and two to synthesize the wide fan-in logic for the MSB.
D. 8 LEs, as each bit's next-state logic requires a 5-input function (4 state bits + reset) which needs two LUTs.

55 For a 64M x 16 DRAM, the memory array is organized as a square. To access a memory location at the byte address 0x01A3_4B68, which bits of the address are used for the Row Address and which for the Column Address, assuming RAS/CAS splitting is done on the lower address bits?

Read/Write memory- SRAM and DRAM Hard
A. Row: A12-A0, Column: A25-A13
B. Row: A25-A13, Column: A12-A0
C. Row: A25-A13, Column: A12-A1
D. Row: A26-A14, Column: A13-A1

56 Two combinational circuits are to be implemented using a single PLA: a full adder (with inputs A, B, and outputs S, ) and a 4-to-2 priority encoder (with inputs and outputs ). What is the minimum total number of unique product terms required in the PLA's AND array?

PLAs and their applications Hard
A. 20
B. 15
C. 12
D. 10

57 A complex PLD (CPLD) is structured with multiple Logic Array Blocks (LABs) interconnected by a Programmable Interconnect Array (PIA). A design requires 150 product terms in total, but the single most complex logic function requires 25 product terms. The CPLD's LABs can implement up to 16 product terms per macrocell. How are these requirements met by the CPLD architecture?

Sequential PLDs and their applications Hard
A. The PIA is used to route and combine signals from multiple LABs to a single 'expander' LAB to synthesize the 25-product-term function.
B. The design is split across 10 LABs, each handling 15 product terms.
C. The design cannot be implemented as a single function exceeds the 16 product term limit of a LAB.
D. A single LAB is used, and a micro-sequencer is implemented to evaluate the 25 product terms over two clock cycles.

58 To implement a full 4x4 bit unsigned multiplier using a single ROM, what is the required size of the ROM in bits?

Read-only memory Hard
A. 256 x 8 bits = 2048 bits
B. 64 x 8 bits = 512 bits
C. 128 x 7 bits = 896 bits
D. 2048 x 1 bit = 2048 bits

59 A logic designer implements two functions, F1 and F2, on a PAL with programmable output polarity. F1 requires 6 product terms. The complement, F1', requires 3 product terms. F2 requires 4 product terms, and its complement F2' requires 5 product terms. The PAL's OR gates support a maximum of 4 product terms each. Which implementation strategy is valid?

PALs and their applications Hard
A. Implement F1' and F2', and invert both outputs.
B. Implement F1 and F2', and invert the output for F2.
C. Implement F1 and F2 directly.
D. Implement F1' and F2, and invert the output for F1.

60 A processor has a 32-bit address bus and requires 1 GB of main memory. The memory is to be constructed using 256M x 8-bit DRAM chips. How many DRAM chips are required, and how many address lines are decoded by the external address decoder (not the internal RAS/CAS decoders)?

Read/Write memory- SRAM and DRAM Hard
A. 2 chips, 1 address line
B. 4 chips, 4 address lines
C. 4 chips, 2 address lines
D. 8 chips, 3 address lines