Content Frame
Note for screen reader users: There is text between the form elements on this page. To be sure that you do not miss any text, use item by item navigation methods, rather than tabbing from form element to form element
[Skip Breadcrumb Navigation]
Home  arrow Student Resources  arrow Chapter Quizzes  arrow Chapter 12

Chapter 12
Chapter 12 Quiz: Classes, Exceptions, Collections, and Scrollable Controls

This activity contains 10 questions.

Question 1
1 __________________ programming is a way of designing and coding applications such that interchangeable software components can be used to build larger programs.
 
End of Question 1


Question 2
2 The portion of the class that is visible to the application programmer is the :
 
End of Question 2


Question 3
3 ___________ describe the properties that all objects in the same class have in common.
 
End of Question 3


Question 4
4 A variable declared inside a class declaration is called a ___________ variable.
 
End of Question 4


Question 5
5 A function that defines a class property is known as a ______________.
 
End of Question 5


Question 6
6 A sub procedure or a function that is member of a class is called a ___________.
 
End of Question 6


Question 7
7 A _________ is a method named New that is automatically called each time an instance of a class is created.
 
End of Question 7


Question 8
8
Open Hint for Question 8 in a new window
Which of the following statements are true?

i. A collection is similar to an array in that they are both single units that contain multiple items in which individual items are designated by an index.

ii. The index subscript begins at 0 for both a collection and an array.

iii. In a collection, the individual items do not have to be the same datatype.

iv. Collections automatically expand or contract as items are added or removed from the collection.

 
End of Question 8


Question 9
9 The __________ property holds the number of items stored in a collection.
 
End of Question 9


Question 10
10 _____________ allows you to create new classes that derive characteristics from existing classes.
 
End of Question 10





Some questions in this exercise may have more than one correct answer. To answer such questions correctly, you must select all the correct answers. Also note that answer choices in this exercise appear in a different order each time the page is loaded.




Copyright © 1995-2008, Pearson Education, Inc., publishing as Pearson Addison Wesley
Legal and Privacy Terms
Pearson Education

[Return to the Top of this Page]