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.
A shift register is primarily used to perform which of the following operations?
Not quite. Try another option.
Answer: Storage and movement of binary data
A shift register is a group of flip-flops used to store binary data and shift it from one position to another on each clock pulse.
Question 2 of 60 · Registers: Operation of all basic Shift Registers · Easy
How many basic types of shift registers are there based on data entry and exit modes?
Not quite. Try another option.
Answer: 4
The four basic types are SISO, SIPO, PISO, and PIPO, based on serial or parallel input and output.
Question 3 of 60 · Registers: Operation of all basic Shift Registers · Easy
In a SISO shift register, data is entered and taken out in which form?
Not quite. Try another option.
Answer: Serial in, serial out
SISO stands for Serial In Serial Out, meaning data is entered one bit at a time and read out one bit at a time.
Question 4 of 60 · Registers: Operation of all basic Shift Registers · Easy
A 4-bit SISO shift register requires how many clock pulses to shift in 4 bits of data?
Not quite. Try another option.
Answer: 4
In a serial-in register, each clock pulse shifts in one bit, so 4 clock pulses are needed to load 4 bits.
Question 5 of 60 · Registers: Operation of all basic Shift Registers · Easy
Which shift register type loads all bits simultaneously and outputs them one bit at a time?
Not quite. Try another option.
Answer: PISO
PISO (Parallel In Serial Out) loads all bits at once in parallel and shifts them out serially.
Question 6 of 60 · Shift Register · Easy
The basic building block of a shift register is a:
Not quite. Try another option.
Answer: Flip-flop
Each stage of a shift register is made of a flip-flop, which stores one bit of data.
Question 7 of 60 · Bidirectional Shift Register · Easy
A bidirectional shift register can shift data in which direction(s)?
Not quite. Try another option.
Answer: Both left and right
A bidirectional shift register can shift data both to the left and to the right depending on a control signal.
Question 8 of 60 · Bidirectional Shift Register · Easy
What controls the direction of shifting in a bidirectional shift register?
Not quite. Try another option.
Answer: A mode/direction control input
A control input selects whether data shifts left or right in a bidirectional shift register.
Question 9 of 60 · Universal Shift Register · Easy
A universal shift register can perform which of the following operations?
Not quite. Try another option.
Answer: Shift left, shift right, and parallel load
A universal shift register supports left shift, right shift, parallel load, and hold operations, making it very flexible.
Question 10 of 60 · Universal Shift Register · Easy
Which component is typically used at the input of each stage of a universal shift register to select the operation?
Not quite. Try another option.
Answer: Multiplexer
Multiplexers at each flip-flop input select among shift left, shift right, parallel load, and hold operations.
Question 11 of 60 · Counters: Design of Asynchronous and Synchronous counters · Easy
In a synchronous counter, all flip-flops are clocked by:
Not quite. Try another option.
Answer: The same clock signal
In a synchronous counter, all flip-flops receive the same common clock pulse simultaneously.
Question 12 of 60 · Counters: Design of Asynchronous and Synchronous counters · Easy
An asynchronous counter is also commonly known as a:
Not quite. Try another option.
Answer: Ripple counter
Asynchronous counters are called ripple counters because the clock ripples through each flip-flop in sequence.
Question 13 of 60 · Counters: Design of Asynchronous and Synchronous counters · Easy
Which counter is generally faster in operation?
Not quite. Try another option.
Answer: Synchronous counter
Synchronous counters are faster because all flip-flops change state at the same time, avoiding cumulative propagation delay.
Question 14 of 60 · Counters: Design of Asynchronous and Synchronous counters · Easy
How many flip-flops are needed to build a MOD-8 counter?
Not quite. Try another option.
Answer: 3
A MOD-8 counter counts 8 states, and since , it requires 3 flip-flops.
Question 15 of 60 · Counters: Design of Asynchronous and Synchronous counters · Easy
The maximum count of an -flip-flop binary counter is:
Not quite. Try another option.
Answer:
An -bit counter has states, counting from 0 to .
Question 16 of 60 · Ring counter and Johnson ring counter · Easy
A ring counter is formed by connecting the output of a shift register back to its:
Not quite. Try another option.
Answer: Input
In a ring counter, the output of the last flip-flop is fed back to the input of the first, forming a ring.
Question 17 of 60 · Ring counter and Johnson ring counter · Easy
A 4-bit ring counter has how many valid states?
Not quite. Try another option.
Answer: 4
A ring counter with flip-flops has exactly valid states, so a 4-bit ring counter has 4 states.
Question 18 of 60 · Ring counter and Johnson ring counter · Easy
A 4-bit Johnson counter (twisted ring counter) has how many valid states?
Not quite. Try another option.
Answer: 8
A Johnson counter with flip-flops has states, so a 4-bit version has 8 states.
Question 19 of 60 · Ring counter and Johnson ring counter · Easy
In a Johnson counter, the feedback to the input comes from the:
Not quite. Try another option.
Answer: Complemented output of the last flip-flop
A Johnson counter feeds back the inverted (complemented) output of the last flip-flop, which is why it is called a twisted ring counter.
Question 20 of 60 · Ring counter and Johnson ring counter · Easy
Which counter provides a decoded output without needing extra decoding logic?
Not quite. Try another option.
Answer: Ring counter
A ring counter produces a single active bit at a time, so its outputs are self-decoding and need no additional decoder.
Question 21 of 60 · Registers: Operation of all basic Shift Registers · Medium
A 4-bit Serial-In Serial-Out (SISO) shift register is loaded with the data 1011 (MSB first). How many clock pulses are required to completely read out all 4 bits serially?
Not quite. Try another option.
Answer: 4
In a SISO register, one bit is shifted out per clock pulse. To read out all bits, exactly clock pulses are needed. For a 4-bit register, that is 4 clock pulses.
Question 22 of 60 · Registers: Operation of all basic Shift Registers · Medium
A Serial-In Parallel-Out (SIPO) shift register receives the serial input sequence 1, 0, 1, 1 on four successive clock pulses. If shifting is left-to-right, what parallel output () appears after the 4th pulse?
Not quite. Try another option.
Answer: 1011
The first bit entered (1) shifts through to the last position, so after 4 pulses the register holds the sequence in order of entry: .
Question 23 of 60 · Registers: Operation of all basic Shift Registers · Medium
How many clock pulses does a 4-bit Parallel-In Serial-Out (PISO) register need to load data and then shift out all bits serially?
Not quite. Try another option.
Answer: 4 (load is asynchronous/parallel, shift needs 4)
Parallel loading places all bits simultaneously (effectively 1 load operation), then 4 clock pulses shift out the 4 bits serially. The dominant count for serial readout is 4 clock pulses.
Question 24 of 60 · Counters: Design of Asynchronous and Synchronous counters · Medium
A ripple (asynchronous) up-counter uses 4 JK flip-flops, each with a propagation delay of . What is the maximum total propagation delay before the counter output is stable?
Not quite. Try another option.
Answer:
In a ripple counter the delays add cumulatively because each flip-flop triggers the next. Total delay = .
Question 25 of 60 · Counters: Design of Asynchronous and Synchronous counters · Medium
What is the key difference between a synchronous and an asynchronous counter?
Not quite. Try another option.
Answer: In a synchronous counter all flip-flops share a common clock; in an asynchronous counter the clock ripples through stages
Synchronous counters clock every flip-flop simultaneously, eliminating cumulative delay. Asynchronous (ripple) counters clock the first stage and pass output to trigger subsequent stages.
Question 26 of 60 · Counters: Design of Asynchronous and Synchronous counters · Medium
A synchronous counter must count in the sequence (mod-10). What is the minimum number of flip-flops required?
Not quite. Try another option.
Answer: 4
To represent 10 distinct states we need , giving (since ). Three flip-flops give only states, which is insufficient.
Question 27 of 60 · Counters: Design of Asynchronous and Synchronous counters · Medium
A mod-6 asynchronous counter is built from a mod-8 (3 flip-flop) counter by resetting at a specific count. At which count should the RESET (via a NAND gate to CLEAR) be triggered?
Not quite. Try another option.
Answer: When the count reaches (110)
A mod-6 counter counts 0 through 5. The moment the count becomes 6 (110), the NAND detects it and asynchronously clears the counter back to 0, so valid states are 0–5.
Question 28 of 60 · Counters: Design of Asynchronous and Synchronous counters · Medium
For a 4-bit synchronous binary up-counter using T flip-flops, what should the T input of the third flip-flop () be?
Not quite. Try another option.
Answer:
In a synchronous binary counter, a flip-flop toggles only when all lower-order bits are 1. So toggles when , giving .
Question 29 of 60 · Ring counter and Johnson ring counter · Medium
A 4-bit ring counter is initialized to 1000. What is the maximum number of unique states (modulus) it cycles through?
Not quite. Try another option.
Answer: 4
A ring counter circulates a single 1 (or a single loaded pattern) around flip-flops, producing exactly unique states. For 4 flip-flops that is 4 states.
Question 30 of 60 · Ring counter and Johnson ring counter · Medium
A 4-bit Johnson (twisted-ring) counter produces how many unique states before repeating?
Not quite. Try another option.
Answer: 8
A Johnson counter feeds the complement of the last output back to the first stage, giving unique states. For flip-flops, that is states.
Question 31 of 60 · Ring counter and Johnson ring counter · Medium
A Johnson counter is initialized to 0000. What is the state sequence for the first three clock pulses?
Not quite. Try another option.
Answer: 1000, 1100, 1110
The complemented output of the last stage feeds the first. Starting from 0000, a 1 enters and fills the register from one end: 1000 → 1100 → 1110, eventually reaching 1111 before emptying.
Question 32 of 60 · Ring counter and Johnson ring counter · Medium
To design a mod-10 (decade) counter using the Johnson counter approach, how many flip-flops are needed?
Not quite. Try another option.
Answer: 5
A Johnson counter gives states. For a mod-10 counter, flip-flops. This is a common efficient decade counter design.
Question 33 of 60 · Ring counter and Johnson ring counter · Medium
Which statement correctly compares a ring counter and a Johnson counter with the same number () of flip-flops?
Not quite. Try another option.
Answer: The Johnson counter gives twice as many states as the ring counter
A ring counter has states while a Johnson counter has states, because Johnson feeds back the complement, doubling the count for the same hardware.
Question 34 of 60 · Shift Register · Medium
A shift register is used as a serial-to-parallel converter. If serial data arrives at into an 8-bit register, how often does a complete parallel byte become available?
Not quite. Try another option.
Answer: Every
At each bit takes . Filling an 8-bit register requires 8 bits, so a parallel word is ready every .
Question 35 of 60 · Shift Register · Medium
Shifting a binary number left by one position in a shift register (with 0 fed in) is equivalent to what arithmetic operation?
Not quite. Try another option.
Answer: Multiplication by 2
Each left shift moves every bit to a higher weight position, doubling the value. Shifting left by one (with a 0 in the LSB) multiplies the number by .
Question 36 of 60 · Shift Register · Medium
A register holds the binary value 0110 (). After a single logical right shift (0 shifted into MSB), what value does it hold?
Not quite. Try another option.
Answer: 0011 ()
A right shift divides an unsigned value by 2 (integer division). 0110 = 6 becomes 0011 = 3, which equals .
Question 37 of 60 · Bidirectional Shift Register · Medium
In a bidirectional shift register, what does the control (mode) input primarily determine?
Not quite. Try another option.
Answer: The direction of the shift (left or right)
A bidirectional shift register uses a mode/direction control line, typically selecting between shift-left and shift-right operation via multiplexers on each flip-flop input.
Question 38 of 60 · Bidirectional Shift Register · Medium
A 4-bit bidirectional shift register holds 1001. With serial input 0 and the direction set to shift-right, what is the register content after one clock pulse?
Not quite. Try another option.
Answer: 0100
Shift-right moves each bit toward the LSB and inserts the serial input (0) at the MSB. 1001 becomes 0100, with the original LSB (1) shifted out.
Question 39 of 60 · Universal Shift Register · Medium
A universal shift register (such as the 74194) typically uses two mode-select lines . Which operation corresponds to ?
Not quite. Try another option.
Answer: Parallel load
In the standard universal shift register: = hold, = shift right, = shift left, and = parallel load. Thus selects parallel loading.
Question 40 of 60 · Universal Shift Register · Medium
Which combination of capabilities makes a shift register 'universal'?
Not quite. Try another option.
Answer: Serial/parallel input and serial/parallel output with shift-left and shift-right
A universal shift register supports all data movement modes: serial and parallel loading, serial and parallel output, plus bidirectional (left and right) shifting selected by mode control lines.
Question 41 of 60 · Counters: Design of Asynchronous and Synchronous counters · Hard
A synchronous mod-6 counter is designed using T flip-flops. During the analysis, the designer finds that the unused states and must not lock the counter into an isolated loop. If the excitation for the MSB is , which additional design property guarantees a self-correcting counter?
Not quite. Try another option.
Answer: Every unused state eventually transitions into the main counting sequence within a finite number of clock pulses
A self-correcting counter ensures that any unused/invalid state (here and ) leads back into the valid counting cycle after a finite number of clocks, preventing a lock-up loop. It need not map directly to .
Question 42 of 60 · Ring counter and Johnson ring counter · Hard
A Johnson counter using flip-flops is used to generate timing signals. To decode any one of its unique states, how many inputs does each decoding AND gate require, and why?
Not quite. Try another option.
Answer: inputs, because each Johnson state is uniquely identified by two adjacent bits
In a Johnson counter, adjacent bit pairs (a or boundary) uniquely define each of the states, so 2-input AND gates suffice for decoding regardless of .
Question 43 of 60 · Registers: Operation of all basic Shift Registers · Hard
A 4-bit SISO shift register is loaded serially with data (first bit entered = 1). After the fourth clock pulse, the register content (from MSB to LSB ) is:
Not quite. Try another option.
Answer:
With serial-in shifting right, the first entered bit ends up in the last position. Entering in order and shifting, the final content (the first bit 1 reaches ).
Question 44 of 60 · Universal Shift Register · Hard
A universal shift register (e.g., 74194) has mode-control inputs . Which combination performs synchronous parallel load of the register?
Not quite. Try another option.
Answer:
In the standard universal shift register, holds, shifts right, shifts left, and performs parallel (broadside) load.
Question 45 of 60 · Counters: Design of Asynchronous and Synchronous counters · Hard
In a 4-bit asynchronous (ripple) up-counter with each flip-flop having propagation delay ns, the maximum worst-case output settling delay after a clock edge is:
Not quite. Try another option.
Answer: ns
In a ripple counter, delays add cumulatively. With 4 flip-flops each contributing ns, the worst case (when all bits toggle, e.g., ) is ns.
Question 46 of 60 · Bidirectional Shift Register · Hard
A 4-bit bidirectional shift register shifts right when control and left when . If it currently holds and with serial left-input , what is the content after one clock?
Not quite. Try another option.
Answer:
Shift left moves each bit toward MSB: , , , and serial input . From : shift into , new , giving .
Question 47 of 60 · Ring counter and Johnson ring counter · Hard
A ring counter and a Johnson counter each use 5 flip-flops. What is the ratio of the number of distinct states (ring : Johnson)?
Not quite. Try another option.
Answer:
A ring counter with FFs has states (); a Johnson counter with FFs has states (). The ratio .
Question 48 of 60 · Counters: Design of Asynchronous and Synchronous counters · Hard
A synchronous counter is to be designed with the irregular sequence using JK flip-flops. How many flip-flops are minimally required?
Not quite. Try another option.
Answer:
The largest state value is , which needs 3 bits (). Hence 3 flip-flops are minimally required to represent all states in the sequence.
Question 49 of 60 · Registers: Operation of all basic Shift Registers · Hard
For an -bit serial-in serial-out shift register operated at clock frequency , the time delay between serial input and serial output is:
Not quite. Try another option.
Answer:
Each bit takes one clock period to move one stage. To traverse all stages, total delay .
Question 50 of 60 · Counters: Design of Asynchronous and Synchronous counters · Hard
In designing a synchronous mod-10 counter, the number of invalid (unused) states that must be considered for the design (using minimum flip-flops) is:
Not quite. Try another option.
Answer:
Mod-10 needs 4 flip-flops giving states. Valid states , so invalid states , which must be treated as don't-cares or handled for self-correction.
Question 51 of 60 · Ring counter and Johnson ring counter · Hard
A 4-bit ring counter is initialized to . Due to a noise glitch, one extra 1 is injected, making the state . What is the resulting behavior of the (non-self-correcting) ring counter?
Not quite. Try another option.
Answer: It circulates the erroneous two-1 pattern indefinitely
A basic ring counter simply recirculates its pattern. An injected error creates a new invalid loop that persists; without self-correcting logic, the two-1 pattern keeps circulating.
Question 52 of 60 · Bidirectional Shift Register · Hard
In a bidirectional shift register built from D flip-flops using 2-to-1 multiplexers at each stage, the total number of multiplexers required for an -bit register (supporting only left/right shift) is:
Not quite. Try another option.
Answer:
Each flip-flop stage requires one 2-to-1 MUX to select between the left-neighbor and right-neighbor input for its D input, giving multiplexers for an -bit register.
Question 53 of 60 · Counters: Design of Asynchronous and Synchronous counters · Hard
A synchronous counter uses the JK excitation , for its MSB. This effectively makes flip-flop behave as:
Not quite. Try another option.
Answer: A T flip-flop that toggles when
When , a JK flip-flop behaves as a T flip-flop with . Here , so toggles only when both and are 1.
Question 54 of 60 · Universal Shift Register · Hard
A universal shift register is used to implement a serial adder by recirculating data. To multiply an unsigned binary number by 2, the register should perform:
Not quite. Try another option.
Answer: A left shift with inserted at the LSB
Shifting left by one position multiplies a binary number by 2, with a entering the LSB (assuming no overflow). Right shifting divides by 2.
Question 55 of 60 · Ring counter and Johnson ring counter · Hard
A self-decoding Johnson counter with 3 flip-flops produces how many uniquely decodable output states, and what is the maximum count frequency benefit over a binary counter of same size regarding decoding glitches?
Not quite. Try another option.
Answer: states, glitch-free 2-input decoding
A 3-FF Johnson counter has states. Because only one bit changes per transition, 2-input AND-gate decoding is glitch-free, unlike binary counters where multiple bits change simultaneously.
Question 56 of 60 · Registers: Operation of all basic Shift Registers · Hard
A PIPO (parallel-in parallel-out) register differs from a PISO register primarily in that PIPO:
Not quite. Try another option.
Answer: Outputs all bits simultaneously without shifting through stages
A PIPO register loads and presents all bits in parallel in a single clock, offering the fastest data transfer. A PISO must shift bits out serially, needing multiple clocks.
Question 57 of 60 · Counters: Design of Asynchronous and Synchronous counters · Hard
Consider a 4-bit synchronous up-counter using T flip-flops. The excitation input for the third flip-flop should be:
Not quite. Try another option.
Answer:
In a synchronous binary counter, each bit toggles when all lower bits are 1. So toggles when , giving .
Question 58 of 60 · Bidirectional Shift Register · Hard
A bidirectional shift register is clocked at MHz. To rotate a 4-bit pattern completely around (end-around) and return to the original state in shift-left mode, the minimum time required is:
Not quite. Try another option.
Answer:
A complete rotation of a 4-bit register requires 4 shift operations (4 clocks). At MHz, each clock is , so total .
Question 59 of 60 · Counters: Design of Asynchronous and Synchronous counters · Hard
For a ripple counter to be converted to a mod-12 counter, a NAND gate resets all flip-flops when the count reaches 12. The NAND gate inputs must be connected to the outputs representing:
Not quite. Try another option.
Answer: and (bits set at count )
Count 12 in binary is , where and . Feeding these two outputs to the NAND gate generates the reset pulse to clear the counter back to zero.
Question 60 of 60 · Universal Shift Register · Hard
Two 4-bit universal shift registers are cascaded to form an 8-bit register. To shift the combined register right, the serial output of the higher-order register must feed:
Not quite. Try another option.
Answer: The serial-right input of the lower-order register
When cascading for right shift, data flows from the high-order register out into the serial input of the next (low-order) register, maintaining the continuous shift path across both.
That's unit 5
Answer a few questions and your score shows up here.
Nearly through. Did unit 5 of ECE213 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 5 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.