Worksheets2023-2024 HDL Prelim Exam
Total questions: 43
Worksheet time: 22mins
What is the primary purpose of a Hardware Description Language (HDL)?
Computational tasks
Describing software algorithms
Describing hardware structures and behavior
Managing databases
Which type of language is an HDL considered to be?
Computational
Modeling
High-level
Low-level
What is the main function of a logic circuit?
Performing arithmetic operations
Storing data
Performing logical operations on input signals
Displaying graphical information
Which of the following is not a popular Hardware Description Language (HDL)?
C++
Verilog
VHDL
SystemVerilog
Which of the following is an example of a commonly used HDL?
Python
Verilog
Java
Ruby
What is a fundamental difference between hardware description languages (HDLs) and high-level programming languages like C or Python?
HDLs involve sequential operation, while programming languages involve parallel operation.
HDLs and programming languages are identical in terms of operation.
HDLs and programming languages are only used for software development.
HDLs are used for low-level programming, while programming languages are used for high-level programming.
In programming languages, how are lines of code typically executed?
Simultaneously
Randomly
Top-to-bottom, one at a time
From bottom to top
When working with HDL code, what are we primarily describing?
High-level software algorithms
Digital hardware
Networking protocols
Natural language text
In binary logic, how many distinct possible values can a variable have?
3
4
2
6
Which of the following symbols represents the logical AND operation?
+
×
∨
·
If x = 1 and y = 1, what is the result of the logical AND operation, xy?
1
0
2
3
How is the NOT operation typically represented in binary logic?
'
^
!
*
What is another term for the NOT operation in binary logic?
Inverter
Reverser
Doubler
Compressor
In a digital system, how are analog voltages typically interpreted?
As a continuous range of values
As negative values only
As binary values, either 0 or 1
As decimal values
What is the range of values for analog signals in a digital system?
0–1
-1 to 1
0–100
0–3 V
Hardware Description language is another form of Programming Language.
TRUE
FALSE
Arithmetic operations with numbers in binary follow the same rules as for decimal numbers.
TRUE
FALSE
Digital systems are used only in communication and can’t be change according the specific needs.
TRUE
FALSE
Number system is a writing system for expressing numbers in mathematical notation to present numbers or a given sets using digits or other symbols in an inconsistent manner.
TRUE
FALSE
Logic gates produce an output signal based on one or more physical input signals.
TRUE
FALSE
Binary logic consists of binary variables and a set of logical operations.
TRUE
FALSE
OR operation is represented by a dot or by the absence of an operator.
TRUE
FALSE
A truth table is a table of all possible combinations of the variables, showing the relation between the values that the variables may take and the result of the operation.
TRUE
FALSE
Logic gates are electronic circuits that operate on one or more physical input signals to produce an output signal.
TRUE
FALSE
Verilog is a programming language used to describe a digital system that will be eventually implemented.
TRUE
FALSE
Digital systems use a continuous range of values for representing data.
TRUE
FALSE
Logic gates are electronic circuits that perform arithmetic operations.
TRUE
FALSE
The NOT operation is sometimes represented by an overbar (¯) over the variable.
TRUE
FALSE
A truth table is a table that shows the relationship between all possible combinations of variables and the result of a logical operation.
TRUE
FALSE
The complement operation is another name for the OR operation.
TRUE
FALSE
At the minimum, a VHDL description of a digital logic circuit must include an __________ definition and an __________ definition.
(a)
It is possible to have more than one (a) definition for a given entity definition in VHDL.
An entity-architecture pair is used to describe all separately compilable _________ and _________.
(a)
In a structural description, the circuit is described as an interconnection of lower-level (a) .
(a) are special identifiers reserved to define the language constructs and are in lower case.
(a) are the names of variables so that they can be referenced later on.
A sequence of characters enclosed in a double quote (“ ” ) is called a (a) .
(a) is a term used to represent the characters for spaces and tabs.
A (a) starts with // and tells Verilog compiler to treat everything after this point to the end of the line as comment.
A (a) starts with /* and end with */ and cannot be nested.
(a) operators shall appear to the left of their operand.
(a) operators shall appear between operands.
(a) operators have two separate operators that separate three operands.
