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...
In Word, a ________ control is an area in a template indicated by placeholder text that can be used to add text, pictures, dates, or lists
Fill in the blank(s) with correct word
Table gridlines are the same as slide gridlines
Indicate whether the statement is true or false