Exam 11: More Object-Oriented Programming Concepts

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

Match each term with a statement below. -Sends an Exception object out of the current code block or method so it can be handled elsewhere

Free
(Multiple Choice)
4.9/5
(41)
Correct Answer:
Verified

I

Describe the Object class.

Free
(Essay)
4.9/5
(27)
Correct Answer:
Verified

In some programming languages,such as C#,Visual Basic,and Java,every class you create is a child of one ultimate base class,often called the Object class.The Object class usually provides you with some basic functionality that all the classes you create inherit-for example,the ability to show its memory location and name.

When you create a segment of code in which something might go wrong,you place the code in a ____ block.

Free
(Multiple Choice)
4.8/5
(41)
Correct Answer:
Verified

C

By using ____,you can use reasonable,easy-to-remember names for methods and concentrate on their purpose rather than on memorizing different method names.

(Multiple Choice)
4.8/5
(29)

Match each term with a statement below. -Errors in object-oriented languages

(Multiple Choice)
4.8/5
(34)

Match each term with a statement below. -Contains the actions you require when an instance of a class is destroyed

(Multiple Choice)
4.8/5
(41)

When you purchase or download a(n)____ for an object-oriented programming language,it comes packaged with many predefined,built-in classes.

(Multiple Choice)
4.9/5
(41)

Programmers sometimes refer to a situation in which nothing goes wrong as the ____ case.

(Multiple Choice)
4.9/5
(38)

Object-oriented programs employ a more specific group of techniques for handling errors called ____.

(Multiple Choice)
4.9/5
(36)

The built-in Exceptions in a programming language can cover every condition that might be an Exception in your applications.

(True/False)
4.8/5
(29)

____ are stored collections of classes that serve related purposes

(Multiple Choice)
4.8/5
(34)

You almost always code at least one catch block immediately following a(n)____________________ block.

(Short Answer)
4.9/5
(40)

Discuss exception handling.

(Essay)
4.7/5
(33)

If a constructor requires arguments,it is a ____ constructor.

(Multiple Choice)
4.7/5
(39)

Match each term with a statement below. -When a class contains objects of another class

(Multiple Choice)
4.8/5
(41)

Match each term with a statement below. -A block of code you attempt to execute while acknowledging that an exception might occur

(Multiple Choice)
4.7/5
(34)

In object-oriented terminology,"default constructor" means a constructor with a single standard parameter.

(True/False)
4.8/5
(37)

Match each term with a statement below. -Collections of classes that serve related purposes

(Multiple Choice)
4.9/5
(34)

Explain composition.

(Essay)
4.9/5
(36)

By using standard component classes,programmers are assured that the GUI components in their programs have the same look and feel as those in other programs.

(True/False)
4.8/5
(27)
Showing 1 - 20 of 60
close modal

Filters

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