
1.1.4 Compound Assignment Operators
Quiz
•
Other
•
12th Grade
•
Hard
Jason Comeau
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are compound assignment operators?
Operators used to compare two values.
Operators used to perform mathematical operations.
Operators used to assign a value to a variable.
Shorthand operators that combine an operation with assignment.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Give an example of a compound assignment operator.
+=
/=
-=
*=
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the benefit of using compound assignment operators?
They increase the chances of errors in the code.
They make the code more complex and harder to understand.
They have no impact on the efficiency of the code.
They provide a shorter and more concise way to perform arithmetic or logical operations and assign the result to a variable.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for compound assignment in addition?
/=
+=
*=
-=
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for compound assignment in subtraction?
+
*
/
-=
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for compound assignment in multiplication?
*=
-=
+=
/=
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for compound assignment in division?
/=
//
/
%
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for compound assignment in modulus?
%=
+=
-=
*=
Similar Resources on Wayground
8 questions
Chapter 2 - ETC
Quiz
•
12th Grade
11 questions
Drone Risk Assessment Exit Ticket
Quiz
•
12th Grade
7 questions
Call Of Duty Black Ops Cold War
Quiz
•
6th - 12th Grade
10 questions
Front Office Department
Quiz
•
10th Grade - University
10 questions
Back to School
Quiz
•
9th - 12th Grade
10 questions
APA Referencing
Quiz
•
KG - University
10 questions
Pengenalan D155A-6
Quiz
•
1st Grade - Professio...
10 questions
Firefighter Health and Safety
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area
Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview
Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)
Quiz
•
9th - 12th Grade