MCQOPTIONS
Saved Bookmarks
This section includes 7 Mcqs, each offering curated multiple-choice questions to sharpen your Vhdl knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
It is given that the mode of a parameter is OUT mode but its class is not specified by the user. To which class does it belong? |
| A. | INTEGER |
| B. | CONSTANT |
| C. | VARIABLE |
| D. | SIGNAL |
| Answer» D. SIGNAL | |
| 2. |
Which of the following is the default mode of a parameter of procedure? |
| A. | IN |
| B. | OUT |
| C. | INOUT |
| D. | IN or INOUT |
| Answer» B. OUT | |
| 3. |
Which of the following is the default class of any parameter with its mode as IN? |
| A. | SIGNAL |
| B. | CONSTANT |
| C. | VARIABLE |
| D. | SIGNAL or VARIABLE |
| Answer» C. VARIABLE | |
| 4. |
The parameter of a procedure can have any of the three modes. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 5. |
A procedure can t contain a _______ statement. |
| A. | WAIT |
| B. | IF |
| C. | RETURN |
| D. | CASE |
| Answer» D. CASE | |
| 6. |
Which of the following could be the objects in the parameter list of a procedure? |
| A. | CONSTANTS, VARIABLES |
| B. | VARIABLES, SIGNALS |
| C. | CONSTANTS, SIGNALS |
| D. | CONSTANT, SIGNALS, VARIABLES |
| Answer» E. | |
| 7. |
Procedure doesn t have a return type. |
| A. | True |
| B. | False |
| Answer» B. False | |