Unit 3 - Practice Quiz

ECE213 62 Questions
0 Correct 0 Wrong 62 Left
0/62

1 What is the primary function of a Half Adder circuit?

Adders Easy
A. Adds three single bits
B. Compares two single bits
C. Subtracts two single bits
D. Adds two single bits

2 A Full Adder is a combinational circuit that adds how many bits at a time?

Adders Easy
A. Four bits
B. One bit
C. Two bits
D. Three bits

3 A Half Subtractor circuit has how many inputs and outputs?

Subtractors Easy
A. 3 inputs, 2 outputs
B. 1 input, 2 outputs
C. 2 inputs, 2 outputs
D. 2 inputs, 1 output

4 Which logic gates are typically used to implement the 'Difference' output of a Half Subtractor?

Subtractors Easy
A. XOR gate
B. AND gate
C. OR gate
D. NAND gate

5 What is the main purpose of a digital comparator circuit?

Comparators Easy
A. To add two binary numbers
B. To compare the magnitudes of two binary numbers
C. To select one of many inputs
D. To store a binary number

6 A Multiplexer (MUX) is also known as a:

Multiplexers and Demultiplexers Easy
A. Data Encoder
B. Data Inverter
C. Data Distributor
D. Data Selector

7 A Demultiplexer (DEMUX) performs the reverse operation of a:

Multiplexers and Demultiplexers Easy
A. Adder
B. Comparator
C. Multiplexer
D. Decoder

8 How many select lines are required for a 8-to-1 Multiplexer?

Multiplexers and Demultiplexers Easy
A. 3
B. 4
C. 8
D. 1

9 A decoder is a combinational circuit that converts binary information from:

Decoders Easy
A. n input lines to n output lines
B. 1 input line to n output lines
C. input lines to n output lines
D. n input lines to a maximum of unique output lines

10 A 3-to-8 decoder has how many inputs and outputs?

Decoders Easy
A. 8 inputs, 3 outputs
B. 3 inputs, 8 outputs
C. 8 inputs, 8 outputs
D. 3 inputs, 3 outputs

11 What is the primary function of an encoder?

Encoders Easy
A. To store a binary value
B. To convert a coded binary input into an active output line
C. To convert an active input line into a coded binary output
D. To add two binary numbers

12 An Octal-to-Binary encoder (8-to-3 encoder) would have:

Encoders Easy
A. 8 inputs and 8 outputs
B. 8 inputs and 3 outputs
C. 3 inputs and 3 outputs
D. 3 inputs and 8 outputs

13 What is a parity bit used for in digital communication?

Parity circuits Easy
A. Data encryption
B. Arithmetic operations
C. Simple error detection
D. Data compression

14 For the data bits 1101, what would be the odd parity bit?

Parity circuits Easy
A. 1
B. It can be 1 or 0
C. Parity is not applicable
D. 0

15 What defines a "logic family"?

Introduction to Logic Families Easy
A. A type of computer programming language
B. A standard for network communication
C. A method for storing data in memory
D. A collection of digital ICs with similar electrical characteristics

16 TTL, CMOS, and ECL are all examples of:

Introduction to different logic families Easy
A. Analog amplifier types
B. Data storage technologies
C. Microprocessor architectures
D. Digital logic families

17 What type of transistor is the fundamental building block of the TTL logic family?

Structure and operations of TTL, MOS and CMOS logic families Easy
A. Field-Effect Transistor (FET)
B. Tunnel Diode
C. Metal-Oxide-Semiconductor FET (MOSFET)
D. Bipolar Junction Transistor (BJT)

18 A major advantage of CMOS logic over TTL is its:

Structure and operations of TTL, MOS and CMOS logic families Easy
A. Ability to handle higher voltages
B. Very low static power consumption
C. Higher operating speed in all cases
D. Simpler manufacturing process

19 What does "MOS" in the MOS logic family stand for?

Structure and operations of TTL, MOS and CMOS logic families Easy
A. Metal-Oxide-Semiconductor
B. Main-Output-Signal
C. Multiple-Operating-States
D. Most-Often-Selected

20 In a standard CMOS inverter, when the input is LOW (Logic 0), which transistor is ON?

Structure and operations of TTL, MOS and CMOS logic families Easy
A. The PMOS transistor
B. Neither transistor
C. The NMOS transistor
D. Both NMOS and PMOS transistors

21 In a 4-bit ripple-carry adder, the propagation delay for the sum and carry-out of a single full adder is 15 ns. What is the total time required to obtain a stable result for the final carry-out () after applying the inputs?

Adders Medium
A. 45 ns
B. 15 ns
C. 30 ns
D. 60 ns

22 To perform the subtraction A - B using a 4-bit parallel adder for two 4-bit numbers A and B, how should the inputs to the adder be configured?

Subtractors Medium
A. Inputs: A, ; Carry-in: 1
B. Inputs: A, B; Carry-in: 1
C. Inputs: A, ; Carry-in: 0
D. Inputs: , B; Carry-in: 1

23 For a 2-bit magnitude comparator with inputs A = and B = , what are the logic levels on the outputs (A>B, A=B, A<B) respectively, when A = 10 (binary) and B = 11 (binary)?

Comparators Medium
A. 0, 0, 1
B. 1, 0, 0
C. 1, 1, 0
D. 0, 1, 0

24 Consider a 4-to-1 multiplexer used to implement a logic function where A and B are the select lines (). If the data inputs are set as , what is the resulting logic function?

Multiplexers and Demultiplexers Medium
A.
B.
C.
D.

25 A 3-to-8 decoder with active-HIGH outputs is used to implement the Boolean function . Which external logic gate is required to combine the decoder outputs?

Decoders Medium
A. 4-input NAND gate
B. 4-input OR gate
C. 4-input AND gate
D. 4-input XOR gate

26 An 8-to-3 priority encoder has active-HIGH inputs to , with having the highest priority. If inputs , , and are all HIGH simultaneously, what will be the 3-bit binary output ()?

Encoders Medium
A. 100
B. 111
C. 010
D. 101

27 For a 4-bit data word 1101, an even parity bit is generated and appended as the Most Significant Bit (MSB). What is the resulting 5-bit transmitted word?

Parity circuits Medium
A. 11101
B. 01101
C. 011011
D. 111010

28 The 7-bit ASCII code for the character 'C' is 1000011. It is transmitted using an even parity system, with the parity bit added at the MSB position. If the received 8-bit word is 11000111, what should the receiver conclude?

Parity circuits Medium
A. The data is correct.
B. The parity bit was generated incorrectly.
C. A single-bit error is detected.
D. A double-bit error has occurred, which is undetectable.

29 What is the primary function of the totem-pole output stage in a standard 74xx series TTL NAND gate?

Structure and operations of TTL, MOS and CMOS logic families Medium
A. To increase the input impedance.
B. To provide active pull-up and active pull-down for fast switching and high fan-out.
C. To reduce static power consumption to zero.
D. To allow for a wired-AND logic configuration.

30 What is the main reason for the very low static power dissipation in CMOS logic gates?

Structure and operations of TTL, MOS and CMOS logic families Medium
A. A lower operating voltage compared to TTL.
B. The complementary nature of PMOS and NMOS transistors, where one is always OFF in a steady state.
C. A fast switching speed that minimizes transition time.
D. The use of high-resistance polysilicon resistors.

31 What is the key advantage of a Carry Look-Ahead Adder compared to a Ripple-Carry Adder of the same bit-width?

Adders Medium
A. It can also perform subtraction without extra logic.
B. It consumes less power.
C. It eliminates the carry propagation delay, making it significantly faster.
D. It uses fewer logic gates.

32 How can a 16-to-1 multiplexer be implemented using only 4-to-1 multiplexers?

Multiplexers and Demultiplexers Medium
A. One 4-to-1 MUX in the first stage and four 4-to-1 MUXes in the second stage.
B. Four 4-to-1 MUXes in the first stage and one 4-to-1 MUX in the second stage.
C. A single level of four 4-to-1 MUXes.
D. A single level of five 4-to-1 MUXes.

33 How many 2-to-4 decoders with an enable input are required to construct a 4-to-16 decoder?

Decoders Medium
A. 8
B. 5
C. 6
D. 4

34 A logic gate is specified with , , , and . Calculate the low-level noise margin ().

Introduction to Logic Families Medium
A. 0.4 V
B. 2.0 V
C. 1.6 V
D. 1.2 V

35 The logic expression for the Difference output (D) of a full subtractor with inputs X, Y, and Borrow-in () is equivalent to which of the following expressions?

Subtractors Medium
A.
B.
C.
D.

36 What is the primary drawback of a standard binary encoder (like a 8-to-3 encoder) that a priority encoder is designed to solve?

Encoders Medium
A. It produces an ambiguous or incorrect output if more than one input is active at the same time.
B. It can only encode powers of two (e.g., 8 inputs, 16 inputs).
C. It requires a large number of logic gates.
D. It has a high propagation delay.

37 What is the typical state of the output of a standard TTL NAND gate if all its inputs are left unconnected (floating)?

Structure and operations of TTL, MOS and CMOS logic families Medium
A. Logic LOW
B. Logic HIGH
C. High Impedance (Tri-stated)
D. Oscillating

38 What is the state of the output for a standard 7400 series 2-input TTL NAND gate if both of its inputs are left floating (unconnected)?

Structure and operations of TTL, MOS and CMOS logic families Medium
A. Logic HIGH
B. Logic LOW
C. Unpredictable / Oscillating
D. High Impedance

39 As the operating frequency of a CMOS logic circuit is increased, what is the primary effect on its power consumption?

Structure and operations of TTL, MOS and CMOS logic families Medium
A. It increases exponentially.
B. It remains nearly constant.
C. It decreases linearly.
D. It increases proportionally.

40 Which of the following logic families is generally considered to have the best (lowest) power-delay product (PDP), making it highly efficient for modern high-density and battery-powered applications?

Introduction to different logic families Medium
A. TTL (Transistor-Transistor Logic)
B. CMOS (Complementary Metal-Oxide-Semiconductor)
C. DTL (Diode-Transistor Logic)
D. ECL (Emitter-Coupled Logic)

41 A 1-to-4 demultiplexer has a data input D, and select lines S1 (MSB) and S0 (LSB). The outputs are . If the inputs are D=1, S1=1, S0=0, what will be the state of the outputs?

Multiplexers and Demultiplexers Medium
A. , others are 0
B. , others are 0
C. All outputs are 1
D. , others are 0

42 To use a 4-bit magnitude comparator IC (like the 74LS85) to detect if a 4-bit binary input A () is equal to the binary value 1011, how should the B inputs () be connected?

Comparators Medium
A. All B inputs should be connected to (Logic 1).
B. The A and B inputs should be shorted together.
C. All B inputs should be connected to Ground.
D.

43 For an n-bit ripple-carry adder, the total propagation delay is approximately , where is the carry propagation delay of a full adder and is the sum delay. For a 4-bit carry-lookahead adder, the carry outputs are generated by a lookahead-logic block. If the delay through any 2-level AND-OR logic gate is , and the delay for generating Propagate () and Generate () signals is also , what is the approximate delay to compute the final carry-out, ?

Adders Hard
A.
B.
C.
D.

44 When performing subtraction of two 8-bit signed numbers in 2's complement form, , using an adder circuit (i.e., ), which condition reliably detects an overflow?

Subtractors Hard
A. The carry-in to the most significant bit (MSB) full adder is different from the carry-out of the MSB full adder.
B. The most significant bits of A and B are different.
C. The carry-out of the most significant bit (MSB) full adder is 1.
D. The result S has a different sign than A, and the signs of A and B were different.

45 To construct a 24-bit magnitude comparator using only 4-bit magnitude comparator ICs (like the 7485), which have cascading inputs , , and , how should the cascading inputs of the most significant 4-bit block (comparing bits 23-20) be connected?

Comparators Hard
A. , ,
B. , ,
C. The outputs of the next lower significance block (bits 19-16) are connected to these inputs.
D. All cascading inputs should be grounded.

46 How can the Boolean function be implemented using a single 8:1 Multiplexer and no other gates?

Multiplexers and Demultiplexers Hard
A. It is impossible without an external inverter for one of the variables.
B. Use A, B, D as select lines and connect the data inputs to combinations of C and C'.
C. Use B, C, D as select lines and connect the data inputs to combinations of A and A'.
D. Use A, B, C as select lines and connect the data inputs to combinations of D and D'.

47 To build a 5-to-32 decoder using only 3-to-8 decoders with active-high outputs and one active-low enable input (), what is the minimum number of 3-to-8 decoders and additional logic gates required?

Decoders Hard
A. 4 decoders and one NOT gate.
B. 5 decoders and one 2-to-4 decoder.
C. 5 decoders and no additional gates.
D. 4 decoders and no additional gates.

48 Consider a 10-line to 4-line priority encoder for BCD digits (inputs to ). If inputs , , and are all asserted HIGH simultaneously, what will be the 4-bit output (Y3, Y2, Y1, Y0) and the state of the 'Valid Output' (V) signal, assuming highest priority for the highest index?

Encoders Hard
A. Output: 1000, V: 1
B. Output: 0100, V: 0
C. Output: 1111, V: 1 (Error Condition)
D. Output: 0011, V: 1

49 A data packet of 8 bits is protected by a single even parity bit. During transmission, a burst error occurs that flips the bits at positions 2, 3, and 5 (0-indexed). What will the parity checker at the receiver conclude?

Parity circuits Hard
A. The outcome depends on the value of the original data bits.
B. It will detect an error only if the original data had an even number of 1s.
C. It will not detect an error because the number of flipped bits is even.
D. It will detect an error because the number of flipped bits is odd.

50 In a standard 74xx series TTL NAND gate with a totem-pole output, what is the primary purpose of the diode placed between the emitter of the top transistor (Q3) and the output node?

Structure and operations of TTL, MOS and CMOS logic families Hard
A. To prevent both output transistors (Q3 and Q4) from conducting simultaneously by dropping the base voltage of Q3.
B. To provide a discharge path for the load capacitance.
C. To ensure that the bottom transistor (Q4) turns off before the top transistor (Q3) turns on during a LOW-to-HIGH transition.
D. To increase the logic HIGH output voltage () to be closer to .

51 The dynamic power dissipation of a CMOS logic gate is approximately , where is the effective load capacitance, is the supply voltage, and is the switching frequency. If a CMOS-based processor is redesigned to operate at half its original supply voltage () but with its clock frequency increased by 50% (), what is the new dynamic power dissipation () relative to the original ()?

Structure and operations of TTL, MOS and CMOS logic families Hard
A.
B.
C.
D.

52 Latch-up in bulk CMOS integrated circuits is a hazardous condition caused by the creation of a parasitic low-resistance path between the power supply () and Ground (). This phenomenon is typically modeled by the interaction of which parasitic components inherent in the CMOS structure?

Structure and operations of TTL, MOS and CMOS logic families Hard
A. A parasitic JFET formed between the n-well and the p-substrate.
B. Parasitic series inductance and capacitance forming a resonant tank circuit.
C. A parasitic tunnel diode formed at the gate oxide interface.
D. A parasitic SCR (Silicon-Controlled Rectifier) formed by two bipolar transistors.

53 In a BCD (Binary-Coded Decimal) adder, a 4-bit binary adder is used to sum two BCD digits. A correction step is required if the sum is greater than 9. What is the Boolean expression for the condition that requires adding the correction factor 0110 (6)? Let be the sum bits and be the carry-out from the 4-bit binary adder.

Adders Hard
A.
B.
C.
D.

54 A 1-to-4 demultiplexer has its data input DIN connected to a clock signal. The select lines and are connected to the outputs and of a 2-bit binary counter, respectively. Which of the demultiplexer's outputs () will produce a clock signal with a frequency that is 1/4th of the input clock frequency?

Multiplexers and Demultiplexers Hard
A. Only output
B. None of the outputs
C. Only output
D. All outputs ()

55 A 3-to-8 decoder with active-low outputs and an active-high enable (E) is used. The inputs are A, B, C (A is MSB). A static-1 hazard can occur on an output when a single input variable changes, causing a momentary incorrect '1' (HIGH) pulse at an output that should remain at '0' (LOW). Which input transition could cause such a hazard?

Decoders Hard
A. ABC changing from 101 to 111
B. ABC changing from 011 to 100
C. ABC changing from 001 to 011
D. ABC changing from 011 to 111

56 Which logic family is characterized by using non-saturating bipolar junction transistors (BJTs) to achieve very high switching speeds, at the cost of high power dissipation and requiring both positive and negative power supplies?

Introduction to different logic families Hard
A. Transistor-Transistor Logic (TTL)
B. Emitter-Coupled Logic (ECL)
C. Integrated Injection Logic (I2L)
D. Complementary Metal-Oxide-Semiconductor (CMOS)

57 A standard TTL inverter (7404) has the following specifications: , , , . What is the maximum number of standard TTL inverters that one inverter can reliably drive (i.e., its fan-out)?

Structure and operations of TTL, MOS and CMOS logic families Hard
A. 10
B. 25
C. 8
D. 40

58 What is the primary architectural difference between a simple encoder (e.g., 8-to-3) and a priority encoder that allows the latter to handle multiple active inputs correctly?

Encoders Hard
A. A simple encoder has active-low inputs, whereas a priority encoder has active-high inputs.
B. A priority encoder requires a clock signal for synchronization.
C. A priority encoder uses latches on its outputs while a simple encoder does not.
D. A simple encoder uses OR gates for each output, while a priority encoder uses a network of AND-OR logic to disable lower-priority inputs.

59 In a 16-bit adder, which architecture generally provides the best trade-off between propagation delay and circuit complexity/area?

Adders Hard
A. A simple 16-bit Ripple-Carry Adder (RCA).
B. A hybrid approach using four 4-bit CLA blocks and a second-level lookahead logic block for the group carries.
C. A full 16-bit Carry-Lookahead Adder (CLA) with a single lookahead logic block.
D. A hybrid approach using four 4-bit CLA blocks with a ripple-carry connection between them.

60 An NMOS inverter uses a depletion-mode NMOS transistor as a resistive load (pull-up). When the input to the inverter is HIGH (logic '1'), the pull-down enhancement-mode NMOS is ON. What is a significant drawback of this configuration?

Structure and operations of TTL, MOS and CMOS logic families Hard
A. The switching speed from LOW to HIGH is extremely slow compared to the HIGH to LOW transition.
B. It has zero static power dissipation.
C. There is significant static power dissipation when the output is LOW.
D. The output LOW voltage () is exactly 0V, leading to poor noise margin.

61 How can a 74LS153, which is a dual 4-to-1 multiplexer IC with common select lines (A, B) and individual strobe (enable) inputs (, ), be configured to function as a single 8-to-1 multiplexer?

Multiplexers and Demultiplexers Hard
A. Tie both strobe inputs to ground and use an external 2-to-1 MUX to select between the two outputs.
B. Connect the output of the first MUX to one of the inputs of the second MUX.
C. It is not possible as there are only two common select lines.
D. Connect a third select line 'C' to and its inverse, , to . Then OR the two outputs together.

62 What is the primary reason that a floating (unconnected) input to a standard TTL gate behaves as a logic HIGH?

Structure and operations of TTL, MOS and CMOS logic families Hard
A. A floating input draws no current, which is interpreted as a HIGH state.
B. The input transistor's base is pulled to ground through an internal resistor.
C. The internal pull-up resistor connected to the input is strong enough to pull the voltage to Vcc.
D. The base-emitter junction of the input transistor is not forward-biased, causing it to be in cutoff, which is logically equivalent to a HIGH input.