AP CSA Unit Review #2

Quiz
•
Computers
•
9th Grade
•
Medium
ANTHONY MEDINA
Used 8+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider the following code segment. What is the name of the superclass?
Lion
turnRight()
AnimalKingdom
SuperLion
Zoo
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank. Inheritance represents a/an _______ relationship.
has-a
has-many
is-a
is-many
none of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement below is true regarding the class declarations?
I. Drinks is a subclass of GingerAle
II. Soda is a superclass of GingerAle
III. GingerAle is a subclass of Soda
IV. GingerAle is a superclass of Drinks
I only
III only
I and II
II and IV
II and III
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the most number of times that the turnLeft( ) method would be called
0
2
3
4
infinite
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following Book and AudioBook classes. The following code segment occurs in a class other than Book or AudioBook.
Book mack = new Book( );
Which of the following code segments, written in the same class, would not run?
mack.getTitle( )
mack.getAuthor( )
mack.getNumPages( )
mack.read( )
mack.getNarrator( )
Similar Resources on Wayground
10 questions
Arrays

Quiz
•
10th - 12th Grade
10 questions
Arrays

Quiz
•
11th Grade
7 questions
What Do You Remember About Inheritance

Quiz
•
9th - 12th Grade
10 questions
Java Programming Challenge

Quiz
•
11th Grade
9 questions
Grafuri - test grila

Quiz
•
11th Grade
10 questions
Java Inheritance

Quiz
•
11th Grade - University
10 questions
OOP2 Understanding Inheritance in OOP

Quiz
•
11th Grade
6 questions
Review of inheritance & polymorphism

Quiz
•
12th 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