
AP Computer Science A Unit 4 Section 3 (String Algorithms)
Authored by Herman Galioulline
Computers
10th - 12th Grade
Used 27+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is printed as a result of executing the code segment?
0
5
0 5
0 6
1 6
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What value is stored in the variable count as a result of executing the code segment?
1
3
5
7
8
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is returned as a result of the call mystery("computer", 3)?
ccocom
comcoc
ccocomcomp
compcomcoc
comcomcomcom
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is printed as a result of executing this code segment?
1
2
3
5
6
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What, if anything, is printed as a result of executing the code segment?
0
1
2
3
Nothing is printed.
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?