AP CSA Unit 1: Lesson 4 - Number Calculations

0.0(0)
Studied by 6 people
0%Exam Mastery
Build your Mastery score
multiple choiceAP Practice
Supplemental Materials
call kaiCall Kai
Locked
Card Sorting

1/8

flashcard set

Earn XP

Last updated 4:38 AM on 9/14/22
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

9 Terms

1
New cards
calculations
+, -, *, /
2
New cards
arithmetic operators
the standard four everyone learns in math: the '+' and '-' symbols work as we might expect, and the symbols '×' and '÷' are replaced with '*' and '/' respectively
3
New cards
assignment operator
we use the '=' symbol as an assignment operator when we have a number or a calculation on the right-hand side: the variable on the left-hand side will be set to the value of whatever is on the right-hand side
4
New cards
operator precedence
Java follows the same order of operations we're familiar with from math class
5
New cards
ArithmeticException error
error after dividing by 0
6
New cards
compound assignment operators
used in place of the normal '=' assignment operator and change the value of a variable
7
New cards
unary operators
X++ and x--
8
New cards
increment
increase by 1
9
New cards
decrement
decrease by 1