exam questions

Exam 98-381 All Questions

View all questions & answers for the 98-381 exam

Exam 98-381 topic 1 question 21 discussion

Actual exam question from Microsoft's 98-381
Question #: 21
Topic #: 1
[All 98-381 Questions]

Evaluate the following Python arithmetic expression:

What is the result?

  • A. 3
  • B. 13
  • C. 15
  • D. 69
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
References: http://www.mathcs.emory.edu/~valerie/courses/fall10/155/resources/op_precedence.html

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
gargaditya
Highly Voted 4 years, 8 months ago
BODMAS: bracket exponent division,mpy :left to right addn,subtraction:left to right =(3*3**2 - 4*3) =(3*9 - 4 *3) =(27-12) =15
upvoted 10 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...