Unit 6 - Practice Quiz

ECE249 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is the condition called when both inputs S (Set) and R (Reset) of an SR latch are 1?

SR-latch Easy
A. Hold State
B. Reset State
C. Invalid / Forbidden State
D. Set State

2 In an SR latch, what is the output Q when S=1 and R=0?

SR-latch Easy
A. Q remains unchanged
B. Q is set to 1
C. Q is reset to 0
D. The latch enters a forbidden state

3 A D-latch is also known as a transparent latch because:

D-latch Easy
A. It always resets on power-up
B. It cannot store data
C. When the enable input is active, the output follows the input
D. It is made of glass

4 What is the primary function of the 'Enable' input in a gated D-latch?

D-latch Easy
A. To invert the output
B. To control when the input data (D) is passed to the output (Q)
C. To reset the latch
D. To set the latch

5 A D flip-flop is a ___ triggered device, which means it changes state only at a specific instant.

D flip-flop Easy
A. pulse
B. edge
C. level
D. data

6 What value will the output Q of a D flip-flop take after a clock edge if its D input is 0?

D flip-flop Easy
A. It will toggle
B. 0
C. 1
D. It will remain unchanged

7 In a JK flip-flop, what happens to the output Q when J=1 and K=1 and a clock pulse is applied?

JK flip- flop Easy
A. It toggles (flips to the opposite state)
B. It is set (Q=1)
C. It remains unchanged
D. It is reset (Q=0)

8 Which state does a JK flip-flop enter when J=0 and K=0?

JK flip- flop Easy
A. Toggle state
B. Hold/Memory state
C. Reset state
D. Set state

9 What does the 'T' in T flip-flop stand for?

T flip-flop Easy
A. Transfer
B. Trigger
C. Time
D. Toggle

10 If the T input of a T flip-flop is held low (T=0), what will be the output Q after a clock pulse?

T flip-flop Easy
A. It will be reset to 0
B. It will toggle
C. It will remain unchanged (hold state)
D. It will be set to 1

11 What is the primary purpose of using a Master-Slave configuration in a JK flip-flop?

Master Slave JK flip flop Easy
A. To reduce power consumption
B. To eliminate the race-around condition
C. To simplify the circuit design
D. To increase the speed of operation

12 A Master-Slave flip-flop consists of:

Master Slave JK flip flop Easy
A. Two flip-flops connected in parallel
B. One latch
C. Two latches connected in series
D. One flip-flop and one latch

13 To convert a JK flip-flop into a T flip-flop, what connection should be made?

Conversion of basic flip-flop Easy
A. Connect J and K inputs together to form the T input
B. Connect J to Q'
C. Ground both J and K inputs
D. Connect J to Vcc and K to ground

14 How can a D flip-flop be made from a JK flip-flop?

Conversion of basic flip-flop Easy
A. Set J=1, K=0
B. Set J=0, K=1
C. Set J=D and K=D'
D. Set J=K

15 What is the basic function of a shift register?

Operation of all basic Shift Registers Easy
A. To count pulses
B. To perform arithmetic operations
C. To store and move binary data
D. To amplify a signal

16 Which type of register can have its data loaded all at once and shifted out one bit at a time?

Operation of all basic Shift Registers 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)

17 What is another common name for an asynchronous counter?

Design of Asynchronous, Synchronous counters Easy
A. Ring Counter
B. Ripple Counter
C. Decade Counter
D. Parallel Counter

18 What is the main characteristic of a synchronous counter?

Design of Asynchronous, Synchronous counters Easy
A. The flip-flops are clocked sequentially
B. It is slower than an asynchronous counter
C. All flip-flops are clocked by the same clock signal simultaneously
D. It uses latches instead of flip-flops

19 In a standard 4-bit Ring Counter, how many unique states are there?

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

20 A 3-bit Johnson counter has how many unique states?

Ring counter and Johnson ring counter Easy
A. 9
B. 6
C. 8
D. 3

21 An SR latch is constructed using two cross-coupled NOR gates. If the current state is Q=1 and Q'=0, what input combination of S and R will cause the latch to enter the invalid state?

SR-latch Medium
A. S=1, R=1
B. S=1, R=0
C. S=0, R=1
D. S=0, R=0

22 A D-latch is said to be "transparent." What does this characteristic imply?

D-latch Medium
A. The output is always the inverse of the input.
B. The latch cannot store a value.
C. The output Q follows the input D as long as the enable signal is active.
D. The output Q follows the input D only on the clock edge.

23 A D flip-flop is initially reset (Q=0). What will be the state of Q after 4 positive clock edges if the input D is tied to the output Q'?

D flip-flop Medium
A. Toggles on each clock pulse
B. Enters an invalid state
C. Remains at 1
D. Remains at 0

24 For a JK flip-flop with J=K=1, what is the output frequency () at Q if the input clock frequency is 20 kHz?

JK flip- flop Medium
A. 10 kHz
B. 40 kHz
C. 5 kHz
D. 20 kHz

25 To build a MOD-16 counter using T flip-flops, how many flip-flops are required, and what must be the state of the T input for each flip-flop to enable counting?

T flip-flop Medium
A. 4 flip-flops, T=1
B. 4 flip-flops, T toggles with Q
C. 16 flip-flops, T=0
D. 8 flip-flops, T=1

26 What problem in level-triggered JK flip-flops does the Master-Slave configuration primarily address?

Master Slave JK flip flop Medium
A. Setup time violation
B. Hold time violation
C. Race-around condition
D. Invalid state (S=R=1)

27 To convert a JK flip-flop into a D flip-flop, what external connections are required?

Conversion of basic flip-flop Medium
A. Connect J to the inverse of D (D') and K to D
B. Connect J and K together to the D input
C. Connect J to logic 1 and K to D
D. Connect J to D and K to the inverse of D (D')

28 In a 4-bit Serial-In, Parallel-Out (SIPO) shift register, initially cleared to 0000, the serial data stream 1011 is applied (with 1 being the first bit in). After how many clock pulses is the complete 4-bit number available on the parallel outputs?

Operation of all basic Shift Registers Medium
A. 4 pulses
B. 3 pulses
C. 1 pulse
D. 8 pulses

29 An asynchronous (ripple) down-counter is built with 3 positive edge-triggered JK flip-flops (configured to toggle). The external clock is applied to the LSB flip-flop. How should the clock inputs of the subsequent flip-flops be connected?

Design of Asynchronous, Synchronous counters Medium
A. The K input of the preceding flip-flop clocks the next one.
B. The Q output of the preceding flip-flop clocks the next one.
C. The Q' output of the preceding flip-flop clocks the next one.
D. All flip-flops are clocked by the same external clock.

30 A 4-bit Johnson counter is initialized to 0000. How many unique states does it cycle through before repeating?

Ring counter and Johnson ring counter Medium
A. 4
B. 16
C. 1
D. 8

31 A positive edge-triggered JK flip-flop has its J input connected to Q' and its K input connected to Q. What is the functionality of this circuit?

JK flip- flop Medium
A. It acts as a T flip-flop always in toggle mode.
B. The output Q is always set to 1.
C. It acts as a D flip-flop with input Q.
D. The output Q is always reset to 0.

32 In a standard Master-Slave JK flip-flop triggered by a complete pulse, when does the slave latch update its state to match the master latch?

Master Slave JK flip flop Medium
A. On the falling edge of the clock pulse.
B. On the rising edge of the clock pulse.
C. During the entire time the clock is high.
D. During the entire time the clock is low.

33 What is the primary reason that synchronous counters can operate at a higher frequency than asynchronous counters of the same size?

Design of Asynchronous, Synchronous counters Medium
A. They consume less power per flip-flop.
B. They have a simpler circuit structure.
C. The cumulative propagation delay is significantly lower.
D. They use fewer logic gates in their design.

34 A 4-bit Parallel-In, Serial-Out (PISO) shift register is loaded with the data 1011. What is the serial output sequence, assuming the LSB is shifted out first?

Operation of all basic Shift Registers Medium
A. 0110
B. 1000
C. 1011
D. 1101

35 How can a T flip-flop be constructed from a D flip-flop and an external gate?

Conversion of basic flip-flop Medium
A. Connect D to Q'.
B. Connect D to the output of an AND gate with inputs T and Q.
C. Connect D directly to the T input.
D. Connect D to the output of an XOR gate with inputs T and Q.

36 A standard 5-bit 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. 00100
C. 00001
D. 10000

37 Three T flip-flops are cascaded to form a ripple counter. All T inputs are held high (T=1). If the input clock frequency is 120 Hz, what is the frequency of the output of the last flip-flop (MSB)?

T flip-flop Medium
A. 15 Hz
B. 120 Hz
C. 30 Hz
D. 60 Hz

38 In designing a synchronous MOD-5 (0 to 4) up-counter using JK flip-flops, what condition must be detected to reset the counter?

Design of Asynchronous, Synchronous counters Medium
A. The state 111 (binary 7) must be detected to reset.
B. The counter does not need a reset condition; it naturally cycles.
C. The state 100 (binary 4) is detected to make the next state 000.
D. The state 101 (binary 5) must be detected to asynchronously clear the flip-flops.

39 Which type of shift register can be used for converting parallel data to serial data?

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

40 How many flip-flops are required to design a Johnson counter that has 10 unique states?

Ring counter and Johnson ring counter Medium
A. 5
B. 4
C. 3
D. 10

41 A Master-Slave JK flip-flop is clocked at 1 MHz. The J and K inputs are both tied to HIGH. While the clock is HIGH (from t=0 to t=0.5 µs), a brief negative-going glitch pulls the J input to LOW for 50 ns and then returns it to HIGH. The glitch occurs at t=0.2 µs. Assuming zero setup and hold times, what is the state of the Q output after the clock goes LOW at t=0.5 µs?

Master Slave JK flip flop Hard
A. The output Q toggles.
B. The output Q remains unchanged.
C. The output Q resets to 0 (LOW).
D. The output Q sets to 1 (HIGH).

42 A 3-bit synchronous counter is designed using T flip-flops to follow the sequence: 000 -> 011 -> 101 -> 110 -> 000... Let the flip-flop outputs be . What is the logic expression for the input of the middle flip-flop?

Design of Synchronous counters Hard
A.
B.
C.
D.

43 You need to implement a special-purpose flip-flop with the characteristic equation using a standard JK flip-flop. What should the inputs J and K be in terms of the external input X and the current state ?

Conversion of basic flip-flop Hard
A.
B.
C.
D.

44 A 4-bit Linear Feedback Shift Register (LFSR) is configured with the feedback polynomial . The taps are taken from the 1st and 4th flip-flops (outputs and ). The outputs are XORed and fed back to the input of the first flip-flop (). If the initial seed state of the register () is 0001, what is the state after 5 clock pulses?

Operation of all basic Shift Registers Hard
A. 6
B. 4
C. 8
D. The counter gets stuck in a state.

45 A 4-bit asynchronous ripple up-counter is built using JK flip-flops with a propagation delay of 15 ns each. The counter is supposed to reset to 0000 when the count reaches 10 (1010). A NAND gate with a 10 ns delay is used for the reset logic. What is the maximum clock frequency at which this counter will operate correctly without skipping the reset state?

Design of Asynchronous counters Hard
A. 16.67 MHz
B. 14.28 MHz
C. 20 MHz
D. 25 MHz

46 A single JK flip-flop has its J input connected to and its K input connected to an external signal X. The flip-flop is clocked by a periodic signal. Which of the following describes the flip-flop's behavior?

JK flip- flop Hard
A. It will be reset to 0.
B. Its state is uncertain (metastable).
C. It will be set to 1.
D. It will toggle.

47 Three T flip-flops () are connected in a cascade. The clock is applied to all FFs simultaneously. The inputs are configured as follows: , , and . If the initial state () is 000, what is the state after the 4th clock pulse?

T flip-flop Hard
A. 100
B. 110
C. 101
D. 011

48 A 5-bit Johnson counter has an initial state of 10100. What will be the state of the counter after 4 clock pulses?

Ring counter and Johnson ring counter Hard
A. 00101
B. 01010
C. 11010
D. 10000

49 An SR latch is constructed using two NOR gates. The propagation delay of the top NOR gate (output Q) is 10 ns, and the delay of the bottom NOR gate (output Q') is 20 ns. The latch is stable with S=0, R=0, Q=0. At t=0, S is pulsed HIGH for 30 ns. What is the state of Q and Q' at t=35 ns?

SR-latch Hard
A.
B.
C. for a brief period
D. (oscillation)

50 A frequency divider circuit is built by cascading two D flip-flops. The output of the second flip-flop is connected back to the input of the first flip-flop. The clock is connected to both flip-flops. If the input clock frequency is 100 MHz, what is the frequency of the waveform at the output ?

D flip-flop Hard
A. 100 MHz
B. 25 MHz
C. 50 MHz
D. 33.33 MHz

51 To design a synchronous BCD (0-9) counter using JK flip-flops, what is the simplified logic expression for the input of the most significant bit (MSB) flip-flop ()? Let the outputs be .

Design of Synchronous counters Hard
A.
B.
C.
D.

52 What is the Boolean expression for the D input of a D flip-flop required to make it behave as a JK flip-flop? (where J and K are the control inputs)

Conversion of basic flip-flop Hard
A.
B.
C.
D.

53 A MOD-12 asynchronous counter is constructed using negative-edge-triggered T flip-flops. The counter is reset when the state reaches 12 (1100). What is the duty cycle of the output waveform of the most significant bit (MSB), ?

Design of Asynchronous counters Hard
A. 33.3%
B. 41.7%
C. 25%
D. 50%

54 Consider a gated D latch with a propagation delay of 5 ns from D to Q, and 3 ns from the Enable (E) input to Q. The setup time is 4 ns and hold time is 2 ns relative to the falling edge of E. The enable signal E is HIGH from t=10 ns to t=30 ns. The D input changes from 0 to 1 at t=27 ns. What is the state of the output Q at t=35 ns?

D-latch Hard
A. It is oscillating.
B. It is 1.
C. It is in a metastable state.
D. It is 0.

55 A 4-bit universal shift register () has mode controls S1 and S0. (S1S0: 00=Inhibit, 01=Shift Right, 10=Shift Left, 11=Parallel Load). The register state is initially 1011. The following sequence of operations occurs:
1. Clock pulse with S1S0=10 (Serial input left=1).
2. Clock pulse with S1S0=01 (Serial input right=0).
3. Clock pulse with S1S0=11 (Parallel data in=1100).
What is the final state of the register?

Operation of all basic Shift Registers Hard
A. 1001
B. 0011
C. 0110
D. 1100

56 An 8-bit Ring Counter is initialized with the state 10000000. After how many clock pulses will the state 00100000 first appear?

Ring counter and Johnson ring counter Hard
A. 2 pulses
B. 5 pulses
C. 6 pulses
D. 3 pulses

57 In a Master-Slave JK flip-flop, the master latch is typically enabled by ___, and the slave latch is enabled by ____.

Master Slave JK flip flop Hard
A. the negative edge of the clock; the positive edge of the clock
B. the LOW level of the clock; the HIGH level of the clock
C. the HIGH level of the clock; the LOW level of the clock
D. the positive edge of the clock; the negative edge of the clock

58 An active-LOW input S'R' latch (built with NAND gates) has both S' and R' inputs held LOW. What is the resulting state of its outputs Q and Q'?

SR-latch Hard
A. Q=0, Q'=0
B. Q=1, Q'=1
C. Q=0, Q'=1 (Reset)
D. Q=1, Q'=0 (Set)

59 A T flip-flop has a propagation delay () of 10 ns and a setup time () of 4 ns. It is used to build a ripple counter. To ensure correct operation of a 4-bit ripple counter built from these flip-flops, what is the minimum time period of the input clock signal?

T flip-flop Hard
A. 40 ns
B. 14 ns
C. 44 ns
D. 54 ns

60 A 2-bit synchronous binary counter is designed using two JK flip-flops ( where is MSB). The flip-flops have active-LOW asynchronous preset () and clear () inputs. A decoding circuit is added such that when the count reaches 3 (11), a LOW signal is immediately applied to the inputs of both flip-flops. What is the effective modulus of this counter?

JK flip- flop Hard
A. 4
B. 3
C. The counter will lock up.
D. 2