MCQOPTIONS
Saved Bookmarks
This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Vhdl knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
A_USER_WANTS_A_CONSTANT_TO_BE_DECLARED_IN_SUCH_A_WAY_THAT_IT_CAN_BE_ACCESSIBLE_BY_WHOLE_CODE,_WHERE_SHOULD_THE_USER_DECLARE_THIS_CONSTANT??$ |
| A. | Package |
| B. | Entity |
| C. | Architecture |
| D. | Configuration |
| Answer» B. Entity | |
| 2. |
Which_of_the_following_is_the_default_type_of_ports_of_an_entity?$ |
| A. | Variables |
| B. | Constants |
| C. | Signals |
| D. | Functions |
| Answer» D. Functions | |
| 3. |
What is the scope of a constant declared in an entity? |
| A. | Local to the entity |
| B. | Global to the whole code |
| C. | Local to the port |
| D. | Global to the entity and all the architecture associated |
| Answer» E. | |
| 4. |
Which of the following can’t be declared in an architecture?$ |
| A. | Signal |
| B. | Constant |
| C. | Variable |
| D. | BIT_VECTOR |
| Answer» D. BIT_VECTOR | |
| 5. |
A constant is declared in Architecture, it will be accessible in ________ |
| A. | Whole code |
| B. | Within the same architecture |
| C. | In the entity associated and corresponding architecture |
| D. | In the process within the architecture |
| Answer» C. In the entity associated and corresponding architecture | |
| 6. |
Which of the following is local to the block in which it is declared? |
| A. | Signal |
| B. | Integer |
| C. | Constant |
| D. | Variable |
| Answer» E. | |
| 7. |
How to declare a constant in VHDL? |
| A. | CONSTANT name : type := value; |
| B. | CONSTANT name := value; |
| C. | CONSTANT name := type := value; |
| D. | CONSTANT name := type : value; |
| Answer» B. CONSTANT name := value; | |
| 8. |
Use of constants is to _________ |
| A. | Represent wires |
| B. | Represent local information |
| C. | Represent default value |
| D. | Pass value between entities |
| Answer» D. Pass value between entities | |
| 9. |
What is the use of a variable? |
| A. | To represent local value |
| B. | To represent default value |
| C. | To set default value |
| D. | To declare a subprogram |
| Answer» B. To represent default value | |
| 10. |
Which of the following is the correct use of the signal? |
| A. | To set default value |
| B. | To pass value between circuits |
| C. | To declare a variable |
| D. | To represent local information |
| Answer» C. To declare a variable | |