An arithmetic Expression is an expression having operators and operands. Also, Arithmetic Expression involves constants and operations.
Size: 342.99 KB
Language: en
Added: Nov 06, 2022
Slides: 6 pages
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