Answer:
C) 1 4 2 / + 1 + 2 + 3 * 2 /
Explanation:
Infix, Postfix and Prefix are 3 different ways of writing expressions which differ in relative placement of operator and operands.
In Infix , operator lies between the operands whereas in postfix operator is written after its operands.
For example: 1 + 2 is infix while 1 2 + is the corresponding postfix expression.
Converting the given infix expression (1 + 4 / 2 + 1 + 2) * 3 / 2 to postfix:
Let (1 + 4 / 2 + 1 + 2) be represented by x.
Converting x to postfix:
(1 + 4 / 2 + 1 + 2) => 1 4 2 / + 1 + 2 + ------------------------- (1)
So the overall infix expression becomes:
x * 3 / 2
Converting it to postfix:
x 3 * 2 /
Replacing the value of x from (1)
1 4 2 / + 1 + 2 + 3 * 2 /
Answer:
help
Explanation:
help means what do you need or want to learn
If it is GUI and not GIU then that is the answer if not it is User Interface
Answer:
3. alpha = {1, 5, 6, 7, 5}
Explanation:
Initially, we have that:
alpha[0] = 1;
alpha[1] = 2;
alpha[2] = 3;
alpha[3] = 4;
alpha[4] = 5;
For j higher than 2, we have that:
alpha[j - 1] = alpha[j] + 2;
So
j = 3
a[2] = alpha[3]+2 = 4 + 2 = 6;
j = 4
a[3] = alpha[4]+2 = 5+2 = 7;
The correct answer is:
3. alpha = {1, 5, 6, 7, 5}