MCQOPTIONS
Saved Bookmarks
This section includes 20 Mcqs, each offering curated multiple-choice questions to sharpen your Vhdl knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
In STD_LOGIC_1164, the resolution function for ______ is not provided. |
| A. | STD_LOGIC |
| B. | STD_LOGIC_VECTOR |
| C. | STD_ULOGIC |
| D. | STD_ULOGIC_VECTOR |
| Answer» D. STD_ULOGIC_VECTOR | |
| 2. |
Following lines are a part of _______ package. |
| A. | STANDARD |
| B. | STD_LOGIC_ARITH |
| C. | STD_LOGIC_1164 |
| D. | WORKView Answer |
| Answer» D. WORKView Answer | |
| 3. |
Which of the following package may contain the given statement? |
| A. | STD_LOGIC_1164 |
| B. | STANDARD |
| C. | STD_LOGIC_ARITH |
| D. | WORKView Answer |
| Answer» E. | |
| 4. |
The following statement must be in _______ package. |
| A. | STD_LOGIC_1164 |
| B. | STANDARD |
| C. | STD_LOGIC_ARITH |
| D. | IEEEView Answer |
| Answer» C. STD_LOGIC_ARITH | |
| 5. |
The basic arithmetic function provided by STD_LOGIC_ARITH is for ______ data type. |
| A. | STD_LOGIC_VECTOR |
| B. | STD_LOGIC |
| C. | INTEGER |
| D. | CHARACTER |
| Answer» B. STD_LOGIC | |
| 6. |
What is another name for STD_LOGIC_ARITH package? |
| A. | STD_LOGIC_1164 |
| B. | STD_LOGIC_NUMERIC |
| C. | NUMERIC_STD |
| D. | ARITH_STD |
| Answer» D. ARITH_STD | |
| 7. |
Which package defines the data type STD_LOGIC_SIGNED? |
| A. | STD_LOGIC_1164 |
| B. | STD_LOGIC_ARITH |
| C. | STD_LOGIC_NUMERIC |
| D. | IEEE |
| Answer» C. STD_LOGIC_NUMERIC | |
| 8. |
Which of the following package need not to be a part of the VHDL code? |
| A. | STANDARD |
| B. | STD_LOGIC_1164 |
| C. | TEXTIO |
| D. | STD_LOGIC_ARITH |
| Answer» B. STD_LOGIC_1164 | |
| 9. |
WHICH_PACKAGE_DEFINES_THE_DATA_TYPE_STD_LOGIC_SIGNED??$ |
| A. | STD_LOGIC_1164 |
| B. | STD_LOGIC_ARITH |
| C. | STD_LOGIC_NUMERIC |
| D. | IEEE |
| Answer» C. STD_LOGIC_NUMERIC | |
| 10. |
The basic arithmetic function provided by STD_LOGIC_ARITH is for ______ data type.$ |
| A. | STD_LOGIC_VECTOR |
| B. | STD_LOGIC |
| C. | INTEGER |
| D. | CHARACTER |
| Answer» B. STD_LOGIC | |
| 11. |
What_is_another_name_for_STD_LOGIC_ARITH_package?$ |
| A. | STD_LOGIC_1164 |
| B. | STD_LOGIC_NUMERIC |
| C. | NUMERIC_STD |
| D. | ARITH_STD |
| Answer» D. ARITH_STD | |
| 12. |
STD_LOGIC_1164 |
| A. | STANDARD |
| B. | STD_LOGIC_ARITH |
| C. | WORK |
| Answer» D. | |
| 13. |
What is the most important use of STD_LOGIC_1164 package? |
| A. | To define and use parallel operations |
| B. | To use concurrent code |
| C. | To use sequential code |
| D. | Multi value logic system |
| Answer» E. | |
| 14. |
The STD_LOGIC_1164 package is contained by _______ library. |
| A. | STD |
| B. | WORK |
| C. | STD_LOGIC |
| D. | IEEE |
| Answer» E. | |
| 15. |
Among the four packages given below, which is the most used package of VHDL? |
| A. | STD_LOGIC_1164 |
| B. | TEXTIO |
| C. | STD_LOGIC_ARITH |
| D. | NUMERIC_STD |
| Answer» B. TEXTIO | |
| 16. |
TEXTIO package is included in the code by default. |
| A. | True |
| B. | False |
| Answer» C. | |
| 17. |
Which statement is correct to include a package in the code where we need to read from and write to text files? |
| A. | USE STD.TEXT.all; |
| B. | USE STD.TEXTIO.all; |
| C. | USE IEEE.TEXTIO.all; |
| D. | USE IEEE.TEXT.all; |
| Answer» C. USE IEEE.TEXTIO.all; | |
| 18. |
Which of the following is not defined in the STANDARD package? |
| A. | Basic data types |
| B. | Functions for different operations for data types |
| C. | Functions to read from the text files |
| D. | Functions for arithmetic operators |
| Answer» D. Functions for arithmetic operators | |
| 19. |
In which of the following library, the package STANDARD defined? |
| A. | IEEE |
| B. | STD |
| C. | WORK |
| D. | STD_LOGIC |
| Answer» C. WORK | |
| 20. |
Which of the following package need not to be a part of VHDL code? |
| A. | STANDARD |
| B. | STD_LOGIC_1164 |
| C. | TEXTIO |
| D. | STD_LOGIC_ARITH |
| Answer» B. STD_LOGIC_1164 | |