
String and Math Methods AP CSA
Authored by David Guy
Computers
10th Grade
Used 16+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
ABCD
BCDE
BCEF
BCDEF
ABCDEF
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
3
4
5
6
7
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Consider the following code segment.
What is printed when the code segment is executed?
comp
c o m p
comp com co c
comp omp mp p
comp comp comp comp
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Consider the following code segment.
What is the value of num when the code segment is executed?
3
4
5
6
7
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Use the image for the question.
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following statements assigns a random integer between 1 and 10, inclusive, to rn ?
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Consider the following code segment, which is intended to assign to num a random integer value between min and max, inclusive. Assume that min and max are integer variables and that the value of max is greater than the value of min.
Which of the following could be used to replace /* missing code */ so that the code segment works as intended?
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?