wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Verilog Logic and Circuit Quiz

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Which Verilog construct is best suited to model combinational logic like adders or multiplexers?

a)

always @(posedge clk)

b)

initial block

c)

assign statement

d)

always @(posedge reset)

2.

In a 4-bit adder/subtractor circuit, the control input is XORed with each bit of operand B. What is the purpose of this operation?

a)

To detect carry propagation

b)

To enable signed number operations

c)

To convert addition into subtraction

d)

To avoid overflow

3.

In a full subtractor, the borrow output depends on:

a)

Only A and B

b)

Only Bin and A

c)

A, B, and Bin

d)

A and Bin only

4.

Which flip-flop is most efficient to implement counters in Verilog?

a)

SR flip-flop

b)

D flip-flop

c)

JK flip-flop

d)

T flip-flop

5.

If a T flip-flop receives continuous clock pulses with T = 1, the output will:

a)

Remain constant

b)

Reset to 0 always

c)

Toggle between 0 and 1

d)

Produce unpredictable results

6.

A 2:1 multiplexer can be used to implement:

a)

XOR gate

b)

NOT gate

c)

Any Boolean function

d)

NAND gate

7.

In the 4×1 multiplexer, if S1S0 = 10, which input is selected?

a)

I0

b)

I1

c)

I2

d)

I3

8.

A shift register is mainly used for:

a)

Error detection

b)

Data storage and transfer

c)

Frequency division

d)

Performing subtraction

9.

Which counter produces a sequence like 1000 → 0100 → 0010 → 0001?

a)

Ripple counter

b)

Ring counter

c)

Johnson counter

d)

Synchronous counter

10.

The main difference between ring counter and Johnson counter is:

a)

Johnson counter uses feedback of complemented output

b)

Ring counter is synchronous, Johnson is asynchronous

c)

Johnson counter cannot be implemented in Verilog

d)

Ring counter always counts downward

11.

In Verilog, which sensitivity list ensures combinational behavior?

a)

always @(posedge clk)

b)

always @(*)

c)

always @(posedge reset)

d)

always @(negedge clk)

12.

A 3-bit asynchronous counter implemented with T flip-flops will have how many distinct states?

a)

4

b)

6

c)

7

d)

8

13.

The output of a JK flip-flop when J = K = 1 is:

a)

Reset

b)

Set

c)

No change

d)

Toggle

14.

Which of the following circuits can be built using only multiplexers?

a)

Half adder

b)

Full adder

c)

Decoder

d)

All of the above

15.

If a D flip-flop receives input D = 1 and clock pulses continuously, the output Q will:

a)

Remain at 1 after first clock

b)

Oscillate between 0 and 1

c)

Depend on reset only

d)

Be unpredictable