MP1 Test 1 - Objects Classes and Methods

MP1 Test 1 - Objects Classes and Methods

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Coding Quiz

Coding Quiz

6th - 10th Grade

15 Qs

2.3.1 Graph Traversal & Path Finding Algorithms

2.3.1 Graph Traversal & Path Finding Algorithms

12th Grade - University

20 Qs

IT - TYPING TUTOR

IT - TYPING TUTOR

9th Grade

10 Qs

Security and Ethics

Security and Ethics

9th - 12th Grade

17 Qs

CIA Mid-Term Review 1

CIA Mid-Term Review 1

9th - 10th Grade

17 Qs

flowol week 3

flowol week 3

9th - 12th Grade

17 Qs

Tin học 11 chương I

Tin học 11 chương I

1st - 12th Grade

20 Qs

Pre-Assessment: ICT 10 Orientation Day

Pre-Assessment: ICT 10 Orientation Day

10th Grade

10 Qs

MP1 Test 1 - Objects Classes and Methods

MP1 Test 1 - Objects Classes and Methods

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Patrick Bryar

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1

An attribute of breed is String.

color, breed, and age are instances of the Cat class.

Cat is an instance of the myCat class.

age is an attribute of the myCat object.

An attribute of Cat is myCat.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. The object scaryMovie will be declared as type Movie.

Which of the following descriptions is accurate?

An attribute of the scaryMovie class is title.

scaryMovie is an instance of the Movie class.

Title, director, and rating are instances of the scaryMovie object.

An attribute of the Movie instance is scaryMovie

Movie is an instance of scaryMovie.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3

new Person john = Person("John", 16);

Person john("John", 16);

Person john = ("John", 16);

Person john = new Person("John", 16);

Person john = new Person(16, "John");

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4

8

10

11

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5

3

4

5

-1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6

An attribute of the liquid1 object is freezingPoint.

An instance of a Liquid object is hasFrozen.

An instance of the liquid1 class is Liquid.

An attribute of freezingPoint is liquid1.

An attribute of boilingPoint object is double.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7

painting1 is an instance of three String objects.

artist, title, and gallery are instances of the Artwork class.

Artwork is an instance of three String objects.

Artwork is an instance of the painting1 object.

painting1 is an instance of the Artwork class.

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?