Which of the following returns the Boolean type always?

Which of the following returns the Boolean type always?
A. ‘LAST_VALUE
B. ‘LAST_EVENT
C. ‘EVENT
D. ‘STABLE
 
Answer: c
Explanation: ‘EVENT is an attribute which returns a Boolean value always. It returns true if any transition has taken place on the given signal during the current delta. Otherwise, it returns false. It always takes a signal as its object and detects any change on the value.
 

Tìm kiếm

Back
Top