Choose the correct option---
1) __________________is NOT the component of data structure.
a) Operations
c) Algorithms
b) Storage Structures
d)None of above
2) Which of the following aretrue about the characteristics of abstract data types?
a) It exports a type.
b) It exports a set of elements
c) It exports a set of operations
d) It exports a set of arrays
3) Each array declaration need not give, implicitly or explicitly, the information about a) The name of array
b) The first data from the set to be stored
c)The data type of array
d) the index set of the array
Answers
Answer:
1-c) Algorithms
2-c) It exports a set of operations
3-a) The name of array
Explanation:
hope it helps
1) Data Structure consists of data definitions, data elements, statuses, and tags. That means it contains information about data such as data type, data size, and inputs.
Therefore, (d) None of the above is NOT the component of data structure.
2) Abstract Data Type is a data type where the object values are stored but the logical operations are hidden which means the operations are not implemented.
Therefore based on the options, the below values are true.
a) It exports a type b) It exports a set of elements c) It exports a set of operations.
3) Basically, an array can be declared as its name, its type, and index value.
Therefore, for each array declaration the information about b) The first data from the set to be stored.