
AP CSA 1.4 (Compound Assignment)

Quiz
•
Computers
•
10th - 12th Grade
•
Medium
Herman Galioulline
Used 19+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The code segment stores the value of (a + 3) / b in the variable num.
The code segment stores the value of (a + 3) / (b - 1) in the variable num.
The code segment stores the value of (a + 3) / (b - 2) in the variable num.
The code segment stores the value of (a + 3) / (1 - b) in the variable num.
The code segment causes a runtime error in the last line of code because num is type double and d is type int.
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
2
4
9
9.5
19
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The value of num is two times its original value.
The value of num is the square its original value.
The value of num is two times the square of its original value.
The value of num is the square of twice its original value.
It cannot be determined without knowing the initial value of num.
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
-1.5
1
9
15.5
16
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The code segment leaves both k and count unchanged.
The code segment increases both k and count by 2.
The code segment increases k by 4 and count by 2.
The code segment leaves k unchanged and increases count by 2.
The code segment increases k by 2 and leaves count unchanged.
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
9
10
14
15
25
Similar Resources on Quizizz
11 questions
Java Boolean Statements

Quiz
•
11th Grade
10 questions
Comp Sci Unit 2 #4

Quiz
•
11th Grade
10 questions
Variables in C++

Quiz
•
9th - 12th Grade
7 questions
Java Basics #2

Quiz
•
10th - 12th Grade
10 questions
JS Practice: ITS Certification

Quiz
•
12th Grade
10 questions
String and Math Methods AP CSA

Quiz
•
10th Grade
10 questions
APCSA - Unit 3

Quiz
•
9th - 12th Grade
10 questions
Java while loops

Quiz
•
10th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig

Quiz
•
11th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade