Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
You're offline
Unit 3 MCQsIntroduction to Combinational Logic Circuits and Logic Families
A half adder adds two single-bit inputs ( and ) and produces a Sum and a Carry output.
Question 2 of 60 · Adders · Easy
The Sum output of a half adder is generated using which logic gate?
Not quite. Try another option.
Answer: XOR gate
In a half adder, Sum (XOR) and Carry (AND).
Question 3 of 60 · Adders · Easy
A full adder adds how many input bits together?
Not quite. Try another option.
Answer: Three bits
A full adder adds three bits: , , and a carry-in (), producing Sum and Carry-out.
Question 4 of 60 · Subtractors · Easy
The difference output of a half subtractor is produced by which gate?
Not quite. Try another option.
Answer: XOR gate
In a half subtractor, Difference and Borrow .
Question 5 of 60 · Subtractors · Easy
In a half subtractor, the borrow output is generated when:
Not quite. Try another option.
Answer: and
A borrow is needed when subtracting a larger bit from a smaller one, i.e. Borrow , which is 1 when .
Question 6 of 60 · Comparators · Easy
A digital comparator is used to:
Not quite. Try another option.
Answer: Compare two binary numbers
A comparator compares two binary numbers and indicates whether they are equal, or one is greater or less than the other.
Question 7 of 60 · Comparators · Easy
How many output conditions does a magnitude comparator typically produce?
Not quite. Try another option.
Answer: Three (, , )
A magnitude comparator produces three outputs indicating , , and .
Question 8 of 60 · Multiplexers and Demultiplexers · Easy
A multiplexer (MUX) performs which function?
Not quite. Try another option.
Answer: Selects one of many inputs to a single output
A multiplexer is a data selector that routes one of several input lines to a single output based on select lines.
Question 9 of 60 · Multiplexers and Demultiplexers · Easy
How many select lines are required for an multiplexer?
Not quite. Try another option.
Answer: 3
For inputs, select lines are needed. Since , an MUX needs 3 select lines.
Question 10 of 60 · Multiplexers and Demultiplexers · Easy
A demultiplexer (DEMUX) performs which function?
Not quite. Try another option.
Answer: Routes one input to one of many outputs
A demultiplexer takes a single input and directs it to one of several output lines based on select lines. It is the reverse of a multiplexer.
Question 11 of 60 · Decoders · Easy
A -to- line decoder has how many output lines?
Not quite. Try another option.
Answer: 8
A decoder with inputs has outputs. For , there are outputs.
Question 12 of 60 · Decoders · Easy
The main function of a decoder is to:
Not quite. Try another option.
Answer: Convert coded input into a unique output
A decoder converts an -bit binary code into one active output line among possible outputs.
Question 13 of 60 · Encoders · Easy
An encoder performs the opposite operation of which circuit?
Not quite. Try another option.
Answer: Decoder
An encoder converts input lines into an -bit code, which is the reverse of a decoder's operation.
Question 14 of 60 · Encoders · Easy
How many input lines does an -to- encoder have?
Not quite. Try another option.
Answer: 8
An -to- encoder accepts 8 input lines and produces a 3-bit binary output code.
Question 15 of 60 · Parity circuits · Easy
A parity bit is added to data primarily for:
Not quite. Try another option.
Answer: Error detection
A parity bit is an extra bit added to detect single-bit errors during data transmission.
Question 16 of 60 · Parity circuits · Easy
Which gate is commonly used to generate a parity bit?
Not quite. Try another option.
Answer: XOR gate
XOR gates are used in parity generators because their output reflects whether the number of 1s is odd or even.
Question 17 of 60 · Introduction to different logic families · Easy
Which of the following is a bipolar logic family?
Not quite. Try another option.
Answer: TTL
TTL (Transistor-Transistor Logic) is a bipolar family using BJTs, while CMOS, NMOS, and PMOS are MOS-based families.
Question 18 of 60 · Structure and operations of TTL, MOS and CMOS logic families · Easy
CMOS logic uses which type of transistors?
Not quite. Try another option.
Answer: Both NMOS and PMOS
CMOS (Complementary MOS) uses both NMOS and PMOS transistors together, giving very low static power consumption.
Question 19 of 60 · Structure and operations of TTL, MOS and CMOS logic families · Easy
Which logic family is known for the lowest static power consumption?
Not quite. Try another option.
Answer: CMOS
CMOS draws negligible current in a steady state, giving it the lowest static power consumption among common logic families.
Question 20 of 60 · Structure and operations of TTL, MOS and CMOS logic families · Easy
The basic building block of TTL logic is the:
Not quite. Try another option.
Answer: Bipolar junction transistor (BJT)
TTL circuits are built using bipolar junction transistors (BJTs), often with multi-emitter input transistors.
Question 21 of 60 · Adders · Medium
A full adder adds three input bits , , and . What is the sum and carry-out when , , and ?
Not quite. Try another option.
Answer: Sum , Carry
Adding in binary is . Therefore Sum and Carry-out .
Question 22 of 60 · Adders · Medium
To construct a 4-bit ripple carry adder, how many full adders are required?
Not quite. Try another option.
Answer:
Each bit position requires one full adder, so a 4-bit adder needs full adders connected in cascade.
Question 23 of 60 · Adders · Medium
The main disadvantage of a ripple carry adder compared to a carry look-ahead adder is:
Not quite. Try another option.
Answer: Higher propagation delay
In a ripple carry adder, each carry must propagate through all preceding stages, causing cumulative delay that grows with the number of bits.
Question 24 of 60 · Subtractors · Medium
In a full subtractor computing , what are the Difference and Borrow when , , and ?
Not quite. Try another option.
Answer: Difference , Borrow
Computing requires a borrow, giving Difference and Borrow-out .
Question 25 of 60 · Subtractors · Medium
A full adder can be converted into a full subtractor (using 2's complement) by:
Not quite. Try another option.
Answer: Inverting the subtrahend bits and setting
Subtraction in 2's complement equals , so the subtrahend is inverted and the initial carry is set to .
Question 26 of 60 · Comparators · Medium
A 1-bit magnitude comparator outputs , , and . What is the logic expression for the output?
Not quite. Try another option.
Answer:
Equality occurs when both bits match, which is the XNOR function .
Question 27 of 60 · Comparators · Medium
For two 4-bit numbers, how many comparison outputs (, , ) does a standard magnitude comparator produce?
Not quite. Try another option.
Answer:
A magnitude comparator produces exactly three mutually exclusive outputs: greater than, equal to, and less than.
Question 28 of 60 · Comparators · Medium
When comparing two 4-bit numbers and , which output of the comparator is high?
Not quite. Try another option.
Answer:
and . Since , the output is high.
Question 29 of 60 · Multiplexers and Demultiplexers · Medium
How many select lines are required for a 16-to-1 multiplexer?
Not quite. Try another option.
Answer:
A -to-1 multiplexer needs select lines. For 16 inputs, , so select lines are required.
Question 30 of 60 · Multiplexers and Demultiplexers · Medium
A demultiplexer with 3 select lines can route a single input to how many output lines?
Not quite. Try another option.
Answer:
A demultiplexer with select lines has outputs. With select lines, outputs are available.
Question 31 of 60 · Multiplexers and Demultiplexers · Medium
To implement a Boolean function of 3 variables using a single multiplexer with the variables on the select lines, what size multiplexer is needed?
Not quite. Try another option.
Answer: -to-1
With 3 variables driving the select lines, data inputs are needed, requiring an -to-1 multiplexer.
Question 32 of 60 · Decoders · Medium
A 3-to-8 line decoder activates how many output lines at a time for a given valid input?
Not quite. Try another option.
Answer:
A decoder activates exactly one output line corresponding to the applied binary input combination.
Question 33 of 60 · Decoders · Medium
How many 2-to-4 decoders (with enable) are needed to build a 4-to-16 decoder?
Not quite. Try another option.
Answer:
Four 2-to-4 decoders generate the 16 outputs, and one additional 2-to-4 decoder acts as the enable selector, giving total.
Question 34 of 60 · Decoders · Medium
A BCD-to-7-segment decoder is primarily used to:
Not quite. Try another option.
Answer: Drive display segments for decimal digits
A BCD-to-7-segment decoder converts a 4-bit BCD input into signals that illuminate the correct segments of a seven-segment display.
Question 35 of 60 · Encoders · Medium
In a priority encoder, when multiple inputs are active simultaneously, the output corresponds to:
Not quite. Try another option.
Answer: The highest-priority active input
A priority encoder resolves multiple simultaneous active inputs by encoding only the input with the highest assigned priority.
Question 36 of 60 · Encoders · Medium
An octal-to-binary (8-to-3) encoder has how many output lines?
Not quite. Try another option.
Answer:
An -input encoder produces a binary code with output lines, since .
Question 37 of 60 · Parity circuits · Medium
For the 7-bit data word , what even parity bit should be appended?
Not quite. Try another option.
Answer:
The data has four 1's (an even count). For even parity the total number of 1's must stay even, so the parity bit is .
Question 38 of 60 · Parity circuits · Medium
Which gate is fundamental to building parity generator and checker circuits?
Not quite. Try another option.
Answer: XOR gate
XOR gates output the parity (odd count of 1's) of their inputs, making them the basic building block of parity circuits.
Question 39 of 60 · Structure and operations of TTL, MOS and CMOS logic families · Medium
Which characteristic best describes CMOS logic compared to TTL?
Not quite. Try another option.
Answer: Very low static power consumption
CMOS draws negligible static current because one transistor in each complementary pair is always off, giving very low standby power.
Question 40 of 60 · Structure and operations of TTL, MOS and CMOS logic families · Medium
A standard TTL NAND gate uses which device at its input stage?
Not quite. Try another option.
Answer: A multi-emitter bipolar transistor
Standard TTL gates use a multi-emitter bipolar junction transistor at the input to perform the logic AND function of the inputs.
Question 41 of 60 · Adders · Hard
A ripple-carry adder is built from full adders each having a propagation delay of for both sum and carry outputs. For an -bit adder, the worst-case time to produce a valid final sum is best approximated by:
Not quite. Try another option.
Answer:
The carry must ripple through stages ( for the last carry-in), but the final sum bit needs one more after its carry-in arrives. The carry chain contributes to reach the last stage's carry-in plus for its sum, giving in the worst case.
Question 42 of 60 · Adders · Hard
In a carry-lookahead adder, the block generate and block propagate for two bits are defined using and . The group carry-out (with carry-in ) equals:
Not quite. Try another option.
Answer:
A carry emerges from stage 1 if it is generated there (), or generated at stage 0 and propagated through stage 1 (), or the input carry is propagated through both stages ().
Question 43 of 60 · Subtractors · Hard
A 4-bit adder/subtractor uses XOR gates and a mode line ( for subtraction) feeding . When computing in 2's complement, an overflow for signed numbers is detected by:
Not quite. Try another option.
Answer:
Signed overflow occurs when the carry into the MSB () differs from the carry out of the MSB (). Thus overflow , independent of whether the operation is add or subtract.
Question 44 of 60 · Subtractors · Hard
Using 2's complement in a 4-bit subtractor to compute (unsigned inputs), the result bits and the borrow/carry-out are:
Not quite. Try another option.
Answer: Result , carry-out (borrow occurred)
with carry-out . In 2's complement subtraction, carry-out signals a borrow, meaning (), consistent with the true result .
Question 45 of 60 · Comparators · Hard
For a 1-bit magnitude comparator with inputs and , the output is and is . When cascading to compare multi-bit numbers, the overall output for two bits ( vs ) is:
Not quite. Try another option.
Answer:
when the MSBs already decide it (), or the MSBs are equal (, XNOR) and the LSB comparison gives ().
Question 46 of 60 · Comparators · Hard
An IC 7485 4-bit comparator has cascading inputs. To correctly cascade multiple 7485s, the cascading inputs of the least-significant stage must be set to:
Not quite. Try another option.
Answer: respectively
The least-significant stage must assume equality before it examines its own bits, so its cascade inputs are set , , . This lets the equality propagate correctly up the chain.
Question 47 of 60 · Multiplexers and Demultiplexers · Hard
A function is implemented using an 8:1 MUX with as select lines. If , the data inputs through must be:
Not quite. Try another option.
Answer: , rest
With all three variables as select lines, each minterm maps directly to one data input. The minterms present in (0,2,5,7) get logic 1; all others get logic 0.
Question 48 of 60 · Multiplexers and Demultiplexers · Hard
To realize using an 8:1 MUX with as selects and available, the input (select , i.e., ) should be connected to:
Not quite. Try another option.
Answer:
Select corresponds to minterms 4 () and 5 (). Here is present but is not, so the output equals ... rechecking: present, absent means . Wait—minterm 4 has giving correct, minterm 5 () absent giving correct, so . The intended standard mapping for present-at- cases yields ; with only present the value tracks . Choose based on which minterm ( or ) is present: since only is present, connect .
Question 49 of 60 · Multiplexers and Demultiplexers · Hard
A demultiplexer is built by cascading two demultiplexers. The minimum number of additional select and enable connections required is best described as:
Not quite. Try another option.
Answer: One extra select bit driving the two enables (via true/complement)
A 1:16 DEMUX needs 4 select bits; two 1:8 units already use 3 shared selects. The 4th select bit (and its complement) enables one 1:8 block at a time, routing the input to the correct half.
Question 50 of 60 · Decoders · Hard
An active-low output decoder with an active-high enable is used to implement . Since outputs are active-low, the correct gate to combine the relevant decoder outputs is:
Not quite. Try another option.
Answer: A NAND gate over outputs
For active-low outputs, the selected minterm line goes low. NANDing the three relevant active-low lines produces a high output whenever any one of them is asserted (low), correctly realizing the sum of minterms.
Question 51 of 60 · Decoders · Hard
A BCD-to-7-segment decoder receives an invalid input (decimal 10). In a typical non-ripple-blanking decoder without explicit handling of invalid codes, the segment outputs are:
Not quite. Try another option.
Answer: Undefined/don't-care unless the design specifies otherwise
BCD codes 1010–1111 are invalid and normally treated as don't-cares during K-map minimization. The resulting outputs depend on how the designer assigned those don't-cares, so behavior is not guaranteed unless explicitly defined.
Question 52 of 60 · Encoders · Hard
In an 8-to-3 priority encoder, inputs are active with and all others 0. Assuming highest-index priority, the 3-bit output and valid bit are:
Not quite. Try another option.
Answer: , valid
A priority encoder outputs the binary code of the highest-index active input. Among , the highest is , giving output and asserting the valid (group-signal) output.
Question 53 of 60 · Encoders · Hard
Why is a plain (non-priority) -to- encoder unsuitable when two or more inputs may be active simultaneously?
Not quite. Try another option.
Answer: It produces an output that is the OR of the individual codes, which is generally incorrect
A simple encoder ORs together the codes of active inputs. With multiple active lines the result is a bitwise OR of their binary codes, which usually does not correspond to any single valid input, so a priority scheme is required.
Question 54 of 60 · Parity circuits · Hard
A 4-bit word is transmitted with an even parity bit . During transmission and both flip. At the receiver, the parity check will:
Not quite. Try another option.
Answer: Pass (no error detected) because two bits flipped
Single parity detects only an odd number of bit errors. Two simultaneous flips keep the total parity unchanged, so the check passes and the double error goes undetected.
Question 55 of 60 · Parity circuits · Hard
A parity generator/checker for a 9-bit code (8 data + 1 parity) is built from a tree of 2-input XOR gates. The minimum number of gate delays (tree depth) to compute the parity of 8 data bits is:
Not quite. Try another option.
Answer:
XORing 8 bits in a balanced binary tree needs levels of 2-input XOR gates, giving a propagation depth of 3 gate delays rather than the 7 delays of a linear chain.
Question 56 of 60 · Introduction to different logic families · Hard
Two logic families are compared: Family X has and ; Family Y has and . Comparing their speed-power products:
Not quite. Try another option.
Answer: Both have equal speed-power product of
Speed-power product . Family X: ; Family Y: . They are equal, illustrating the classic speed-vs-power trade-off.
Question 57 of 60 · Introduction to different logic families · Hard
For a logic family, , , , . The high-state and low-state noise margins are:
Not quite. Try another option.
Answer: ,
and .
Question 58 of 60 · Structure and operations of TTL, MOS and CMOS logic families · Hard
In a standard TTL NAND gate, the totem-pole output stage includes a diode between the pull-up transistor's emitter and the pull-down transistor's collector. Its primary purpose is to:
Not quite. Try another option.
Answer: Ensure the upper transistor is off when the output is low, preventing conduction overlap
The diode raises the required voltage to turn on the upper (pull-up) transistor, guaranteeing it stays off when the output is pulled low. This avoids both output transistors conducting simultaneously, which would cause large current spikes.
Question 59 of 60 · Structure and operations of TTL, MOS and CMOS logic families · Hard
A CMOS inverter driving a capacitive load at switches at . Its dynamic power dissipation is approximately:
Not quite. Try another option.
Answer:
Dynamic power .
Question 60 of 60 · Structure and operations of TTL, MOS and CMOS logic families · Hard
A designer connects an unused input of a CMOS NAND gate by leaving it floating. The most likely consequence is:
Not quite. Try another option.
Answer: Erratic output and increased power due to the input drifting near the switching threshold
CMOS inputs have extremely high impedance, so a floating input can drift to the mid-supply region where both transistors conduct. This causes unpredictable switching and elevated static current, so unused inputs must be tied to or ground.
That's unit 3
Answer a few questions and your score shows up here.
Nearly through. Did unit 3 of ECE213 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 3 of ECE213 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.