Unit 5 - Practice Quiz

ECE213 77 Questions
0 Correct 0 Wrong 77 Left
0/77

1 What is the primary function of a shift register in a digital circuit?

Shift Register Easy
A. To amplify the voltage of a digital signal.
B. To store and transfer binary data bit by bit.
C. To perform arithmetic calculations like addition and subtraction.
D. To convert analog signals to digital signals.

2 What is another common name for an asynchronous counter?

Counters: Design of Asynchronous and Synchronous counters Easy
A. Ripple Counter
B. Ring Counter
C. Decade Counter
D. Johnson Counter

3 What is the key difference between a synchronous counter and an asynchronous counter?

Counters: Design of Asynchronous and Synchronous counters Easy
A. The maximum count value.
B. The number of flip-flops used.
C. The type of flip-flops used (e.g., JK vs. D).
D. The method of clocking the flip-flops.

4 A standard 4-bit ring counter has how many distinct states?

Ring counter and Johnson ring counter Easy
A. 4
B. 16
C. 2
D. 8

5 What is another name for a Johnson counter?

Ring counter and Johnson ring counter Easy
A. Decade Counter
B. Up-Down Counter
C. Twisted-ring Counter
D. Ripple Counter

6 What is the main feature of a bidirectional shift register?

Bidirectional Shift Register Easy
A. It can shift data either to the left or to the right.
B. It can count in both ascending and descending order.
C. It can only load data in parallel.
D. It can only store 1 bit of data.

7 A Universal Shift Register is called "universal" because it can:

Universal Shift Register Easy
A. Store an unlimited amount of data.
B. Operate at any voltage level.
C. Perform multiple functions like shift left, shift right, and parallel load.
D. Be used in any type of digital device.

8 A shift register that loads all data bits at once and shifts them out one bit at a time is called:

Shift Register Easy
A. PISO (Parallel-In, Serial-Out)
B. SIPO (Serial-In, Parallel-Out)
C. SISO (Serial-In, Serial-Out)
D. PIPO (Parallel-In, Parallel-Out)

9 What is the primary advantage of a synchronous counter over an asynchronous counter?

Counters: Design of Asynchronous and Synchronous counters Easy
A. It is much simpler to design.
B. It uses fewer flip-flops.
C. It consumes less power.
D. It is faster and avoids cumulative propagation delays.

10 How many states does an N-bit Johnson counter have?

Ring counter and Johnson ring counter Easy
A.
B. N/2
C. N
D. 2N

11 What is the fundamental building block of any shift register?

Shift Register Easy
A. A Flip-Flop
B. An AND gate
C. A Capacitor
D. A Transistor

12 How many flip-flops are needed to build a binary counter that counts from 0 to 15?

Counters: Design of Asynchronous and Synchronous counters Easy
A. 8
B. 4
C. 16
D. 2

13 A digital circuit that counts from 0 to 9 is commonly known as a:

Counters: Design of Asynchronous and Synchronous counters Easy
A. MOD-9 Counter
B. MOD-8 Counter
C. Hexadecimal Counter (MOD-16)
D. Decade Counter (MOD-10)

14 How is data loaded into a Serial-In, Parallel-Out (SIPO) register?

Shift Register Easy
A. Data is loaded through multiple input lines.
B. All bits are loaded simultaneously.
C. Data cannot be loaded, only read.
D. One bit is loaded per clock pulse.

15 What kind of input signal is required to determine the direction of shift in a bidirectional shift register?

Bidirectional Shift Register Easy
A. A mode or direction control signal
B. A reset signal
C. A data input signal
D. A clock signal

16 The operation of a universal shift register is controlled by:

Universal Shift Register Easy
A. The voltage of the power supply.
B. The number of flip-flops.
C. The frequency of the clock.
D. Mode select lines.

17 A ring counter is a specific application of which fundamental digital circuit?

Ring counter and Johnson ring counter Easy
A. A shift register
B. A multiplexer
C. A full adder
D. A decoder

18 Which of the following describes the clocking of a synchronous counter?

Counters: Design of Asynchronous and Synchronous counters Easy
A. The flip-flops are clocked by a variable frequency oscillator.
B. Only the first flip-flop is clocked.
C. Each flip-flop is clocked by the output of the previous one.
D. All flip-flops are clocked simultaneously by a common clock source.

19 A major disadvantage of ripple (asynchronous) counters is the:

Counters: Design of Asynchronous and Synchronous counters Easy
A. High power consumption compared to synchronous counters.
B. Extremely complex circuit design.
C. Inability to count beyond a certain number.
D. Propagation delay that can cause timing errors.

20 A 4-bit PIPO (Parallel-In, Parallel-Out) register requires how many clock pulses to load a 4-bit number?

Shift Register Easy
A. 4
B. 0
C. 8
D. 1

21 A 4-bit synchronous binary UP counter is designed using T flip-flops. What are the logic expressions for the inputs , , , and ? (Assume is the MSB).

Counters: Design of Asynchronous and Synchronous counters Medium
A.
B.
C.
D.

22 An asynchronous 5-bit binary ripple counter is built using flip-flops, each having a propagation delay () of 15 ns. What is the maximum operating frequency for this counter before it becomes unreliable?

Counters: Design of Asynchronous and Synchronous counters Medium
A. 75.00 MHz
B. 66.67 MHz
C. 333.33 MHz
D. 13.33 MHz

23 A 4-bit Johnson counter is initialized to the state 0000. What is the binary sequence of the counter after the 6th clock pulse?

Ring counter and Johnson ring counter Medium
A. 0011
B. 1100
C. 0111
D. 1111

24 A 4-bit Universal Shift Register has mode control inputs S1 and S0. If S1=1 and S0=1, the register performs a parallel load. If S1=0 and S0=1, it performs a shift-right. If the register currently holds 1010 and the parallel inputs are 1100, what will be the content of the register after one clock pulse if S1=0 and S0=1?

Universal Shift Register Medium
A. 1100
B. 0110 (assuming serial input is 0)
C. 1010
D. 0101 (assuming serial input is 0)

25 What is the primary advantage of using a Johnson counter over a standard Ring counter with the same number of flip-flops (N)?

Ring counter and Johnson ring counter Medium
A. It requires simpler reset circuitry.
B. It provides twice the number of states (2N vs. N).
C. It operates at a higher frequency.
D. It consumes less power.

26 A MOD-10 (decade) counter is designed using a 4-bit asynchronous up-counter with an active-LOW asynchronous clear input. A NAND gate is used to reset the counter. The inputs to this NAND gate should be connected to which flip-flop outputs?

Counters: Design of Asynchronous and Synchronous counters Medium
A. and
B. and
C. and
D. and

27 A 4-bit bidirectional shift register contains the data 1101. A 'left shift' operation is performed, with the serial input being 0. What is the new content of the register?

Bidirectional Shift Register Medium
A. 0111
B. 0110
C. 1011
D. 1010

28 A 4-bit Parallel-In Serial-Out (PISO) shift register is loaded with the data 1011. How many clock pulses are required before the last loaded bit (the MSB 1) appears at the serial output?

Shift Register Medium
A. 1 clock pulse
B. 4 clock pulses
C. 3 clock pulses
D. 0 clock pulses

29 In an asynchronous (ripple) counter, decoding glitches are caused by...

Counters: Design of Asynchronous and Synchronous counters Medium
A. the cumulative propagation delay of the flip-flops, causing temporary invalid output states.
B. the use of JK flip-flops instead of D flip-flops.
C. the clock signal not being powerful enough to drive all flip-flops.
D. race conditions within the synchronous logic gates.

30 A 5-bit Serial-In Parallel-Out (SIPO) shift register is initially cleared. The serial data 10110 is shifted in, one bit per clock pulse (MSB first). What is the parallel output of the register after 4 clock pulses?

Shift Register Medium
A. 1011
B. 1011
C. 0110
D. 1101

31 How many flip-flops are required to construct a Johnson counter that has 12 unique states?

Ring counter and Johnson ring counter Medium
A. 6
B. 5
C. 4
D. 12

32 To use a Universal Shift Register to perform a Serial-In, Serial-Out (SISO) operation, which two modes must be used in sequence?

Universal Shift Register Medium
A. A series of shift-right (or shift-left) operations followed by reading the last flip-flop's output.
B. Parallel load followed by a series of shift-right operations.
C. Parallel load followed by a hold operation.
D. Hold operation followed by a series of shift-left operations.

33 A key difference between a synchronous and an asynchronous counter is that in a synchronous counter...

Counters: Design of Asynchronous and Synchronous counters Medium
A. the propagation delay is the sum of all individual flip-flop delays.
B. all flip-flops are triggered by a common clock signal.
C. it can only count up, not down.
D. the output of one flip-flop serves as the clock for the next.

34 A 5-bit standard ring counter is initialized to the state 10000. What will be its state after 7 clock pulses?

Ring counter and Johnson ring counter Medium
A. 01000
B. 00010
C. 10000
D. 00100

35 To implement an asynchronous binary DOWN counter using positive edge-triggered JK flip-flops (with J=K=1), the clock input of each subsequent flip-flop should be connected to...

Counters: Design of Asynchronous and Synchronous counters Medium
A. the main system clock.
B. the output of the preceding flip-flop.
C. the J input of the preceding flip-flop.
D. the Q output of the preceding flip-flop.

36 The logic for the data input of a flip-flop in a bidirectional shift register is given by the expression , where is the output of the flip-flop to the left and is to the right. What operation is performed when the mode control input ?

Bidirectional Shift Register Medium
A. Shift Left
B. Parallel Load
C. Shift Right
D. Hold

37 A synchronous counter is designed to go through the sequence: 0, 2, 4, 6, and then repeat. How many flip-flops are required and what is the modulus of the counter?

Counters: Design of Asynchronous and Synchronous counters Medium
A. 2 flip-flops, MOD-4
B. 3 flip-flops, MOD-8
C. 4 flip-flops, MOD-4
D. 3 flip-flops, MOD-4

38 A 12-bit Serial-In Serial-Out (SISO) shift register operates with a clock frequency of 5 MHz. What is the total time required to shift a 12-bit number completely into the register?

Shift Register Medium
A. 60.0 µs
B. 2.4 µs
C. 1.0 µs
D. 0.2 µs

39 One of the potential problems with both Ring and Johnson counters is that they can enter an invalid or 'lockout' state. For a 4-bit ring counter intended to circulate a single '1' (e.g., 1000 -> 0100...), which of the following is a lockout state?

Ring counter and Johnson ring counter Medium
A. 1000
B. 1010
C. 0100
D. 0001

40 A 4-bit universal shift register (like the 74LS194) is to be used as a frequency divider. To divide the input clock frequency by 4, the register should be configured as a...

Universal Shift Register Medium
A. 4-bit Johnson Counter
B. 4-bit PISO register
C. 4-bit Ring Counter
D. 4-bit SIPO register

41 A 4-bit synchronous binary up-counter is designed using T flip-flops. To make it a self-correcting counter that transitions any unused state to 0000 on the next clock pulse, what is the minimal logic expression for the input (MSB)? Assume the valid count sequence is 0 through 9 (BCD).

Counters: Design of Asynchronous and Synchronous counters Hard
A.
B.
C.
D.

42 An 8-bit asynchronous ripple counter is clocked at 50 MHz. Each flip-flop has a propagation delay of 8 ns. A decoder circuit is connected to the counter's outputs to detect the state 10000000 (decimal 128). For how long does a spurious decoding spike (glitch) persist at the decoder's output during the transition from state 127 to 128?

Counters: Design of Asynchronous and Synchronous counters Hard
A. 64 ns
B. No glitch occurs for this specific transition.
C. 56 ns
D. 8 ns

43 A 5-bit Johnson counter is initialized to 10000. The connection between the output of the second flip-flop () and the input of the third flip-flop () is broken, and is now stuck-at-1. What is the sequence of states (in decimal) the counter will now follow?

Ring counter and Johnson ring counter Hard
A. 16 -> 24 -> 12 -> 6 -> 3 -> 1 -> 0 -> ...
B. 16 -> 24 -> 28 -> 14 -> 7 -> 19 -> 25 -> ...
C. 16 -> 25 -> 29 -> 31 -> 15 -> 4 -> 2 -> 1 -> ...
D. 16 -> 24 -> 28 -> 30 -> 31 -> 15 -> 7 -> 3 -> 17 -> ...

44 A 4-bit number stored in a universal shift register needs to be transformed into . Assume the register has modes for parallel load, shift left, and shift right, and is connected to a 4-bit adder/subtractor. Which sequence of micro-operations is the most efficient to compute ?

Universal Shift Register Hard
A. Load X, shift left (result is 2X), parallel load X again, shift left (result is 2X), subtract X, then subtract 1.
B. Load X, shift left (result is 2X), add original X, store result. Load 1, subtract from result.
C. Shift left (to get 2X), add X (from an external register), parallel load the result, then subtract 1.
D. Shift left (to get 2X), add X (to get 3X), then load this value using parallel load. Then perform a circular shift right and add 1.

45 A 4-bit Ring Counter is in the invalid state 1010. A self-starting correction circuit is implemented using the logic . What is the first valid ring counter state (1000, 0100, 0010, or 0001) that the counter will enter?

Ring counter and Johnson ring counter Hard
A. 0100
B. 1000
C. 0010
D. It will never enter a valid state.

46 To design a synchronous MOD-12 counter (0-11) that can be cleared asynchronously, what is the minimal logic expression for the active-low CLEAR signal, using standard NAND gates? Let the outputs be .

Counters: Design of Asynchronous and Synchronous counters Hard
A.
B.
C.
D.

47 A 4-bit bidirectional shift register holds the value 1011. It is subjected to the following sequence of operations: 1. Arithmetic Shift Right, 2. Circular Shift Left, 3. Logical Shift Right. What is the final value in the register?

Bidirectional Shift Register Hard
A. 1101
B. 0101
C. 0110
D. 1110

48 A synchronous counter using D flip-flops is designed for the sequence (i.e., ). What is the simplified Boolean expression for the input (MSB)?

Counters: Design of Asynchronous and Synchronous counters Hard
A.
B.
C.
D.

49 A 4-bit universal shift register is configured with its mode controls . Its serial input for right shift () is connected to the output, the serial input for left shift () is connected to the output, and the parallel inputs are connected to a constant value 1001. If the register initially contains 0110, what will be its content after 2 clock pulses?

Universal Shift Register Hard
A. 0011
B. 0110
C. 1010
D. 1001

50 An asynchronous 10-bit binary counter is built with flip-flops having a propagation delay of 15 ns each and a setup time of 5 ns. What is the maximum possible clock frequency for this counter to operate without miscounting?

Counters: Design of Asynchronous and Synchronous counters Hard
A. ~6.25 MHz
B. ~6.45 MHz
C. ~6.67 MHz
D. ~5.0 MHz

51 A system requires a divide-by-48 counter. Which of the following designs uses the minimum number of flip-flops?

Counters: Design of Asynchronous and Synchronous counters Hard
A. Cascading a MOD-6 and a MOD-8 counter.
B. A single synchronous counter designed to have a modulus of 48.
C. All of the above designs require the same minimum number of flip-flops.
D. Cascading a MOD-4 and a MOD-12 counter.

52 A 16-bit Serial-In, Parallel-Out (SIPO) register is used to receive data and is clocked at 200 MHz. An 8-bit Parallel-In, Serial-Out (PISO) register is used to transmit data and is clocked at 400 MHz. What is the approximate time taken to receive 16 bits of data and then transmit the upper 8 bits of that data?

Shift Register Hard
A. 80 ns
B. 102.5 ns
C. 120 ns
D. 100 ns

53 For a 6-bit Johnson counter, how many 3-input NAND gates are required at a minimum to decode all of its unique states?

Ring counter and Johnson ring counter Hard
A. 12
B. 4
C. 6
D. 0

54 A MOD-10 (Decade) counter is created by resetting a 4-bit binary ripple counter when it reaches the count of 10 (1010). If this counter is used to divide a 20 MHz clock, what is the duty cycle of the output signal taken from the MSB ()?

Counters: Design of Asynchronous and Synchronous counters Hard
A. 20%
B. 50%
C. 40%
D. 25%

55 A 3-bit synchronous counter is defined by the J-K flip-flop input equations: , ; , ; , . Assuming is the MSB, if the counter enters the unused state 110, what state will it transition to on the next clock pulse?

Counters: Design of Asynchronous and Synchronous counters Hard
A. 011
B. 001
C. 111
D. 101

56 A 4-bit Johnson counter and a 7-bit ring counter are both clocked by the same 2.8 MHz clock. What are the frequencies of the output signals taken from any single flip-flop of the Johnson counter and the ring counter, respectively?

Ring counter and Johnson ring counter Hard
A. 350 kHz, 400 kHz
B. 1.4 MHz, 2.8 MHz
C. 350 kHz, 700 kHz
D. 700 kHz, 400 kHz

57 The D-input of a single stage (the flip-flop) in a 4-bit bidirectional shift register is controlled by the logic: , where M is the direction control (M=0 for right shift, M=1 for left shift). To implement a 'hold' or 'no change' state, what additional logic is required?

Bidirectional Shift Register Hard
A. must be disconnected from the clock.
B. A global clock gate must be added, controlled by a 'Hold' signal.
C.
D.

58 A universal shift register is to be used for a 4-bit 2's complement division by 4. What is the required sequence of operations if the initial number is 1010 (-6)?

Universal Shift Register Hard
A. Arithmetic Shift Right, Logical Shift Right
B. Logical Shift Right, Logical Shift Right
C. Arithmetic Shift Right, Arithmetic Shift Right
D. Rotate Right, Rotate Right

59 A 4-bit synchronous counter is designed with T flip-flops to follow the sequence . The flip-flop outputs are . What is the simplified logic expression for the input ?

Counters: Design of Asynchronous and Synchronous counters Hard
A.
B.
C.
D.

60 A 4-bit synchronous counter is designed to be self-correcting. It should count through the prime numbers less than 15 ($2, 3, 5, 7, 11, 13$) and then repeat. If the counter accidentally enters the unused state 1000 (8), and the corrective logic routes all unused states to the starting state 0010 (2), what is the minimal logic expression for the D-input of the MSB flip-flop, ?

Counters: Design of Asynchronous and Synchronous counters Hard
A.
B.
C.
D.

61 An asynchronous 10-bit binary counter is built with flip-flops having a propagation delay of 15 ns each and a setup time of 5 ns. What is the maximum possible clock frequency for this counter to operate reliably if its output must be correctly sampled by a synchronous device sharing the same clock?

Counters: Design of Asynchronous and Synchronous counters Hard
A. ~6.67 MHz
B. ~6.45 MHz
C. ~6.25 MHz
D. ~9.52 MHz

62 A 5-bit Johnson counter uses a right-shift register () with feedback . A fault causes the input to the third flip-flop, , to be permanently connected to logic HIGH (stuck-at-1). If the counter starts at 10000 (16), what is the state after 3 clock pulses?

Ring counter and Johnson ring counter Hard
A. 01111 (15)
B. 00111 (7)
C. 11100 (28)
D. 11111 (31)

63 A 4-bit universal shift register is to be used for a 4-bit 2's complement division by 4. What is the required sequence of operations if the initial number is 1010 (-6)?

Universal Shift Register Hard
A. Arithmetic Shift Right, Logical Shift Right
B. Arithmetic Shift Right, Arithmetic Shift Right
C. Logical Shift Right, Logical Shift Right
D. Rotate Right, Rotate Right

64 A 4-bit self-starting ring counter uses the feedback logic to the serial input of a left-shifting register (). If it starts in the illegal state 1110, what is the first valid ring counter state (1000, 0100, 0010, or 0001) it enters?

Ring counter and Johnson ring counter Hard
A. 0100
B. 1000
C. 0010
D. It gets stuck in an illegal loop.

65 A synchronous MOD-12 counter (0-11) is designed to reset on the 12th count. What is the minimal logic expression for the synchronous CLEAR signal (active-high), which forces the next state to 0000? The outputs are .

Counters: Design of Asynchronous and Synchronous counters Hard
A.
B.
C.
D.

66 A 4-bit bidirectional shift register holds the value 1011. It is subjected to the following sequence of operations: 1. Arithmetic Shift Right, 2. Circular Shift Left, 3. Logical Shift Right. What is the final value in the register?

Bidirectional Shift Register Hard
A. 1011
B. 1110
C. 0101
D. 1101

67 For a 2-bit synchronous counter designed to follow the Gray code sequence , what is the simplified Boolean expression for the input (MSB) if using T flip-flops?

Counters: Design of Asynchronous and Synchronous counters Hard
A.
B.
C.
D.

68 A 4-bit universal shift register is configured with mode controls . Its serial input for right shift () is connected to the output, and its parallel inputs are unused. If the register initially contains 0110, what will be its content after 2 clock pulses?

Universal Shift Register Hard
A. 0110
B. 0011
C. 1001
D. 1010

69 A 64-bit data packet is to be transmitted serially. The system uses a 16-bit PISO (Parallel-In, Serial-Out) register for transmission, clocked at 500 MHz. The data is generated by a processor in 16-bit chunks (words) and loading each word into the PISO takes 4 ns. What is the total time required to load and transmit the entire 64-bit packet?

Shift Register Hard
A. 128 ns
B. 160 ns
C. 144 ns
D. 132 ns

70 For a 6-bit Johnson counter, what is the minimum number of 2-input logic gates required to decode ALL of its unique states?

Ring counter and Johnson ring counter Hard
A. 6 AND gates and 6 inverters
B. 12 AND gates
C. 6 AND gates
D. 12 NAND gates

71 A MOD-10 (Decade) counter is created by resetting a 4-bit binary ripple counter when it reaches the count of 10 (1010). This counter divides a 10 MHz clock. The MSB () output has a 20% duty cycle. What minimal additional circuitry is required to get a 1 MHz square wave (50% duty cycle)?

Counters: Design of Asynchronous and Synchronous counters Hard
A. A D flip-flop clocked by the system clock with .
B. A 5-bit Johnson counter.
C. A T flip-flop clocked by the output.
D. An XOR gate with inputs from and the system clock.

72 A 3-bit synchronous counter is defined by the J-K flip-flop input equations: , ; , ; . is not connected and floats HIGH (logic 1). Assuming is the MSB, what is the modulus of this counter?

Counters: Design of Asynchronous and Synchronous counters Hard
A. 5
B. 4
C. 8
D. 6

73 A 4-bit Johnson counter and a 7-bit ring counter are both clocked by a 5.6 MHz clock. What are the frequencies of the output signals taken from any single flip-flop of the Johnson counter and the ring counter, respectively?

Ring counter and Johnson ring counter Hard
A. 2.8 MHz, 5.6 MHz
B. 1.4 MHz, 800 kHz
C. 700 kHz, 800 kHz
D. 700 kHz, 400 kHz

74 The D-input of the stage in a 4-bit bidirectional shift register is controlled by: . What operation is performed if the control word changes from 01 to 10 exactly at the midpoint of a clock cycle?

Bidirectional Shift Register Hard
A. The register will perform a left shift.
B. The register will hold its state.
C. The register will perform a right shift.
D. The operation is unpredictable and may cause a metastable state.

75 A universal shift register is used to compute on a 4-bit unsigned number . is initially 1100 (12). The system has an external 4-bit adder. Which sequence of operations and intermediate values is correct?

Universal Shift Register Hard
A. LSL (gives 1000), Parallel Load 0011, Add (gives 1011)
B. ASR (gives 1110), Parallel Load 0011, Add (gives 0001)
C. CSR (gives 0110), Parallel Load 0011, Add (gives 1001)
D. LSR (gives 0110), Parallel Load 0011, Add (gives 1001)

76 A 4-bit synchronous counter is designed with T flip-flops to follow the sequence . The flip-flop outputs are . What is the simplified logic expression for the input ?

Counters: Design of Asynchronous and Synchronous counters Hard
A.
B.
C.
D.

77 A 3-bit Johnson counter is to be designed using T flip-flops. What is the logic expression for the input of the first flip-flop, (MSB)? The state is .

Counters: Design of Asynchronous and Synchronous counters Hard
A.
B.
C.
D.