
AP CSP Mon Exam Review
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

42 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What terminates this iteration? Options: When i equals j., When userMax equals i., When userMax is less than 0., When userMax is greater than 10.
Back
When userMax equals i.
2.
FLASHCARD QUESTION
Front
When does the Boolean in the if-else statement evaluate to false? Options: When userMax is greater than 0., When userMax is less than 0., When userMax is equal to 0., When userMax is less than 1.
Back
When userMax is greater than 0.
3.
FLASHCARD QUESTION
Front
What is the point of calling the userInputSeq procedure inside the if-statement’s block of code?
Back
To prompt the user to enter a valid number.
4.
FLASHCARD QUESTION
Front
What role does the variable `n` play in the procedure? How would the code be different if there wasn’t a parameter?
Back
`n` determines the number of times the message is displayed; without `n`, the message would display once.
5.
FLASHCARD QUESTION
Front
Which statement is NOT true? Options: 2 MOD 4 = 0, 15 MOD 2 = 1, 17 MOD 3 = 2, 25 MOD 4 = 1
Back
2 MOD 4 = 0
6.
FLASHCARD QUESTION
Front
Given the procedure call `getAnyNumber(5, 20)`, what is the maximum possible value for `getNum`?
Back
20
7.
FLASHCARD QUESTION
Front
Explain the functionality check of the if-else control structure in version B of getAnyNumber: It only generates a random number when num1 and num2 are equal or not equal?
Back
It only generates a random number when num1 and num2 are not equal
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
38 questions
Spanish-English Vocabulary and Phrases
Flashcard
•
9th - 10th Grade
30 questions
Understanding Statements
Flashcard
•
KG
35 questions
02_ObliCon
Flashcard
•
12th Grade
25 questions
IGCSE Computer Science Revision - Paper 1
Flashcard
•
10th Grade
41 questions
Differentiation and Integration Formulas
Flashcard
•
12th Grade
38 questions
Math 3 EOC Formulas
Flashcard
•
11th Grade
38 questions
Matter Review
Flashcard
•
9th Grade
39 questions
Baroque Music Review
Flashcard
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade