Free Exam: Prog 1-2 Ch. 5 Quiz
Number of Questions in Test: 20
Number of Questions in Preview: 5
Register to view all questions.
Note: Answers are not shown below but will be copied with this test.
Copy this test to my quiz maker account
Register with ClassMarker to copy free tests to give to your Test takers.
Register nowQuestion 1
An "[b]Object[/b]" is:
I. A run-time Entity that contains data and responds to messages
II. A Software package that describes the characteristics of an object.
III. The template that contains variables and methods that make up the object
IV. The actual instantiated object created in memory
I. A run-time Entity that contains data and responds to messages
II. A Software package that describes the characteristics of an object.
III. The template that contains variables and methods that make up the object
IV. The actual instantiated object created in memory
Type: | Multiple choice |
Points: | 1 |
Randomize answers: | No |
Question 2
A "[b]Class[/b]" is:
I. A run-time entity that contains data and responds to messages
II. A software package or template the describes the characteristics of objects
III. A Method declaration for a single method
I. A run-time entity that contains data and responds to messages
II. A software package or template the describes the characteristics of objects
III. A Method declaration for a single method
Type: | Multiple choice |
Points: | 1 |
Randomize answers: | Yes |
Question 3
[b]Objects[/b], when instantiated, have 3 characteristics. Which answer below correctly names what these 3 characteristics are?
Type: | Multiple choice |
Points: | 1 |
Randomize answers: | Yes |
Question 4
Which of the following are [b]primitive[/b] data types?
Type: | Multiple choice |
Points: | 1 |
Randomize answers: | Yes |
Question 5
What does "instantiation" do for you?
Type: | Multiple choice |
Points: | 1 |
Randomize answers: | Yes |