Computer Science, asked by gujan9110, 5 months ago

24
Evaluate the following expression:
a) 8*3+2**3//9-4
b) 12-15 and 8>12 or not 1984​

Answers

Answered by vedikadixit52
0

Answer:

The value of the expression 8*3+2**3//9-4 is 20. the value of the expression 12-15 and 8>12 or not 1984​ is -3 and False.

Explanation:

a) To evaluate the given expression, we follow the order of operations, which is as follows:

Exponents and roots (2**3)

Multiplication and division (8*3, 2**3//9)

Addition and subtraction (8*3+2**3//9-4)

Using this order of operations, we get:

8*3 = 24

2**3 = 8

8//9 = 0 (double forward slash indicates integer division)

24 + 0 - 4 = 20

Therefore, the value of the expression is 20.

b) The given expression can be broken down into two parts:

12-15 = -3

8>12 or not 1984 = False or not True = False or False = False

Therefore, the value of the expression is -3 and False.

To know more about the concept please go through the links:

https://brainly.in/question/48880481

https://brainly.in/question/15213175

#SPJ1

Similar questions