Unit 2 Data Abstarction
Unit 2 Data Abstarction
Instructions:
(i) Check the question paper for fairness of printing. If there is any lack of fairness, inform the hall
supervisor immediately.
(ii) Use Black or Blue ink to write and pencil to draw diagram
PART - I 56 X 1 = 56
(i)-(1); (ii)-(2); (iii)- (i)-(4); (ii)-(3); (iii)- (i)-(4); (ii)-(3); (iii)- (i)-(3); (ii)-(2); (iii)-
a) b) c) d)
(3); (iv)-(4) (2); (iv)-(1) (2); (iv)-(1) (4); (iv)-(1)
4. Which of the following provides modularity?
a)Datatypes b)Subroutines c)Classes d)Abstraction
5. ADT can be implemented using ________.
a)singly linked list b)doubly linked list c)either A or B d)neither A nor B
6. Expansion of ADT:
Abstract Data All Data Abstract Data Application Data
a) b) c) d)
Tuple Template Type Type
7. Which of the following is and incorrect statement?
(i) ADT is defined by set of values and set of operations.
(ii) ADT does specify how data will be organized in the memory
(iii) Constructors are not used to built abstract data type.
(iv) Selectors are functions that retrieve information from the data type.
a)i and ii b)ii and iv c)ii and iii d)i, iii and iv
8. A __________ is not just data, it has functions defined within it.
a)Class b)List c)Pair d)Object
9. Tuple is constructed by using ________ and ________.
a)(), b)[], c)[],: d)(),:
10. A _________ is a comma separated values surround with parentheses.
a)List b)Tuple c)Set d)Dictionary
www.studyseeds.com/admin/get-question 1/4
12/27/22, 10:43 AM COMPUTER SCIENCE
www.studyseeds.com/admin/get-question 3/4
12/27/22, 10:43 AM COMPUTER SCIENCE
www.studyseeds.com/admin/get-question 4/4