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
Database Concepts

Quiz
•
11th Grade
17 questions
HTML

Quiz
•
7th - 12th Grade
11 questions
Python Classes and Objects

Quiz
•
9th - 12th Grade
15 questions
HTML Quiz

Quiz
•
7th - 12th Grade
13 questions
Web Design: Link, Image, List and Table

Quiz
•
9th - 12th Grade
12 questions
Understanding Entity Relationships

Quiz
•
12th Grade
17 questions
Chapter 2 Databases - ERD

Quiz
•
10th - 12th Grade
12 questions
HTML Basics Exit Questions

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade