AP CSA 2.1 (Objects: Instances of Classes)

AP CSA 2.1 (Objects: Instances of Classes)

10th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

DBMS Quiz 3

DBMS Quiz 3

1st - 10th Grade

10 Qs

Alice Chapter - 1

Alice Chapter - 1

7th - 10th Grade

10 Qs

QUIZ-I-OBJECT ORIENTED PROGRAMMING WITH C++

QUIZ-I-OBJECT ORIENTED PROGRAMMING WITH C++

10th Grade - University

10 Qs

OOP Terms and Concepts

OOP Terms and Concepts

10th Grade - University

10 Qs

Object Oriented Programming

Object Oriented Programming

12th Grade

11 Qs

Object Oriented Programming

Object Oriented Programming

12th Grade

8 Qs

Methods

Methods

9th - 12th Grade

8 Qs

Python Classes

Python Classes

9th - 12th Grade

11 Qs

AP CSA 2.1 (Objects: Instances of Classes)

AP CSA 2.1 (Objects: Instances of Classes)

Assessment

Quiz

Computers

10th - 12th Grade

Medium

Created by

Herman Galioulline

Used 27+ times

FREE Resource

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.