AP CS A- Recursion and 2D Arrays
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Diya Krishnan
Used 45+ times
FREE Resource
Enhance your content in a minute
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”
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
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
12 questions
Wee Word Intro
Quiz
•
7th - 12th Grade
15 questions
информатика
Quiz
•
10th Grade
10 questions
Интерфейс мобильных приложений
Quiz
•
10th - 11th Grade
10 questions
BÀI KIỂM TRA GIỮA KÌ 2 LỚP 4
Quiz
•
10th Grade
10 questions
My Sql
Quiz
•
12th Grade
10 questions
Câu hỏi trắc nghiệm Tin Học 10 - Bài 10
Quiz
•
10th Grade
11 questions
CSS9_Q3M3L1_QUIZ5
Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
