AP CSA Review

AP CSA Review

11th Grade

14 Qs

quiz-placeholder

Similar activities

Two-Dimensional Array

Two-Dimensional Array

9th - 12th Grade

12 Qs

Conditionals & Arrays

Conditionals & Arrays

9th - 12th Grade

15 Qs

Unit 6 Arrays

Unit 6 Arrays

10th - 12th Grade

14 Qs

Variables and Data Types

Variables and Data Types

10th - 12th Grade

10 Qs

AP CS A Unit 6 Quiz PRACTICE

AP CS A Unit 6 Quiz PRACTICE

9th - 12th Grade

10 Qs

Java Strings

Java Strings

9th - 12th Grade

12 Qs

AP Computer Science A Review 1

AP Computer Science A Review 1

10th - 12th Grade

15 Qs

Python

Python

11th Grade

16 Qs

AP CSA Review

AP CSA Review

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Melanie Sirianni

Used 9+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of these declarations is illegal?

Shape foo = new Rectangle();

Shape bar = new Square();


Rectangle zim = new Square();

Ellipse dib = new Shape();


Ellipse gaz = new Circle();

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Does this example show any method that are OVER LOADED?

Yes

No

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Does this example show any method that are OVERRIDDEN?

Yes

No

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Does this example show any POLYMORPHIC methods?

Yes

No

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is returned by the .add( Object E) method in the ArrayList class?

true

The object that is added

The position where the object is added

It has a void return type. Nothing is returned

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Consider the following code segment.


System.out.println("W");

System.out.println("X");

System.out.print("Y");

System.out.print("Z");


What is printed as a result of executing the code segment?

WXYZ

W

XYZ

WX

YZ

W

X

YZ

W

X

Y

Z

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Consider the following code segment.


String str = "AP";

str += "CS " + 1 + 2;

System.out.println(str);


What is printed as a result of executing the code segment?

CS AP12

AP CS3

CSAP 12

APCS 12

APCS 3

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?