
AP CS A- Recursion and 2D Arrays
Authored by Diya Krishnan
Computers
9th - 12th Grade
Used 45+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the value returned by the call what(A,5) where A has been initialized by the statement
int[] A = {1,2,1,1,2}
1
2
3
4
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the value returned by the call what(123)?
1
2
3
0
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
-1 1 1 1 1
1 -1 1 1 1
1 1 -1 1 1
1 1 1 -1 1
1 1 1 1 -1
-1 -1 -1 -1 -1
-1 -1 -1 -1 -1
-1 -1 -1 -1 -1
-1 -1 -1 -1 -1
-1 -1 -1 -1 -1
-1 1 -1 1 -1
1 -1 1 -1 1
-1 1 -1 1 -1
1 -1 1 -1 1
-1 1 -1 1 -1
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following represents the contents of grid after the segment is executed?
1 2
3 4
5 6
7 8
1 2 3 4
5 6 7 8
1 3 5 7
2 4 6 8
1 5
2 6
3 7
4 8
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the value returned by the call what (“ay caramba”)”
1
2
3
4
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following represents grid?
A B C
D E F
G H I
A A A
A A A
A A A
A D G
B E H
C F I
C C C
F F F
I I I
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What i the value returned by the call
repl(“All of the above”)?
“All of the above”
“All+of+the+above”
“Alloftheabove”
“All”
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
11 questions
HEALTH AND SAFETY 9
Quiz
•
7th - 9th Grade
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
10 questions
Basic Parts of Speech EPS
Quiz
•
9th - 10th Grade
10 questions
COMPUTER PROGRAMMING Q2_FLOWCHART (2 points each)
Quiz
•
11th - 12th Grade
9 questions
OCR GCSE CS - 2.1 ERL sorts and searches
Quiz
•
10th - 11th Grade
10 questions
INTRODUCCION A LA PROGRAMACION
Quiz
•
6th Grade - University
10 questions
Binary Subtraction
Quiz
•
12th Grade
11 questions
Threats to Data
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
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
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Exponent Properties
Quiz
•
9th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade