Attributes MCQ’s

Read Time:1 Minute, 9 Second

This set of VHDL Multiple Choice Questions & Answers (MCQs) focuses on “Attributes”.

1. Predefined attributes are defined as a part of _________ standard.
a) 1164
b) 1076
c) 1162
d) 1093

2. How many fundamental kinds of predefined attributes are there?
a) 2
b) 3
c) 4
d) 5

3. What is the use of an attribute?
a) To find all characteristics of an entity
b) To find all characteristics of architecture
c) To extract some additional information about some object
d) To extract information about clock signals

4. What is the basic syntax to write an attribute?
a) Object_name’ attribute_name (parameter)
b) Attribute_name’ Object_name (parameter)
c) Object_name : Attribute_name (parameter)
d) Attribute_name : Object_name (parameter)

5. How to declare a user defined attribute?
a) ATTRIBUTE name’ return_type;
b) ATTRIBUTE name : return_type;
c) ATTRIBUTE’ name : return_type;
d) ATTRIBUTE’ name’ return_type;

6. Which can’t be a result of a predefined attribute?
a) A value
b) A function
c) An entity
d) A signal

7. Array attributes are those which ________
a) Returns array type
b) Can be used on arrays
c) Can’t be used on arrays
d) Returns scalar values

8. Attributes on enumeration types are synthesizable.
a) True
b) False

9. Which of the following is used to extract information of non-array types?
a) Vector type
b) Scalar type
c) Non vector type
d) Array type

10. Attributes can be associated with the entities.
a) True
b) False

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Leave a Reply

Your email address will not be published. Required fields are marked *

Previous post Procedures – 2 MCQ’s
Next post Value Kind Attributes MCQ’s