Programming Fundimentals - Arythmatic Operators

?
  • Created by: Dragon16
  • Created on: 03-07-20 21:33
What is an Arythmatic Operator?
Arythmatic operators tell the computer which calcultation to perform. The values in the calculations - to whitch arythmatic operators are applied - are called Operands.
1 of 9
What is the adiditon operator?
+
2 of 9
What is the subtraction operator?
-
3 of 9
what is the multiplacation operator?
*
4 of 9
what is the division operator?
/
5 of 9
what is the intager division operator?
DIV - returns a whole number in a division. E.g: 7 DIV 2 = 3
6 of 9
What is the Modulo operator?
MOD - returns the remainder of the devision. E.g 7 MOD 2 = 1
7 of 9
what is the rounding operator?
round() - rounds up the result of an operation. E.g round(19/2)=10
8 of 9
What is the Truncate operator?
Truncate() - rounds down the result of an operation. E.g: Truncate(19/2)=9
9 of 9

Other cards in this set

Card 2

Front

What is the adiditon operator?

Back

+

Card 3

Front

What is the subtraction operator?

Back

Preview of the front of card 3

Card 4

Front

what is the multiplacation operator?

Back

Preview of the front of card 4

Card 5

Front

what is the division operator?

Back

Preview of the front of card 5
View more cards

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all Programming resources »