wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Digital Design Quiz - Round 2

Total questions: 10

Worksheet time: 38mins

Name
Class
Date
1.

The given code represents a/an

a)

Synchronous high reset

b)

Asynchronous low reset

c)

Synchronous low reset

d)

Asynchronous high reset

2.
  • Which statement/statements are correct about flip-flops and latches in design considerations?​

a)

In general, a flip-flop will consume more power than that of a latch.

b)

For similar features, a flip-flop will take lesser area than that of a latch.

c)

Clock boundaries are rigid for both flip-flops and latches

d)

None of the above are correct

3.

Which statement/statements are incorrect about a S-R flip-flop?

a)

Considering a positive edge-triggered S-R flip-flop, the output reflects the input condition when the clock pulse is high

b)

Binary storage register is one example of the use of S-R flip-flop

c)

S-R flip-flops can be used to create a transition pulse generator

d)

In a S-R flip-flop, the output is said to be set when Q=0

4.

Which of the following is not correct about struct literal?

a)
  • Nested braces are used to denote a struct.​

b)
  • structs can use a name with a value or use a data type and default value

c)

A struct should have a type and type can only be defined using a prefix

d)

None of the above 

5.
  • Assume that the initial state of Q1Q2=1x, what would be the state after 4 pulses?​

a)

X1

b)

01

c)

10

d)

Answer is missing

6.

A design engineer implemented a simpler decoder and encoder using parameterized tasks and functions in SystemVerilog. Please understand the below code segment and identify the correct simulation output he will get.

a)
  • Encoder input = 01000000 Encoder output = 010​

  • Decoder input = 11 Decoder output = 1000

b)
  • Encoder input = 01000000 Encoder output = 110​

  • Decoder input = 11 Decoder output = 1000

c)
  • Encoder input = 01000000 Encoder output = 11​

  • Decoder input = 11 Decoder output = 01000000

d)
  • Encoder input = 01000000 Encoder output = 110​

  • Decoder input = 110 Decoder output = 01000000

7.
  • Which of the following statement/staements are correct about a comparison between VHDL and Verilog (Select all that applies)? ​

a)
  • Packages are used for data type and subprograms declaration in Verilog, where as VHDL does not allow package definitions. ​

b)

VHDL and Verilog both have compiler directives.

c)
  • VHDL allows using user defined datatypes, where as Verilog does not allow users to define their own data type. ​

d)
  • Packages are used for data type and subprograms declaration in Verilog, where as VHDL does not allow package definitions. ​

8.

Which of the following is equivalent to 11010010000001011100111000.1001001001100011 in binary

a)
  • 3481738.9263 in octal​

b)
  • 55056184.5718131201171875 in decimal​

c)
  • 44A17B8.8267 in hexadecimal​

d)

None of the above

9.

Which of the following statements are correct about SystemVerilog constraints?

a)

Use of 4 state values are illegal inside constraints 

b)

Except implication operator, all other operators are treated bidirectionally in constraints 

c)

A constraint solver can fail when problem is over-constrained and there is no combination of random values that satisfy the constraints.

d)

Any SystemVerilog expression which includes variables and constants of integral type can be used inside constraints. 

10.

Which of the following is a function of a multiplexer? 

a)

It amplifies information

b)

It boosts information

c)

It removes noise

d)

Both a & b