Search Header Logo

AP CSA 2.1 (Objects: Instances of Classes)

Authored by Herman Galioulline

Computers

10th - 12th Grade

Used 30+ times

AP CSA 2.1 (Objects: Instances of Classes)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

artist, title, and album are instances of the Song class.

happyBirthday is an instance of three String objects.

happyBirthday is an instance of the Song class.

Song is an instance of the happyBirthday object.

Song is an instance of three String objects.

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

An instance of the story class is Book.

An instance of the Book object is story.

An attribute of the story object is isHardcover.

An attribute of the pages object is Book.

An attribute of the Book instance is story.

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

An instance of the vehicle class is Car.

An instance of the Car object is vehicle.

An attribute of the year object is int.

An attribute of the vehicle object is color.

An attribute of the Car instance is vehicle.

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

greg is an instance of the Student class.

greg is an instance of the updateAverage method.

greg is an instance of three attributes.

Student is an instance of the greg object.

updateAverage is an instance of the Student class.

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

origin is an instance of the printXY method.

origin is an instance of the OrderedPair class.

origin is an instance of two int objects.

OrderedPair is an instance of the origin object.

printXY is an instance of the OrderedPair class.

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

An attribute of the penelope object is email.

An attribute of the penelope object is Parent.

An attribute of the penelope object is Student.

An attribute of the mrsPatel object is studentName.

An attribute of the mrsPatel object is email.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?