❄⛄AP CSA - Unit 6 Review
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following correctly defines and instantiates an array that can store 18 integers? A. int[] array;, B. int[] array = new int[18];, C. int[] array = new int[19];, D. int[18] array;, E. None of these
Back
int[] array = new int[18];
2.
FLASHCARD QUESTION
Front
What is the output of this code segment?
int[ ] array = {33 ,14 ,37 ,11 ,27 };
System.out.println(array[array.length]);
Back
index out of bounds exception
3.
FLASHCARD QUESTION
Front
What are the values in a after multAll(3) executes?
Back
{3, 9, -15, -6}
4.
FLASHCARD QUESTION
Front
What is the output of the following code?
Back
15
5.
FLASHCARD QUESTION
Front
What is the output?
Back
14
6.
FLASHCARD QUESTION
Front
What is output by the code at right?
Back
72
7.
FLASHCARD QUESTION
Front
What values are stored in arr after the following code segment has been executed? Options: A. 2 1 4 3 6 5 7 5, B. 1 3 2 5 4 7 6 8, C. 2 1 4 3 6 5 8 7, D. 1 3 2 5 4 7 6 6, E. 2 1 4 3 6 5 7 8
Back
1 3 2 5 4 7 6 6
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
Untitled Flashcards
Flashcard
•
9th - 12th Grade
7 questions
Pensar con Claridad
Flashcard
•
9th - 12th Grade
2 questions
ROB_RE_M2_A01
Flashcard
•
9th - 12th Grade
10 questions
Tableau périodique, atome Rutherford-Bohr, octet II
Flashcard
•
11th Grade
10 questions
SISTEM PERSAMAAN LINEAR TIGA VARIABEL
Flashcard
•
10th Grade
2 questions
Hard11
Flashcard
•
9th - 12th Grade
10 questions
Temiz Çevre: Geleceğimiz İçin Bir Sorumluluk
Flashcard
•
KG
10 questions
Angka Arab 1 sampai 10
Flashcard
•
KG
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade