#### Data Abstraction Important Questions

12th Standard EM

Reg.No. :
•
•
•
•
•
•

Computer Science

Time : 01:00:00 Hrs
Total Marks : 50
5 x 1 = 5
1. Which of the following functions that build the abstract data type ?

(a)

Constructors

(b)

Destructors

(c)

recursive

(d)

Nested

2. Which of the following functions that retrieve information from the data type?

(a)

Constructors

(b)

Selectors

(c)

recursive

(d)

Nested

3. Which of the following allow to name the various parts of a multi-item object?

(a)

Tuples

(b)

Lists

(c)

Classes

(d)

4. Which of the following is constructed by placing expressions within square brackets?

(a)

Tuples

(b)

Lists

(c)

Classes

(d)

(a)

Abstract Data Template

(b)

Absolute Data Type

(c)

Abstract Data Type

(d)

Application Development Tool

6. 5 x 2 = 10
7. What is abstract data type?

8. What is a List? Give an example.

9. What is a Tuple? Give an example.

10. Write the pseudo code for the representation of the rational number

11. Write a pseudocode to depressant rational numbers using list.

12. 5 x 3 = 15
13. Which strategy is used for program designing? Define that Strategy.

14. What are the different ways to access the elements of a list. Give example

15. Identify the constructor and selector from the following.
(I) City = Make city (name, lat, Ion)
(ii) Get name (city)
(ill) Make point (x,y)
(iv) x coord (point)
(v) y coord (point)

16. Write a note on Data Abstraction

17. Give an example of an ADT for rational numbers.

18. 2 x 5 = 10
19. What is a List? Why List can be called as Pairs. Explain with suitable example

20. Explain the representation of Abstract datatype using rational numbers.