
AP CSA 1.4 (Compound Assignment)
Authored by Herman Galioulline
Computers
10th - 12th Grade
Used 24+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
10 questions
=NOW()
Quiz
•
11th Grade
10 questions
HTML & Google Site Seatwork
Quiz
•
12th Grade
10 questions
Lourdes Amaranta Ayala Gracia
Quiz
•
8th Grade - University
10 questions
Grade 11 - Quiz 1 Introduction to Arrays
Quiz
•
11th Grade
10 questions
Q1L1: Introduction to MIL (Quiz)
Quiz
•
12th Grade
10 questions
ICT as Social Change
Quiz
•
12th Grade
11 questions
Packet Switching and Encryption
Quiz
•
10th - 12th Grade
10 questions
สอบย่อย ครั้งที่ 1 (BC.2/2)
Quiz
•
11th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade