Fichas
Computer Science - Flash Cards
Fichas del conjunto (4)
- 1Name the comparison operators.== - Equal to
!= - Not equal to
< - Less than
<= - Less than or equal to
> - Greater than
>= - Greater than or equal to - 2Name the arithmetic operators.+ - Addition e.g. x = 6+5 gives 11
- - Subtraction - e.g. x=6-5 gives 1
* - Multiplication - e.g. x=12*2 gives 24
/ - Division - e.g. 12/2 gives 6
MOD - Modulus - e.g. 12MOD5 gives 2
DIV - Quotient - e.g.17DIV5 gives 3
^ - Exponentiation - e.g. 3^4 gives 81 - 3How do MOD and DIV differ?MOD gives you the remainder of a number whereas DIV doesn't.
- 4What is exponentiation?The operation of raising one quantity to the power of another.
Información
- Descripción
- Fichas sobre Computer Science - Flash Cards, creado por Szymon Spica el 12/09/2017.
- Creado por
- Szymon Spica
- Visitas
- 0
- Valoración