Want to create interactive content? It’s easy in Genially!
Ago22 Arithmetic, Relational & Logical Operators
Galia Gabriela Isabe
Created on September 20, 2022
Start designing with a free template
Discover more than 1500 professional designs like these:
View
Memories Presentation
View
Pechakucha Presentation
View
Decades Presentation
View
Color and Shapes Presentation
View
Historical Presentation
View
To the Moon Presentation
View
Projection Presentation
Transcript
Operators
Operator
Is an expression that allows us to make arithmetic, relational or logic operations.
Operators Structure data1 operator data2 = result result = data1 operator data2
Math
Computer Science
Lorem Ipsum
ArithmeticOperators
Are those that uses mathematical operations to obtain real numbers.
**
**
Different types of divisions: result = 10 / 6 , result = 1.67result = 10 // 6, result = 1result = 10 % 6, result = 4
Arithmetic Operators
//
**
**
Arithmetic Operators PrecedencePEMDAS
Multiplication & Division
Parenthesis
Addition & Substraction
Exponents
Relational Operators
> Greater than
== Equal
< Lower than
!= Not equal
>= Greater or equal
Are those that compares two values in order to have a boolean (true or false) value.
<= Lower or equal
Relational Operators
Logical Operators
Are those that evaluates two expressions in order to have a boolean (true or false) result.
Logical Operators
Lets try it!
AND
OR
NOT
NOT
PRECEDENCE
(4^2+10)*5-64 =
18<64 AND NOT 23>54
6>8 OR NOT 100<200
5-2<5^0 OR 10*2>5*2
5^2>6*4 AND 40-4<7*5
Created by:
Martha I. Esparza Martínez, Georgina Méndez Castro, Octavio Muñoz Román y Diana Y. Montero Mijares & Galia Barragán. 2022
¡Thanks!