MP1 Test 1 - Objects Classes and Methods

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Patrick Bryar
Used 2+ times
FREE Resource
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
Similar Resources on Wayground
15 questions
2D Arrays

Quiz
•
9th - 12th Grade
15 questions
AP Computer Science A Quiz

Quiz
•
12th Grade
20 questions
Quiz 4

Quiz
•
1st - 10th Grade
20 questions
Database

Quiz
•
12th Grade - University
20 questions
Java OOP Connections

Quiz
•
10th - 12th Grade
15 questions
Java Test 1

Quiz
•
10th Grade
11 questions
Object Oriented Programming

Quiz
•
12th Grade
15 questions
Database Concepts

Quiz
•
11th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade