Order of Operations
Introduction
As a programmer you will frequently be doing mathematical calculations. Knowing the order of operations for arithmetic is essential. In this video we will learn how to solve problems using PEMDAS, the acronym for the order of operations.
Review
For this and all future math lessons, the "/" symbol indicates division and the "*" symbol indicates multiplication.
Question 1:
1 + 2 * 3 - 4
Question 2:
(1 + 2) * 3 - 4
Question 3:
8 - 4 / 2 + 1
Question 4:
8 - 6 / (2 + 1)
Question 5:
8 + 7 * 4 / 2
Question 6:
(8 + 7) * 4 / 2
Question 7:
((20 + 10) - (6 * 2))
Question 8:
9 - 2 * (14 - 10) + 6
Question 9:
((2 + 1) + (7 - 3) * (4 / 2))