Answers: June 7
June 22, 2010
Problem of the Week: Computer Operations Problems: Order of Arithmetic OperationsA computer's compiler uses the rules of precedence to specify the order in which operators should be evaluated. Given that the symbol * indicates multiplication, what solution will the computer generate for the calculation shown?
According to the rules of precedence, multiplication takes precedence over addition. Multiply the 8 and 3 together, and then add 6.
Therefore, 6 + 8 * 3 is equal to 30.
This is problem 2 (16-1) from the NEW third edition of “Surveying Solved Problems for the FS and PS Exams” by Jan Van Sickle, PLS (formerly "1001 Solved Surveying Fundamentals Problems"). Reprinted with permission from “Surveying Solved Problems for the FS and PS Exams” by Jan Van Sickle, PLS (2008 Professional Publications Inc.). For details on this and other FLS exam-prep books, call 800/426-1178 or visit www.ppi2pass.com