
Ap CSA Unit 6 review
Authored by Chanel Harvey
Other
12th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type would be most appropriate for storing a true or false value
string
int
boolean
double
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to create a new instance of an array in Java
def
new
class
struct
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To access the first element in an array named "data", which index would you use
data[-1]
data[0]
data[1]
data[first]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is information hidden inside a Java class encapsulated
by using private access modifiers
by declaring static meathods
by implementing interfaces
by creating abstract classes
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when an array is created using the keyword new?
Elements are initialized with random values
Elements are initialized to 1
Elements are initialized based on their data type
Elements are initialized to null
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true regarding array indices?
Index values start from 1 and go up to the size of the array
Index values start from 0 and go up to one less than the size of the array
Index values are negative integers
Index values are not used in arrays
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What exception is thrown if an attempt is made to access an index outside the valid range of an array?
ArrayOutOfBoundsException
IndexOutOfRangeException
ArrayIndexOutOfBoundsException
nvalidIndexException
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Mengenal Administrasi dalam Organisasi
Quiz
•
12th Grade - University
10 questions
SAFETY IN THE WORKPLACE
Quiz
•
9th - 12th Grade
12 questions
Tour guiding: LO1
Quiz
•
12th Grade
10 questions
Símbolos Nacionais e Estaduais do Brasil
Quiz
•
11th Grade - University
10 questions
Teks Editorial
Quiz
•
12th Grade
10 questions
Integrasi Aplikasi Perkantoran
Quiz
•
10th Grade - University
11 questions
Rules of Composition Refresher
Quiz
•
12th Grade
13 questions
ASESMEN DAN REFLEKSI
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
23 questions
CCG - CH8 Polygon angles and area Review
Quiz
•
9th - 12th Grade
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade