Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. The application view of a data structure is associated with which of the foll

ID: 3690122 • Letter: 1

Question

1. The application view of a data structure is associated with which of the following?

2. The implementation view of a data structure is associated with which of the following?

3. The logical view of a data structure is associated with which of the following?

a) What?

b) Why?

c) How?

4. True or False? The members of a struct are public by default.

5. True or False? The members of a class are public by default.

6. True or False? A struct differs from an array in that its elements need not occupy a consecutive block of memory cells.

7. True or False? Exceptions must be handled within the function in which they occur.

8. True or False? Code that can cause an exception should be enclosed within a try clause.

9. True or False? Exception handlers are enclosed within a catch clause.

10. True or False? Each try/catch statement can have only one catch clause.

a) What? b) Why? c) How?

Explanation / Answer

1. The correct option is c)How?
Explanation : The application view is how the application visualizes the data

data structure to end users.

2. The correct option is a)How?
Explanation : The implementation view of a data structure specifies the how

the structure representation to hold data items and coding for operations.

3. The correct option is a)what?
Explanation: The logical view represents the abstract view of domain and

operations of data structure.

4.The correct option is a)True
Explanation : The members of structure are public by default.

5.The correct option is a)True
Explanation : The members of class are public by default.

6.The correct option is b)False
Explanation :
A struct differs from an array in that its elements can occupy a

consecutive block of memory cells. The memory block is not cosecutivly
occupied for structur array variables.

7.The correct option is b)False
Explanation :
Exceptions can be handled outside the function in which they occur.

8. The correct option is a)True
Explanation :
Code that can cause an exception should be enclosed within a try clause.
The code that causes the exception must be in try block so that that throws

an exception.

9. The correct option is a)True
Explanation :Exception handlers are enclosed within a catch clause.

10. The correct option is b)False
Explanation :Each try/catch statement can have any number of catch clause.