Font size
WorksheetsSystemVerilog Multiple Choice Questions
Total questions: 120
Worksheet time: 3600secs
Which statement best describes 2-state versus 4-state data types in SystemVerilog?
4-state types model real values
4-state types are only for strings
2-state types model 0/1 only
2-state types include X and Z
In a UVM-style verification environment, which component primarily converts sequence items into pin-level activity on the DUT?
Driver
Monitor
Scoreboard
Sequencer
Which SystemVerilog array type grows automatically when new elements are assigned with arbitrary non-consecutive indices?
Static array
Associative array
Queue
Dynamic array
Which method returns the number of characters in a SystemVerilog string?
count()
size()
len()
length()
What is the main difference between blocking (=) and non-blocking (<=) assignments in procedural logic?
Non-blocking reads before write
Blocking updates at time 0
Non-blocking blocks next statement
Blocking executes sequentially
Which components typically observe DUT signals and convert them into transactions for checking?
Sequencers
Drivers
Scoreboards
Monitors
Which of the following are integral data types in SystemVerilog? Select all that apply.
real
int
byte
bit
Which array kind supports push_front(), push_back(), pop_front(), and pop_back()?
Dynamic array
Queue
Static array
Associative array
Which string method converts a decimal text like "42" into an integer value?
putc()
atoi()
atoreal()
getc()
What SystemVerilog feature declares a set of named values with type safety and predictable encoding?
enum
union
typedef
struct
In an associative array, which method checks whether a given key is present?
exists()
contains()
has()
find()
Which verification component compares DUT actual results against predicted results?
Driver
Scoreboard
Monitor
Environment
Which statement about packed versus unpacked arrays is accurate?
Packed affects bit-level layout
Packed used only for queues
Unpacked always dynamic sized
Unpacked stored contiguously bits
Which methods can iterate keys in an associative array? Select all that apply.
sort()
push_back()
next()
first()
Which timing control waits for a named event to be triggered?
repeat(4)
posedge clk
#5 delay
@event_name
Which component is responsible for generating stimulus sequences in a constrained-random environment?
Sequencer
Scoreboard
DUT
Monitor
Which built-in method sorts elements of a dynamic array in ascending order by default?
reverse()
sort()
unique()
sum()
Which SystemVerilog type represents double-precision floating-point numbers?
real
int
bit
shortint
Which string method retrieves a character at a given index?
substr()
char()
getc()
putc()
For non-blocking assignments inside an always_ff block, which behavior is correct regarding RHS and LHS timing?
RHS sampled before LHS update
LHS updates before RHS sample
RHS ignored until next cycle
RHS and LHS update immediately
