Classes & Objects — Chapter Test

Answer all 5 questions, then submit. You need 60% to pass. Log in to save progress.

Question 1
The data an object holds (its attributes) is its…
Abehaviour
Bstate
Cmethod
Dclass
Question 2
A class is best described as a…
Asingle object
Bblueprint and factory for objects
Cprimitive type
Dloop
Question 3
Objects communicate with each other by…
Asharing global variables
Bmessage passing (calling methods)
Cdeleting each other
Dchanging the class name
Question 4
Writing 'class Student' creates a…
Aprimitive data type
Buser-defined data type
Ckeyword
Dloop
Question 5
Bundling an object's data together with its methods is called…
Ainheritance
Bencapsulation
Ccompilation
Diteration