Unit 6 - Practice Quiz

ECE249 58 Questions
0 Correct 0 Wrong 58 Left
0/58

1 Which type of shift register accepts data one bit at a time and outputs all bits simultaneously?

Registers: Operation of basic shift registers (SISO, SIPO, PISO, PIPO) Easy
A. PIPO (Parallel-In, Parallel-Out)
B. SIPO (Serial-In, Parallel-Out)
C. SISO (Serial-In, Serial-Out)
D. PISO (Parallel-In, Serial-Out)

2 What is another common name for an asynchronous counter?

Counters: Asynchronous counter (UP/DOWN/Mod-N) Easy
A. Decade Counter
B. Parallel Counter
C. Ripple Counter
D. Synchronous Counter

3 What is the key characteristic of a synchronous counter's clocking mechanism?

Counters: Synchronous counter (UP/DOWN/Mod-N) Easy
A. The clock signal is applied only to the first flip-flop.
B. All flip-flops are triggered by the same clock signal.
C. It does not require a clock signal.
D. Each flip-flop's clock is triggered by the previous flip-flop's output.

4 How many unique states does a 4-bit ring counter have?

Counters: Ring counter Easy
A. 4
B. 8
C. 16
D. 2

5 A Johnson counter is also known as a:

Counters: Johnson ring counter Easy
A. Parallel Counter
B. Twisted Ring Counter
C. Straight Ring Counter
D. Ripple Counter

6 Which register type is used to convert parallel data to serial data?

Registers: Operation of basic shift registers (SISO, SIPO, PISO, PIPO) Easy
A. PISO (Parallel-In, Serial-Out)
B. SIPO (Serial-In, Parallel-Out)
C. PIPO (Parallel-In, Parallel-Out)
D. SISO (Serial-In, Serial-Out)

7 How many flip-flops are required to build a MOD-16 asynchronous counter?

Counters: Asynchronous counter (UP/DOWN/Mod-N) Easy
A. 16
B. 4
C. 5
D. 8

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

Counters: Synchronous counter (UP/DOWN/Mod-N) Easy
A. It is faster because all flip-flops change state simultaneously.
B. It requires fewer components.
C. It is simpler to design for any number of states.
D. It consumes less power.

9 A 4-bit SISO shift register requires how many clock pulses to enter a 4-bit number completely?

Registers: Operation of basic shift registers (SISO, SIPO, PISO, PIPO) Easy
A. 4
B. 1
C. 16
D. 8

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

Counters: Johnson ring counter Easy
A. N^2
B. 2N
C. N
D. 2^N

11 Which type of register acts as a simple temporary storage device for binary data, loading all bits at once and outputting all bits at once?

Registers: Operation of basic shift registers (SISO, SIPO, PISO, PIPO) Easy
A. SISO (Serial-In, Serial-Out)
B. PISO (Parallel-In, Serial-Out)
C. SIPO (Serial-In, Parallel-Out)
D. PIPO (Parallel-In, Parallel-Out)

12 In an asynchronous UP counter, the clock for each flip-flop (after the first one) is typically driven by the:

Counters: Asynchronous counter (UP/DOWN/Mod-N) Easy
A. Q output of the preceding flip-flop
B. External clock signal
C. Preset input of the preceding flip-flop
D. Q' output of the preceding flip-flop

13 What is the initial state of a 4-bit ring counter if it is used for sequencing operations starting from the first operation?

Counters: Ring counter Easy
A. 1111
B. 0000
C. 0101
D. 1000

14 A counter that counts from 0000 to 1001 (0 to 9) and then resets is called a:

Counters: Synchronous counter (UP/DOWN/Mod-N) Easy
A. Ring Counter
B. Decade Counter or BCD Counter
C. Octal Counter
D. Binary Counter

15 If a 3-bit Johnson counter starts at 000, what is the sequence of states?

Counters: Johnson ring counter Easy
A. 000 -> 010 -> 101 -> 111 -> 000
B. 000 -> 001 -> 010 -> 011 -> 100 -> 101 -> 110 -> 111 -> 000
C. 000 -> 111 -> 000
D. 000 -> 100 -> 110 -> 111 -> 011 -> 001 -> 000

16 The main reason for 'glitches' or 'spikes' in the output of an asynchronous counter is:

Counters: Asynchronous counter (UP/DOWN/Mod-N) Easy
A. The use of a common clock signal.
B. The high speed of operation.
C. The low power consumption.
D. The cumulative propagation delay of the flip-flops.

17 A ring counter is a specific application of what type of circuit?

Counters: Ring counter Easy
A. Shift Register
B. Decoder
C. Full Adder
D. Multiplexer

18 To create a synchronous MOD-12 counter, how many flip-flops are needed?

Counters: Synchronous counter (UP/DOWN/Mod-N) Easy
A. 12
B. 3
C. 4
D. 5

19 What is a primary advantage of a Johnson counter over a standard ring counter?

Counters: Johnson ring counter Easy
A. It can count faster.
B. It has more states for the same number of flip-flops.
C. It is simpler to construct.
D. It consumes less power.

20 The fundamental building block of a shift register is the:

Registers: Operation of basic shift registers (SISO, SIPO, PISO, PIPO) Easy
A. Transistor
B. Flip-Flop
C. Logic Gate
D. Capacitor

21 A 5-bit Serial-In, Serial-Out (SISO) shift register is initially cleared. The data 11010 is entered serially from the MSB side. How many clock pulses are required for this entire 5-bit number to be stored in the register, with the LSB at the final flip-flop stage?

Registers: Operation of basic shift registers (SISO, SIPO, PISO, PIPO) Medium
A. 5 pulses
B. 9 pulses
C. 4 pulses
D. 10 pulses

22 A 4-bit Serial-In, Parallel-Out (SIPO) shift register has an initial state of 0000. Data is shifted from right to left (input at LSB). If the serial data input is held high (1), what will be the parallel output Q_3 Q_2 Q_1 Q_0 after 3 clock pulses?

Registers: Operation of basic shift registers (SISO, SIPO, PISO, PIPO) Medium
A. 0111
B. 1110
C. 0011
D. 1100

23 A 4-bit Parallel-In, Serial-Out (PISO) shift register is loaded in parallel with the data 1011. If the clock frequency is 2 kHz, what is the minimum time required after loading to shift the entire data out serially such that the last bit has appeared at the output?

Registers: Operation of basic shift registers (SISO, SIPO, PISO, PIPO) Medium
A. 0.5 ms
B. 2.0 ms
C. 1.0 ms
D. 1.5 ms

24 A 4-bit asynchronous binary up-counter is clocked by a 16 MHz signal. What is the frequency of the signal at the most significant bit (MSB) output?

Counters: Asynchronous counter (UP/DOWN/Mod-N) Medium
A. 16 MHz
B. 1 MHz
C. 2 MHz
D. 8 MHz

25 What is the primary advantage of a synchronous counter over an asynchronous counter that makes it suitable for high-frequency operation?

Counters: Synchronous counter (UP/DOWN/Mod-N) Medium
A. It can count to a higher modulus with the same number of flip-flops.
B. It has a lower cumulative propagation delay because all flip-flops are clocked simultaneously.
C. It requires fewer logic gates.
D. It is self-correcting from invalid states.

26 A 5-bit Ring Counter is initialized with the state 10000. What will be the state of the counter after 7 clock pulses?

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

27 How many distinct states does a 4-bit Johnson (twisted-ring) counter have, and how many of the possible 16 states are unused?

Johnson ring counter Medium
A. 4 states, 12 unused
B. 16 states, 0 unused
C. 8 states, 8 unused
D. 10 states, 6 unused

28 To construct a MOD-12 asynchronous counter using T-flip-flops, what is the minimum number of flip-flops required, and which decimal count should trigger the reset logic?

Counters: Asynchronous counter (UP/DOWN/Mod-N) Medium
A. 3 flip-flops, reset at count 12 (1100)
B. 4 flip-flops, reset at count 12 (1100)
C. 3 flip-flops, reset at count 11 (1011)
D. 4 flip-flops, reset at count 11 (1011)

29 In a 3-bit synchronous binary down counter using T flip-flops, what is the logic expression for the input of the most significant bit's flip-flop ()? (Assume outputs are )

Counters: Synchronous counter (UP/DOWN/Mod-N) Medium
A.
B.
C.
D.

30 A Parallel-In, Parallel-Out (PIPO) register's primary application is not shifting data but rather something else. What is its main function in a digital system?

Registers: Operation of basic shift registers (SISO, SIPO, PISO, PIPO) Medium
A. Generating counting sequences
B. Serial-to-parallel conversion
C. Temporary data storage (buffering)
D. Frequency division

31 A 3-bit asynchronous down-counter is at the state 010 (decimal 2). What will be its state after 4 clock pulses?

Counters: Asynchronous counter (UP/DOWN/Mod-N) Medium
A. 111 (decimal 7)
B. 101 (decimal 5)
C. 110 (decimal 6)
D. 001 (decimal 1)

32 In a synchronous BCD (Decade) counter, the circuit must reset to 0000 after reaching the count of 1001. A common way to implement this is to detect the first invalid state, which is 1010 (decimal 10). Which logic gate combination can uniquely detect this state?

Counters: Synchronous counter (UP/DOWN/Mod-N) Medium
A. A 2-input OR gate with inputs and .
B. A 2-input AND gate with inputs and .
C. A 2-input AND gate with inputs and .
D. A 2-input AND gate with inputs and .

33 A 3-bit Johnson counter follows a specific sequence. If a particular counter is in the state 011, what was its previous state?

Johnson ring counter Medium
A. 101 (unused state)
B. 001
C. 110
D. 111

34 Which type of register is most suitable for receiving a serial bitstream from a modem and presenting it as a byte to the computer's CPU?

Registers: Operation of basic shift registers (SISO, SIPO, PISO, PIPO) Medium
A. PISO (Parallel-In, Serial-Out)
B. SISO (Serial-In, Serial-Out)
C. PIPO (Parallel-In, Parallel-Out)
D. SIPO (Serial-In, Parallel-Out)

35 For the same number of flip-flops (N > 2), how does the number of states in a Johnson counter compare to a standard Ring counter?

Johnson ring counter Medium
A. A Ring counter has twice the number of states (2N) as a Johnson counter (N).
B. They both have the same number of states (N).
C. A Johnson counter has states while a Ring counter has N states.
D. A Johnson counter has twice the number of states (2N) as a Ring counter (N).

36 An 8-bit asynchronous (ripple) up-counter is built using flip-flops, each having a propagation delay of 12 ns. What is the total propagation delay when the counter transitions from 01111111 to 10000000?

Counters: Asynchronous counter (UP/DOWN/Mod-N) Medium
A. 24 ns
B. 12 ns
C. 96 ns
D. 48 ns

37 A 3-bit synchronous counter is designed to follow the sequence 0, 2, 4, 6, 0, ... (). What is the value of the J-K inputs for the least significant bit flip-flop ()?

Counters: Synchronous counter (UP/DOWN/Mod-N) Medium
A.
B.
C.
D.

38 A PISO register requires an essential control line to manage its two primary functions. What is this control line typically called and what does it do?

Registers: Operation of basic shift registers (SISO, SIPO, PISO, PIPO) Medium
A. Clock Inhibit: Halts all shifting operations.
B. Asynchronous Clear: Resets the register to all zeros.
C. Shift/Load: Selects between parallel data loading and serial shifting.
D. Output Enable: Connects or disconnects the serial output.

39 A 4-bit ring counter is used to generate four non-overlapping timing signals from its outputs (). If the input clock frequency is 400 Hz, what is the frequency and active duration of each individual timing signal?

Ring counter Medium
A. Frequency = 100 Hz, Duration = 2.5 ms
B. Frequency = 400 Hz, Duration = 2.5 ms
C. Frequency = 400 Hz, Duration = 1 ms
D. Frequency = 100 Hz, Duration = 10 ms

40 For a 4-bit Johnson counter, which logic expression can be used to uniquely decode the state 1100 from all other valid states in its sequence?

Johnson ring counter Medium
A.
B.
C.
D.

41 A 4-bit asynchronous (ripple) down-counter is initially in state 1010 (). Each T flip-flop has a propagation delay () of 15 ns. What is the transient state of the counter 35 ns after the falling edge of the 10th clock pulse?

Counters: Asynchronous counter (UP/DOWN/Mod-N) Hard
A. 0000
B. 0001
C. 1111
D. The state is indeterminate

42 A 3-bit synchronous counter is designed using T flip-flops with inputs . The inputs are defined by the logic equations: , , and . If the counter starts from state 000 (), what state will it be in after the 9th clock pulse?

Counters: Synchronous counter (UP/DOWN/Mod-N) Hard
A. 000
B. 001
C. 111
D. 101

43 An 8-bit Serial-In Parallel-Out (SIPO) shift register is cascaded with an 8-bit Parallel-In Serial-Out (PISO) shift register. Data is serially entered into the SIPO register. After 8 clock pulses, the parallel output of the SIPO is loaded into the PISO register. Then, the data is serially shifted out of the PISO. The clock frequency is 100 MHz. Ignoring setup times, what is the minimum time required to transfer a 16-bit word through this system, assuming the PISO load operation is synchronous and takes one clock cycle?

Registers: Operation of basic shift registers (SISO, SIPO, PISO, PIPO) Hard
A. 170 ns
B. 80 ns
C. 160 ns
D. 90 ns

44 A 4-bit Johnson counter is implemented using D flip-flops. It is subjected to a single-event upset (cosmic ray) that forces its state to 1010, an unused state. Assuming the circuit is clocked continuously, what is the sequence of states it will enter before (if ever) returning to the valid Johnson sequence?

Counters: Johnson ring counter Hard
A. 1010 -> 1101 -> 1110 -> 0111 (returns to the main sequence)
B. 1010 -> 0101 -> 1010 (locks in a 2-state loop)
C. 1010 -> 0000 -> 1000 -> 1100 (resets and enters the main sequence)
D. 1010 -> 0101 -> 0010 -> 1001 -> ... (enters another unused loop)

45 To construct a MOD-19 asynchronous (ripple) counter, what is the minimum number of J-K flip-flops required and what are the inputs to the NAND gate used for the asynchronous clear (active-low)?

Counters: Asynchronous counter (UP/DOWN/Mod-N) Hard
A. 5 flip-flops; inputs are
B. 5 flip-flops; inputs are
C. 4 flip-flops; inputs are
D. 5 flip-flops; inputs are

46 A 5-bit standard ring counter (one-hot) is initialized to the state 10000. It is clocked by a 40 MHz signal. A logic circuit is connected to its outputs . The logic is defined by the Boolean expression . What is the frequency and duty cycle of the output signal Y?

Counters: Ring counter Hard
A. Frequency: 40 MHz, Duty Cycle: 25%
B. Frequency: 20 MHz, Duty Cycle: 20%
C. Frequency: 8 MHz, Duty Cycle: 20%
D. Frequency: 8 MHz, Duty Cycle: 40%

47 Consider a 4-bit synchronous binary counter with a synchronous, active-high parallel load feature. The counter is loaded with the value 1001 (). The count-enable input (CE) is tied HIGH. The up/down control is set to DOWN. What is the state of the counter after 6 clock pulses?

Counters: Synchronous counter (UP/DOWN/Mod-N) Hard
A. 0011
B. 1111
C. 0010
D. 0100

48 A 4-bit universal shift register is configured as a Linear Feedback Shift Register (LFSR). The feedback is generated by XORing the outputs of the 3rd and 4th flip-flops ( and ) and feeding the result back to the serial input of the first flip-flop () for a left shift operation. If the initial state (seed) is 1000 (), what is the state of the register after 5 clock pulses?

Registers: Operation of basic shift registers (SISO, SIPO, PISO, PIPO) Hard
A. 1101
B. 0101
C. 1111
D. 1010

49 A 4-bit ripple up-counter is clocked by a 64 MHz signal. The propagation delay of each flip-flop is 10 ns, and the setup time for the reset NAND gate is 8 ns. To create a MOD-12 counter (resets on state 12), what is the maximum frequency at which this counter can reliably operate?

Counters: Asynchronous counter (UP/DOWN/Mod-N) Hard
A. 64 MHz
B. 16 MHz
C. 25 MHz
D. 20.83 MHz

50 A variable modulus counter is designed using a 3-bit Johnson counter and some logic gates. The counter must have a modulus of 5. The outputs are . Which of the following logic conditions, when used to trigger an asynchronous reset (active-low), will achieve a MOD-5 count?

Counters: Johnson ring counter Hard
A. Reset when
B. Reset when
C. Reset when
D. Reset when

51 A 4-bit synchronous UP counter is designed with T flip-flops. The flip-flop for the MSB () should only toggle when the counter is in state 0111 and is about to transition to 1000. What is the correct logic expression for the input ?

Counters: Synchronous counter (UP/DOWN/Mod-N) Hard
A.
B.
C.
D.

52 To transfer an 8-bit data word from a source register A (PISO) to a destination register B (SIPO) in exactly 4 clock cycles, what is the minimum number of data lines required between the two registers, and how should they be connected?

Registers: Operation of basic shift registers (SISO, SIPO, PISO, PIPO) Hard
A. 2 data lines;
B. Not possible in 4 clock cycles
C. 4 data lines; connect 4 MSBs from A to 4 LSBs of B
D. 2 data lines; from A's serial output to two separate serial inputs on B

53 An asynchronous MOD-10 (decade) counter's output is observed on an oscilloscope. The input clock frequency is 10 MHz. Due to propagation delays, 'glitches' or transient states appear on the decoded output. Which of the following state transitions would produce the most significant glitch on a decoder designed to detect the state 6 (0110)?

Counters: Asynchronous counter (UP/DOWN/Mod-N) Hard
A. 7 (0111) to 8 (1000)
B. 9 (1001) to 0 (0000) via reset
C. 5 (0101) to 6 (0110)
D. 3 (0011) to 4 (0100)

54 A synchronous 3-bit counter is designed to follow the Gray code sequence (000, 001, 011, 010, 110, 111, 101, 100). If JK flip-flops are used, what are the minimal logic expressions for the excitation inputs and for the most significant bit ()?

Counters: Synchronous counter (UP/DOWN/Mod-N) Hard
A.
B.
C.
D.

55 A self-correcting ring counter is to be designed using 4 D-flip-flops. A standard ring counter can get stuck in invalid states (e.g., 1010). What additional logic is required to ensure that from any invalid state, the counter will transition to the state 1000 within two clock cycles?

Counters: Ring counter Hard
A. The input to the first flip-flop () should be
B. The input to the first flip-flop () should be
C. The input to the first flip-flop () should be
D. The input to the first flip-flop () should be

56 An 8-bit bidirectional shift register holds the binary number 11010010. The register is subjected to the following sequence of operations: (1) Shift right 3 times with serial input tied to 0. (2) Shift left 2 times with serial input tied to 1. (3) Circular shift right 4 times. What is the final binary number in the register?

Registers: Operation of basic shift registers (SISO, SIPO, PISO, PIPO) Hard
A. 01101000
B. 10000101
C. 00001101
D. 10000110

57 Two counters, a 4-bit standard Ring Counter and a 4-bit Johnson Counter, are clocked by the same 24 MHz signal. The output is taken from a single flip-flop () in each case. What is the relationship between the frequency () and duty cycle () of the two output signals?

Counters: Johnson ring counter Hard
A.
B.
C.
D.

58 A 4-bit asynchronous up/down counter uses a control line M (M=0 for UP, M=1 for DOWN). The clock input for each flip-flop (using JK FFs configured to toggle) is controlled by logic. For the flip-flop producing , which of the following expressions correctly defines its clock input, ?

Counters: Asynchronous counter (UP/DOWN/Mod-N) Hard
A.
B.
C.
D.