

MCQOPTIONS
Saved Bookmarks
This section includes 22 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 returns TRUE if there is no component instantiation statement in the block? |
A. | ‘STRUCTURE |
B. | ‘BLOCK_COMPONENT |
C. | ‘BLOCK_BEHAVIOUR |
D. | ‘BEHAVIOR |
Answer» E. | |
2. |
What kind of information is provided by the value block attributes? |
A. | About the block name |
B. | About the modeling of block |
C. | About the architecture name |
D. | About the inputs used in block |
Answer» C. About the architecture name | |
3. |
Which of the following attribute is available for all types? |
A. | ‘LEFT |
B. | ‘ASCENDING |
C. | ‘BASE |
D. | ‘HIGH |
Answer» D. ‘HIGH | |
4. |
For which of the following declarations, the value returned by ‘ASCENDING attribute will be true? |
A. | For array_1 only |
B. | For array_2 only |
C. | For both array_1 and array_2 |
D. | Neither for array_1 nor for array_2View Answer |
Answer» B. For array_2 only | |
5. |
Which of the following is the return type of value T’ASCENDING? |
A. | Bit |
B. | Integer |
C. | Boolean |
D. | Same as T |
Answer» D. Same as T | |
6. |
The formula for T’LENGTH is best described by which of the following? |
A. | T’HIGH – T’LOW + 1 |
B. | T’HIGH – T’LOW |
C. | T’HIGH + T’LOW – 1 |
D. | T’HIGH + T’LOW |
Answer» B. T’HIGH – T’LOW | |
7. |
What will be the value of my_array’LENGTH, if my_array is defined as below code? |
A. | 15 |
B. | 16 |
C. | 0 |
D. | 32View Answer |
Answer» C. 0 | |
8. |
What will be the type of value returned by the attribute T’LENGTH? |
A. | BIT |
B. | INTEGER |
C. | STD_LOGIC |
D. | BOOLEAN |
Answer» C. STD_LOGIC | |
9. |
What will be the value of x and y in the code given below? |
A. | 0, 0 |
B. | 0, 15 |
C. | 15, 0 |
D. | 15, 15View Answer |
Answer» D. 15, 15View Answer | |
10. |
What will be the value of x and y? |
A. | 0, 0 |
B. | 0, 15 |
C. | 15, 0 |
D. | 15, 15View Answer |
Answer» E. | |
11. |
What does the attribute T’HIGH returns? |
A. | Upper bound of the object |
B. | Lower bound of the object |
C. | Highest value of the object |
D. | Rightmost value of the object |
Answer» B. Lower bound of the object | |
12. |
If T is an object, then T’LEFT attribute returns ________ |
A. | Upper bound of object |
B. | Leftmost value of object |
C. | Leftmost value of an array |
D. | Lower bound of the object |
Answer» C. Leftmost value of an array | |
13. |
0,_0?$ |
A. | 0, 15 |
B. | 15, 0 |
C. | 15, 15 |
Answer» C. 15, 15 | |
14. |
What_will_be_the_type_of_value_returned_by_the_attribute_T’LENGTH?$# |
A. | BIT |
B. | INTEGER |
C. | STD_LOGIC |
D. | BOOLEAN |
Answer» B. INTEGER | |
15. |
Which of the following is return type of value T’ASCENDING?$ |
A. | Bit |
B. | Integer |
C. | Boolean |
D. | Same as T |
Answer» C. Boolean | |
16. |
The formula for T’LENGTH is best described by which of the following?$ |
A. | T’HIGH – T’LOW + 1 |
B. | T’HIGH – T’LOW |
C. | T’HIGH + T’LOW – 1 |
D. | T’HIGH + T’LOW |
Answer» D. T‚Äö√Ñ√∂‚àö√ë‚àö¬•HIGH + T‚Äö√Ñ√∂‚àö√ë‚àö¬•LOW | |
17. |
0, 0 |
A. | 0, 15 |
B. | 15, 0 |
C. | 15, 15 |
Answer» D. | |
18. |
What does the attribute T’HIGH returns?$ |
A. | Upper bound of the object |
B. | Lower bound of the object |
C. | Highest value of the object |
D. | Rightmost value of the object |
Answer» B. Lower bound of the object | |
19. |
If T is an object, then T’LEFT attribute returns ________$ |
A. | Upper bound of object |
B. | Leftmost value of object |
C. | Leftmost value of an array |
D. | Lower bound of the object |
Answer» C. Leftmost value of an array | |
20. |
Which of the following is not a category of Value kind attribute? |
A. | Value type attributes |
B. | Value array attributes |
C. | Value block attributes |
D. | Value function attributes |
Answer» E. | |
21. |
Value attributes are classified into _______ subclasses. |
A. | 1 |
B. | 2 |
C. | 3 |
D. | 4 |
Answer» D. 4 | |
22. |
What does a value kind attribute return? |
A. | A single value |
B. | A signal |
C. | A function |
D. | A type |
Answer» B. A signal | |