AP CSA Review

Quiz
•
Computers
•
11th Grade
•
Medium
Melanie Sirianni
Used 9+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Does this example show any method that are OVER LOADED?
Yes
No
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Does this example show any method that are OVERRIDDEN?
Yes
No
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Wayground
10 questions
Variables and Data Types

Quiz
•
10th - 12th Grade
10 questions
AP CS A Unit 6 Quiz PRACTICE

Quiz
•
9th - 12th Grade
12 questions
Java Strings

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

Quiz
•
10th - 12th Grade
16 questions
Python

Quiz
•
11th Grade
10 questions
ArrayLists

Quiz
•
11th - 12th Grade
10 questions
AP CS A Unit 7 Quiz PRACTICE

Quiz
•
9th - 12th Grade
10 questions
C#

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