Arithmetic Expression

1,703 views 6 slides Nov 06, 2022
Slide 1
Slide 1 of 6
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6

About This Presentation

An arithmetic Expression is an expression having operators and operands. Also, Arithmetic Expression involves constants and operations.


Slide Content

Presentation Topic Arithmetic Expression

DEFINITION OF ARITHMETIC EXPRESSION: Arithmetic Expression is a expression having ope-rators and operands. Also Arithmetic Expression involves constants and operations . Arithmetic Expression or Polish Notation is of 3 Types :- Prefix Infix Postfix

Infix: When the operator is placed between its 2 operands, the expression is in Infix form . Example : a+b Prefix: When the operator is placed before its 2 operands, the expression is in Prefix form . Example : + ab Postfix: When the operator is placed after its 2 operand's, the expression is in Postfix form. Example : ab +

Advantages : Easier to evaluate an expression Less overhead of brackets Fast and easy to calculate Easy to work with and use in further analysis Disadvantage: Sensitive to extreme values Not suitable for time series type of data Works only when all values are equally important