AP CSA Unit Review #2

AP CSA Unit Review #2

9th Grade

5 Qs

quiz-placeholder

Similar activities

R082 Book Cover Assets planning

R082 Book Cover Assets planning

7th - 12th Grade

10 Qs

IT

IT

9th - 12th Grade

9 Qs

Trillions of Questions - Google Video

Trillions of Questions - Google Video

8th - 12th Grade

10 Qs

Quiz

Quiz

2nd Grade - University

10 Qs

Types of Animation

Types of Animation

7th - 11th Grade

10 Qs

History of Computing

History of Computing

9th - 12th Grade

10 Qs

Guidelines for Proposals

Guidelines for Proposals

9th - 12th Grade

10 Qs

IT opakování

IT opakování

5th - 9th Grade

9 Qs

AP CSA Unit Review #2

AP CSA Unit Review #2

Assessment

Quiz

Computers

9th Grade

Practice Problem

Medium

Created by

ANTHONY MEDINA

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

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

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

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

Media Image

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

Media Image

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

Media Image

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( )

Access all questions and much more by creating a free account

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

Already have an account?