Answer the following questions true (T) or false (F)
1. A data type is a collection of a set of values together with a set of basic operations defined on the values.
2. An abstract data type is a collection of a set of values together with a set of basic operations defined on the values.
1. True
Explanation: Examples of a data type are int with +_*/% and other operations, double with +_*/.
2. false
Explanation: To qualify as an abstract data type, a data type must conceal the details of how the operations and values are implemented. The operations should be sufficiently documented that one can use them without knowing the implementation.
You might also like to view...
One possible technology for achieving the goal “Getting Dinner on the Table” would be a stove. What other technologies might be used to achieve this goal?
What will be an ideal response?
The contents of a Web page are displayed within a window known as the viewport.
Answer the following statement true (T) or false (F)
Compare and contrast the if single-selection statement and the while iteration statement. How are these two statements similar? How are they different?
What will be an ideal response?
In some database systems, the word "order" has a special purpose.
Answer the following statement true (T) or false (F)