❄⛄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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Angka Arab 1 sampai 10
Flashcard
•
KG
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
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade