Exam 4: Data Abstraction: The Walls
Exam 1: Review of Java Fundamentals60 Questions
Exam 2: Principles of Programming and Software Engineering60 Questions
Exam 3: Recursion: the Mirrors60 Questions
Exam 4: Data Abstraction: The Walls60 Questions
Exam 5: Linked Lists60 Questions
Exam 6: Problem Solving With Abstract Data Types60 Questions
Exam 7: Stacks60 Questions
Exam 8: Queues60 Questions
Exam 9: Advanced Java Topics60 Questions
Exam 10: Algorithm Efficiency and Sorting60 Questions
Exam 11: Trees60 Questions
Exam 12: Tables and Priority Queues60 Questions
Exam 13: Advanced Implementations of Tables60 Questions
Exam 14: Graphs60 Questions
Exam 15: External Methods30 Questions
Select questions type
What is data abstraction?
Free
(Essay)
4.8/5
(39)
Correct Answer:
A data abstraction is a design principle that separates the operations that can be performed on a collection of data from the implementation of the operations.
Which of the following is true about a constructor in Java?
Free
(Multiple Choice)
4.9/5
(36)
Correct Answer:
C
By default,all members in a class are public.
Free
(True/False)
4.9/5
(38)
Correct Answer:
False
According to the principle of information hiding,a module should be completely isolated from other modules.
(True/False)
4.9/5
(32)
What feature of Java allows you to enforce information hiding when you define a class such as an ADT?
(Short Answer)
4.8/5
(29)
An application can use the operations of an ADT without knowing how the ADT is implemented.
(True/False)
5.0/5
(39)
Give three examples of ADT operations that ask questions about the data in a collection.
(Short Answer)
4.9/5
(38)
If an ADT list is implemented as an array,why would it be necessary for the ADT operations to "shift" elements?
(Essay)
4.9/5
(42)
What is the difference between the physical size and the logical size of an array?
(Essay)
4.7/5
(43)
Showing 1 - 20 of 60
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)