CMPT 120 Lecture Notes - Lecture 6: Decimal Mark, Multiplication Operator, Exponentiation

8 views2 pages
meghan78 and 39786 others unlocked
CMPT 120 Full Course Notes
29
CMPT 120 Full Course Notes
Verified Note
29 documents

Document Summary

Mathematical computations addition , subtraction , multiplication and addition are also known as arithmetic operations . The + , - , * , and / symbols we use to represent these arithmetic operations are called. In general, we can say that operators are special symbols that represent computations . Modulus (remainder) operator: remainder of the division (57/10). An expression is a combination of values , variables , and operators . So, 5 + 7 is an expression; n + 1 is an expression; 2*x + 2*y is an expression; 15 < 20 is an expression, and even 45 by itself is an expression. We can categorize expressions based on their result types: arithmetic expressions, boolean expressions. When result of an expression is a numeric value, we can call it an arithmetic. For example, n + 1 is an arithmetic expression if n is numeric.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents