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 1 MCQsIntroduction to Digital Systems and HDLs
Question 1 of 60 · Register Transfer Language · Easy
In Register Transfer Language (RTL), what does the statement mean?
Not quite. Try another option.
Answer: Contents of are copied into
The arrow points to the destination register. So means the value of the source is transferred into the destination .
Question 2 of 60 · Register Transfer Language · Easy
Which symbol is used to denote a register transfer operation in RTL?
Not quite. Try another option.
Answer:
The replacement/transfer operator indicates that the contents of the source are moved into the destination register.
Question 3 of 60 · Register Transfer Language · Easy
In the RTL statement , what does represent?
Not quite. Try another option.
Answer: A control condition that must be true
The term before the colon is a control function. The transfer occurs only when the control condition equals 1.
Question 4 of 60 · Bus and Memory Transfer · Easy
What is the main purpose of a common bus in a digital system?
Not quite. Try another option.
Answer: To share a common path for data transfer among registers
A bus is a shared set of lines that allows data to be transferred between multiple registers using one common path, reducing the number of connections.
Question 5 of 60 · Bus and Memory Transfer · Easy
In memory transfer, the statement refers to the memory word selected by which register?
Not quite. Try another option.
Answer: The Address Register (AR)
denotes the memory word located at the address currently held in the Address Register (AR).
Question 6 of 60 · Bus and Memory Transfer · Easy
Which components are commonly used to construct a bus system?
Not quite. Try another option.
Answer: Multiplexers
A bus can be built using multiplexers (or three-state buffers) that select which register's contents are placed on the common lines.
Question 7 of 60 · Shift Registers · Easy
What is the primary function of a shift register?
Not quite. Try another option.
Answer: To shift stored bits left or right
A shift register is made of flip-flops that move (shift) their stored bits one position left or right with each clock pulse.
Question 8 of 60 · Shift Registers · Easy
In a circular (ring) shift, the bit shifted out from one end is:
Not quite. Try another option.
Answer: Fed back into the other end
In a circular shift, no bit is lost; the bit leaving one end re-enters at the opposite end, forming a loop.
Question 9 of 60 · Shift Registers · Easy
Which type of shift register accepts data one bit at a time?
Not quite. Try another option.
Answer: Serial-in shift register
A serial-in shift register loads data one bit per clock pulse, unlike a parallel-in register that loads all bits simultaneously.
In an HDL design flow, which step converts the HDL description into an actual gate-level circuit?
Not quite. Try another option.
Answer: Synthesis
Synthesis transforms the HDL code into a gate-level netlist that can be implemented in hardware.
Question 21 of 60 · Register Transfer Language · Medium
Consider the RTL statement: . Assuming this is executed as a single register transfer controlled by condition , what is the effect?
Not quite. Try another option.
Answer: The contents of and are swapped
When two micro-operations are separated by a comma under the same control condition, they occur simultaneously. Both registers latch the old values at the same clock edge, so the contents are exchanged.
Question 22 of 60 · Register Transfer Language · Medium
In the conditional RTL statement , what does the symbol represent?
Not quite. Try another option.
Answer: A control function that enables the transfer when
The term before the colon is a control function (a Boolean condition). The transfer happens only when this control function equals 1.
Question 23 of 60 · Bus and Memory Transfer · Medium
A common bus is built for 4 registers, each of 8 bits, using multiplexers. How many multiplexers and how many selection lines are required?
Not quite. Try another option.
Answer: 8 multiplexers and 2 selection lines
One multiplexer is needed per bit, so 8 MUXes for 8-bit registers. To select among 4 registers, selection lines are required.
Question 24 of 60 · Bus and Memory Transfer · Medium
The memory read micro-operation is written as . What is the role of in this operation?
Not quite. Try another option.
Answer: It supplies the address of the memory word to be read
(Address Register) provides the memory address. The word at is placed into the destination data register .
Question 25 of 60 · Shift Registers · Medium
A 4-bit register holds the value . After one logical left shift with a 0 inserted, what does it contain?
Not quite. Try another option.
Answer:
A logical left shift moves each bit one position left, discards the MSB, and inserts 0 at the LSB. .
Question 26 of 60 · Shift Registers · Medium
An 8-bit register contains . After an arithmetic right shift by one position, the result is:
Not quite. Try another option.
Answer:
An arithmetic right shift preserves the sign bit (MSB). Since the MSB is 1, it is copied into the vacated position: .
Question 27 of 60 · Shift Registers · Medium
In a circular shift (rotate) left operation on the 4-bit value , what is the result?
Not quite. Try another option.
Answer:
In a circular left shift, the MSB that leaves on the left re-enters at the right (LSB). .
Question 28 of 60 · Micro operations (Arithmetic, logic, shift) · Medium
Which micro-operation is represented by ?
Not quite. Try another option.
Answer: One's complement (bitwise NOT) of
The overbar denotes complement. inverts each bit, which is the one's complement micro-operation.
Question 29 of 60 · Micro operations (Arithmetic, logic, shift) · Medium
To selectively clear the bits in register wherever the corresponding bits in register are 1, which logic micro-operation is used?
Not quite. Try another option.
Answer:
ANDing with the complement of forces bits of to 0 wherever has 1, while leaving other bits unchanged. This is the selective-clear operation.
Question 30 of 60 · Micro operations (Arithmetic, logic, shift) · Medium
The XOR micro-operation is commonly used to perform which selective bit operation?
Not quite. Try another option.
Answer: Selective complement (toggle) of bits in where is 1
XOR with 1 inverts a bit and XOR with 0 leaves it unchanged. So toggles exactly the bits of that correspond to 1s in .
Question 31 of 60 · Addition · Medium
Two 4-bit numbers and are added in a signed system. What is the result and does signed overflow occur?
Not quite. Try another option.
Answer: Result , overflow occurs
. Adding two positives yielded a negative sign bit, so signed overflow has occurred.
Question 32 of 60 · Addition · Medium
In an -bit adder, signed (two's complement) overflow is detected by:
Not quite. Try another option.
Answer: Comparing the carry into the sign bit with the carry out of the sign bit
Signed overflow occurs when the carry into the most significant (sign) bit differs from the carry out of it, i.e. .
Question 33 of 60 · Subtraction · Medium
Using two's complement arithmetic, the subtraction on 4-bit numbers is performed as:
Not quite. Try another option.
Answer: , giving
Subtraction is done by adding the two's complement of the subtrahend. Two's complement of is . ; discarding the carry gives .
Question 34 of 60 · Subtraction · Medium
In a parallel adder-subtractor circuit, subtraction is achieved by XORing with a mode line and setting the initial carry-in . What values of and enable subtraction?
Not quite. Try another option.
Answer: and
With , each bit is complemented (one's complement), and adds one, forming the two's complement of , which yields .
Question 35 of 60 · Booth Multiplication · Medium
In Booth's algorithm, the pair of bits indicates which action before the arithmetic shift?
Not quite. Try another option.
Answer: Subtract the multiplicand ()
In Booth's algorithm, marks the beginning of a string of 1s, so the multiplicand is subtracted from the accumulator before the arithmetic right shift.
Question 36 of 60 · Booth Multiplication · Medium
The main advantage of Booth's multiplication algorithm over simple sequential add-and-shift multiplication is that it:
Not quite. Try another option.
Answer: Directly handles signed (two's complement) numbers and reduces operations for strings of consecutive 1s
Booth's algorithm treats operands as signed two's complement numbers and skips over runs of consecutive 1s (and 0s), reducing the number of add/subtract operations.
Question 37 of 60 · Introduction to HDLs: History, Evolution · Medium
Verilog HDL was originally developed and later standardized by the IEEE. Under which IEEE standard was Verilog first standardized in 1995?
Not quite. Try another option.
Answer: IEEE 1364
Verilog was standardized as IEEE 1364 in 1995. In contrast, IEEE 1076 is the VHDL standard, and IEEE 754 is the floating-point standard.
Question 38 of 60 · Typical HDL-based Design Flow (Design, Simulation, Synthesis, Verification) · Medium
In a typical HDL-based design flow, which step converts the RTL description into a gate-level netlist mapped to a target technology?
Not quite. Try another option.
Answer: Synthesis
Synthesis translates the RTL/behavioral HDL into a technology-mapped gate-level netlist. Simulation and verification check correctness but do not produce the netlist.
Question 39 of 60 · Comparison with Software Programming Languages · Medium
A key conceptual difference between an HDL like Verilog and a software language like C is that HDL constructs primarily:
Not quite. Try another option.
Answer: Describe concurrent hardware behavior that executes in parallel
HDLs model hardware where many elements operate simultaneously, so their constructs are inherently concurrent. Software languages like C are fundamentally sequential.
Question 40 of 60 · Verilog · Medium
In Verilog, which assignment type inside an always block models sequential (flip-flop) behavior by scheduling updates at the end of the time step?
Not quite. Try another option.
Answer: Non-blocking assignment (<=)
Non-blocking assignments (<=) schedule the right-hand side to update at the end of the time step, correctly modeling concurrent register updates in sequential logic.
Question 41 of 60 · Register Transfer Language · Hard
Consider the RTL statement: . If both transfers are triggered by the same control signal on the same clock edge, what is the net effect?
Not quite. Try another option.
Answer: The contents of and are swapped
In RTL, simultaneous transfers use the source values latched at the clock edge before any update. Since both reads happen before the writes, gets old and gets old , achieving a swap without a temporary register.
Question 42 of 60 · Register Transfer Language · Hard
A control function is written as . What is the minimum hardware condition required to clear register ?
Not quite. Try another option.
Answer: Either ( AND ) or ( AND ) must be true
The '+' in RTL control functions denotes logical OR while juxtaposition denotes AND. Thus the clear occurs when either product term or evaluates to 1.
Question 43 of 60 · Bus and Memory Transfer · Hard
A system uses a common bus built from multiplexers to connect 4 registers, each bits wide. How many multiplexers and how many total selection lines are required?
Not quite. Try another option.
Answer: multiplexers and selection lines
Each bit line of the bus needs one MUX, so an 8-bit bus needs 8 MUXes. Selecting one of 4 registers requires selection lines shared across all multiplexers.
Question 44 of 60 · Bus and Memory Transfer · Hard
Given the memory transfer , which sequence of internal actions correctly represents this write operation?
Not quite. Try another option.
Answer: Place on address bus, on data bus, then assert Write
A memory write requires the address register to drive the address bus, the source data to drive the data bus, and the Write control signal to be asserted so memory stores the data at that address.
Question 45 of 60 · Shift Registers · Hard
A 4-bit register holds . It is configured as a circular shift-right register. After 6 circular right shifts, what does the register contain?
Not quite. Try another option.
Answer:
For a 4-bit circular register, shifting is periodic with period 4, so 6 shifts equals 2 net shifts. Circular right-shifting once gives , and a second gives .
Question 46 of 60 · Shift Registers · Hard
A bidirectional shift register with parallel load requires selecting among 4 operations (no change, shift right, shift left, parallel load). What size multiplexer per flip-flop and how many mode-control lines are needed?
Not quite. Try another option.
Answer: MUX with mode-control lines
Four operations require a multiplexer feeding each flip-flop's input, and selecting one of four inputs needs mode-control lines.
Question 47 of 60 · Shift Registers · Hard
A linear feedback shift register (LFSR) of length using an XOR feedback tap that produces a maximal-length sequence cycles through how many distinct states?
Not quite. Try another option.
Answer: states
A maximal-length LFSR cycles through all non-zero states. The all-zero state is excluded because it is a lock-up state for XOR feedback, giving states.
Question 48 of 60 · Micro operations (Arithmetic, logic, shift) · Hard
In an arithmetic circuit, the input to the adder is controlled so that becomes and the input carry . If , which micro-operation is realized?
Not quite. Try another option.
Answer: (subtraction via 2's complement)
Adding the 1's complement plus 1 forms the 2's complement of , so . This is the standard subtraction micro-operation.
Question 49 of 60 · Micro operations (Arithmetic, logic, shift) · Hard
A selective-complement micro-operation is defined as . If and , what is the result, and which bits of get toggled?
Not quite. Try another option.
Answer: Result ; bits where are toggled
XOR with selectively complements those bit positions of where has a 1. , toggling the two positions where .
Question 50 of 60 · Micro operations (Arithmetic, logic, shift) · Hard
For an 8-bit register holding interpreted as a signed 2's complement number, what value results from one arithmetic shift right, and is the sign preserved?
Not quite. Try another option.
Answer: ; sign bit is preserved (still negative)
An arithmetic shift right replicates the sign bit into the MSB. Shifting right yields , keeping the leftmost bit as 1 so the number remains negative (effectively dividing by 2).
Question 51 of 60 · Addition · Hard
In a 4-bit ripple-carry adder, if each full adder has a propagation delay of ns for sum and ns for carry, what is the worst-case delay for the most significant sum bit to become valid?
Not quite. Try another option.
Answer: ns
The carry must ripple through the first three stages ( ns) before the fourth stage can compute its sum ( ns), giving ns worst case.
Question 52 of 60 · Addition · Hard
Two signed 4-bit 2's complement numbers and are added. What is the result and does overflow occur?
, but 4-bit signed range is to . The sum represents , and since two positive operands produced a negative result, signed overflow has occurred.
Question 53 of 60 · Subtraction · Hard
Perform where and using 2's complement subtraction in 4 bits. What is the result and what does the carry-out indicate?
Not quite. Try another option.
Answer: ; no end carry indicates the result is negative
with no end carry. In signed subtraction, absence of end carry signals a negative result; , matching .
Question 54 of 60 · Subtraction · Hard
In an unsigned subtraction using 2's complement, the presence of an end-carry (carry-out of 1) means what about the relationship between and ?
Not quite. Try another option.
Answer: , and the result is the correct positive difference
For unsigned 2's complement subtraction, an end-carry of 1 indicates so the difference is non-negative and directly correct. No end-carry means , requiring re-complementing with a sign.
Question 55 of 60 · Booth Multiplication · Hard
Using Booth's algorithm to multiply multiplier , how many arithmetic operations (additions or subtractions of the multiplicand) are performed?
Not quite. Try another option.
Answer: operations (one subtract, one add)
Booth examines bit pairs (including an implicit ): gives transitions . The pair triggers a subtract and the pair triggers an add; the run of identical bits only shifts, giving 2 operations.
Question 56 of 60 · Booth Multiplication · Hard
Booth's algorithm inspects the bit pair at each step. Which pair value causes the partial product accumulator to have the multiplicand added to it?
Not quite. Try another option.
Answer:
In Booth's algorithm a transition marks the end of a string of 1s, so the multiplicand is added. A marks the start and triggers subtraction; and perform only an arithmetic shift.
Question 57 of 60 · Booth Multiplication · Hard
A key advantage of Booth's algorithm over standard sequential multiplication is that it:
Not quite. Try another option.
Answer: Handles signed 2's complement operands directly and skips runs of identical bits
Booth's algorithm operates on 2's complement numbers without special sign handling and treats runs of consecutive identical bits with only shifts, reducing the number of add/subtract operations for such patterns.
Question 58 of 60 · Introduction to HDLs: History, Evolution, Typical HDL-based Design Flow (Design, Simulation, Synthesis, Verification) · Hard
In a typical HDL-based design flow, which stage transforms behavioral/RTL descriptions into an optimized gate-level netlist mapped to a target technology library?
Not quite. Try another option.
Answer: Synthesis
Synthesis converts the RTL description into a gate-level netlist optimized for area, timing, and power, mapping logic onto cells from the target technology library. Simulation and verification only validate behavior; they do not produce netlists.
Question 59 of 60 · Introduction to HDLs: History, Evolution, Typical HDL-based Design Flow (Design, Simulation, Synthesis, Verification) · Hard
During functional simulation before synthesis, a design behaves correctly, but after synthesis the gate-level simulation shows glitches and timing failures. The most likely cause is:
Not quite. Try another option.
Answer: Use of non-synthesizable constructs or missing timing constraints not captured by pre-synthesis simulation
Pre-synthesis (functional) simulation ignores real gate delays and may pass even when code uses constructs that synthesize differently or lack timing constraints. Post-synthesis simulation reveals real delays, exposing glitches and timing violations.
Question 60 of 60 · Comparison with Software Programming Languages · Hard
Consider the Verilog fragment inside an always block: a = b; c = a; versus a <= b; c <= a;. Assuming a, b, c are registers and this is the only block driving them, what is the key difference in outcome?
Not quite. Try another option.
Answer: Blocking assigns update sequentially so gets new ; non-blocking schedule updates so gets old
Blocking (=) executes in order like software statements, so becomes then becomes the new (=). Non-blocking (<=) samples RHS values first then updates together, so receives the old value of . This models concurrent hardware.
That's unit 1
Answer a few questions and your score shows up here.
Nearly through. Did unit 1 of CSE211 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 1 of CSE211 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.