❄⛄AP CSA - Unit 6 Review

Flashcard
•
Computers
•
9th - 12th Grade
•
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
Similar Resources on Wayground
10 questions
AP CSP Semester Exam

Flashcard
•
9th - 12th Grade
9 questions
STRING MANIPULATION (PYTHON)

Flashcard
•
11th - 12th Grade
8 questions
AP CS A Flashcard 4 Practice

Flashcard
•
9th - 12th Grade
9 questions
Python Review 5/23

Flashcard
•
9th - 12th Grade
9 questions
Python Review 5/23

Flashcard
•
9th - 12th Grade
10 questions
Python Lists

Flashcard
•
9th - 12th Grade
8 questions
AP CSP 12-2 U4L1 Variable

Flashcard
•
9th - 12th Grade
10 questions
AP CSP Semester Exam Review

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade