MCQOPTIONS
Saved Bookmarks
This section includes 17 Mcqs, each offering curated multiple-choice questions to sharpen your Vhdl knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which of the following is the use of IF generation? |
| A. | To handle repeating pattern of design |
| B. | To handle exceptional cases of design |
| C. | To design full adder circuit |
| D. | To connect input instances with output |
| Answer» C. To design full adder circuit | |
| 2. |
What is the use of FOR generation? |
| A. | For describing the exceptional signals |
| B. | For describing the repeating structures |
| C. | For describing half adder circuit |
| D. | For any exceptional cases of structure |
| Answer» C. For describing half adder circuit | |
| 3. |
What will be the values of out1 and out2? |
| A. | out1 = 0 and out2 = 0 |
| B. | out1 = 0 and out2 = 1 |
| C. | out1 = 1 and out2 = 0 |
| D. | out1 = 1 and out2 = 1View Answer |
| Answer» D. out1 = 1 and out2 = 1View Answer | |
| 4. |
Which of the following statement is used to describe regular structures? |
| A. | BLOCK |
| B. | GENERATE |
| C. | USE |
| D. | GUARDED BLOCK |
| Answer» C. USE | |
| 5. |
Which of the following is true about guarded blocks? |
| A. | Guarded blocks can have only guarded statements |
| B. | Guarded blocks can have both guarded as well as unguarded statements |
| C. | Guarded blocks are executed when guarded expression is false |
| D. | Guarded expression can have BIT type |
| Answer» C. Guarded blocks are executed when guarded expression is false | |
| 6. |
Guarded blocks are synthesizable. |
| A. | True |
| B. | False |
| Answer» C. | |
| 7. |
What should be the type of the value of guard expression? |
| A. | BOOLEAN |
| B. | INTEGER |
| C. | REAL |
| D. | BIT_VECTOR |
| Answer» B. INTEGER | |
| 8. |
Guarded block has an extra ________ expression. |
| A. | Conditional |
| B. | Declarative |
| C. | Block |
| D. | Guard |
| Answer» E. | |
| 9. |
Which of the following defines the interface to the block? |
| A. | Block declaration part |
| B. | Block header |
| C. | Block statement part |
| D. | Generic declaration part |
| Answer» C. Block statement part | |
| 10. |
WHICH_OF_THE_FOLLOWING_DEFINES_THE_INTERFACE_TO_THE_BLOCK??$ |
| A. | Block declaration part |
| B. | Block header |
| C. | Block statement part |
| D. | Generic declaration part |
| Answer» D. Generic declaration part | |
| 11. |
What should be the type of the value of guard expression?$ |
| A. | BOOLEAN |
| B. | INTEGER |
| C. | REAL |
| D. | BIT_VECTOR |
| Answer» C. REAL | |
| 12. |
Guarded block has an extra ________ expression.$ |
| A. | Conditional |
| B. | Declarative |
| C. | Block |
| D. | Guard |
| Answer» B. Declarative | |
| 13. |
A block can be nested within another block. |
| A. | True |
| B. | False |
| Answer» C. | |
| 14. |
Which of the following is better for design partitioning? |
| A. | Guarded block |
| B. | Unguarded block |
| C. | Component instantiation |
| D. | Component declaration |
| Answer» C. Component instantiation | |
| 15. |
What is the main purpose of using blocks? |
| A. | To improve reusability |
| B. | To improve conditional execution |
| C. | To improve readability |
| D. | To improve speed of execution |
| Answer» C. To improve readability | |
| 16. |
What is the scope of variables or signals declared in the block statement? |
| A. | Global to the design |
| B. | Local to the architecture |
| C. | Local to the block itself |
| D. | Local to the entity of which architecture is defined |
| Answer» C. Local to the block itself | |
| 17. |
What do you mean by a block? |
| A. | An object of architecture |
| B. | Interconnection of two or more signals |
| C. | A part of an entity |
| D. | A sub module in an architecture body |
| Answer» E. | |