What is the main difference between a latch and a flip-flop?
Show answer & solution
Answer: (A) A latch is level-triggered; a flip-flop is edge-triggered
Edge triggering avoids transparency problems.
Electrical Engineering · Digital Electronics & Microprocessors
30 questions, each with the answer and a worked solution.
Practice interactively and track your score →What is the main difference between a latch and a flip-flop?
Answer: (A) A latch is level-triggered; a flip-flop is edge-triggered
Edge triggering avoids transparency problems.
Which input condition is not allowed in an SR flip-flop made from NOR gates?
Answer: (C) S = 1 and R = 1
It gives an invalid or indeterminate state.
What does a JK flip-flop do when J = K = 1 at the clock edge?
Answer: (A) It toggles its output
The JK flip-flop removes the SR invalid state.
What is the race-around condition in a JK flip-flop?
Answer: (D) Repeated toggling during a long clock pulse when J = K = 1
A master–slave or edge-triggered design prevents it.
What is the output of a D flip-flop after a clock edge?
Answer: (B) It equals the D input at the clock edge
D flip-flops are used for data storage.
What does a T flip-flop do when T = 1 at each clock edge?
Answer: (D) It toggles its output
T flip-flops are used in counters.
How many bits of data can a single flip-flop store?
Answer: (C) One
Registers use groups of flip-flops.
What is a shift register?
Answer: (A) A group of flip-flops that moves data one position on each clock pulse
SISO, SIPO, PISO and PIPO are types.
What is the main difference between asynchronous and synchronous counters?
Answer: (B) In synchronous counters all flip-flops share a common clock; in asynchronous counters each is clocked by the previous one
Ripple counters suffer from accumulated delays.
How many flip-flops are needed to build a mod-10 (decade) counter?
Answer: (B) 4
Three flip-flops give only 8 states.
How many states does a ring counter with n flip-flops have?
Answer: (A) n
A Johnson (twisted ring) counter has 2n states.
How many states does a Johnson counter with 4 flip-flops have?
Answer: (C) 8
Johnson counters have 2n states.
By what factor does each flip-flop in a ripple counter divide the input frequency?
Answer: (B) 2
Flip-flops are used as frequency dividers.
What output frequency is obtained after three cascaded toggle flip-flops with a 1 MHz input?
Answer: (A) 125 kHz
1 MHz ÷ 2³ = 125 kHz.
What is the modulus of a 4-bit binary counter?
Answer: (D) 16
It counts from 0 to 15.
What is a sequential circuit?
Answer: (D) A circuit whose outputs depend on present inputs and past states
Flip-flops provide the memory.
What is the difference between Moore and Mealy state machines?
Answer: (C) Moore outputs depend only on the state; Mealy outputs depend on the state and inputs
Both are used in digital controller design.
What is setup time of a flip-flop?
Answer: (C) The minimum time the input must be stable before the clock edge
Violating setup time can cause metastability.
What is hold time of a flip-flop?
Answer: (D) The minimum time the input must remain stable after the clock edge
Both setup and hold times limit speed.
What type of register converts serial data into parallel form?
Answer: (A) SIPO shift register
PISO converts parallel to serial.
What is the purpose of the clear (reset) input on a flip-flop?
Answer: (B) To force the output to 0 regardless of the clock
Preset forces the output to 1.
Which counter is commonly used to produce a sequence for driving stepper motor phases?
Answer: (B) Ring counter
Each flip-flop output energises one phase in turn.
What does an up/down counter do?
Answer: (D) Counts upward or downward depending on a control input
It is used in position and level control.
What is metastability in flip-flops?
Answer: (B) An unstable intermediate output state caused by violating setup or hold times
Synchroniser circuits reduce its effect.
Which flip-flop is formed by connecting the J and K inputs together?
Answer: (A) T flip-flop
When T = 1 the output toggles.
Which flip-flop is formed by connecting an inverter between the J and K inputs?
Answer: (C) D flip-flop
K = J′ makes the output follow J.
How many flip-flops are needed for a counter with 50 states?
Answer: (B) 6
2⁵ = 32 is too small; 2⁶ = 64.
What is the maximum count of a 3-bit binary up counter?
Answer: (B) 7
It counts from 0 to 7.
What is a universal shift register?
Answer: (D) A register that can shift left, shift right and load in parallel
Mode control inputs select the operation.
Why are synchronous counters preferred for high-speed applications?
Answer: (A) All flip-flops change together, avoiding accumulated ripple delays
Ripple counters can give glitches in decoded outputs.