Exam 4: Data Abstraction: The Walls

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Which of the following is true about runtime exceptions?

(Multiple Choice)
5.0/5
(37)

A default Java constructor has a single parameter.

(True/False)
4.8/5
(37)

A method indicates that an error has occurred by ______ an exception.

(Multiple Choice)
4.9/5
(36)

A(n)______ allows two modules to communicate with each other.

(Multiple Choice)
4.8/5
(35)

An ADT's ______ govern(s)what its operations are and what they do.

(Multiple Choice)
4.8/5
(47)

What does it mean for a class to "implement an interface" ?

(Essay)
4.7/5
(38)

What are the three types of operations on data?

(Essay)
4.8/5
(32)

Object-oriented programming views a program as ______.

(Multiple Choice)
4.9/5
(32)

What is information hiding?

(Essay)
4.9/5
(45)

In the following list: John,Kate,Fred,Mark,Jon,Adam,Drew Which element is the tail of the list?

(Multiple Choice)
4.9/5
(39)

What is a superclass?

(Essay)
4.8/5
(42)

Any instance of a subclass can be used in a program anywhere that an instance of the superclass can be used.

(True/False)
4.8/5
(37)

All constructors in Java have a return type of void.

(True/False)
4.8/5
(46)

A(n)______ can be used to precisely specify the behavior of each of the operations of an ADT.

(Multiple Choice)
4.9/5
(33)

Encapsulation combines an ADT's data with its operations to form a(n)______.

(Multiple Choice)
4.8/5
(36)

The specifications of an ADT's operations indicate ______.

(Multiple Choice)
4.9/5
(48)

The ______ keyword is used to call the constructor of the superclass.

(Multiple Choice)
4.8/5
(49)

In the following list: John,Kate,Fred,Mark,Jon,Adam,Drew Which element does not have a predecessor?

(Multiple Choice)
4.8/5
(42)

A method's contract includes the method's ______.

(Multiple Choice)
4.7/5
(34)

The insertion operation of the ADT list can insert new items ______.

(Multiple Choice)
4.8/5
(41)
Showing 21 - 40 of 60
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)