EXERCISE+1

**EXERCISE 1** //**Sequential structures: __put statements & math expressions__**// Turing processes mathematical expressions in the following order: **When you combine a** put **statement with a mathematical expression such as** put 4 + 5 **the result of the expression will be output to screen:** 9 **Their are two special operators used in programming that you might not see elsewhere:** mod **mod (modulus) divides a number and returns the remainder, i.e., 3 mod 2 = 1** div **div divides the number and returns the quotient, i.e., 5 div 2 = 2**
 * **P** || **Parentheses** || **** ||
 * **E** || **Exponents** || **x**y ||
 * D || Division || x/y ||
 * M || Multiplication || x*y ||
 * A || <span style="display: block; font-family: arial,helvetica,sans-serif; text-align: center;">Addition || <span style="display: block; font-family: arial,helvetica,sans-serif; text-align: center;">x+y ||
 * <span style="font-family: Arial,Helvetica,sans-serif; font-size: 120%;">S || <span style="display: block; font-family: arial,helvetica,sans-serif; text-align: center;">Subtraction || <span style="display: block; font-family: arial,helvetica,sans-serif; text-align: center;">x-y ||

<span style="font-family: Arial,Helvetica,sans-serif; font-size: 120%;">Task: **Complete the following exercise in your notebook. Write the expression in Turing required to evaluate the following statements and record the resulting answers in your notebook or on your homework page.**
 * <span style="font-family: Arial,Helvetica,sans-serif; font-size: 120%;">Expression || <span style="font-family: Arial,Helvetica,sans-serif; font-size: 120%;">Expression in Turing || <span style="font-family: Arial,Helvetica,sans-serif; font-size: 120%;">Answer ||
 * <span style="font-family: Arial,Helvetica,sans-serif; font-size: 120%;">1.4 + 3 * (5/2) ||  ||   ||
 * <span style="font-family: Arial,Helvetica,sans-serif; font-size: 120%;">63 +5 *8*4 ||  ||   ||
 * <span style="font-family: Arial,Helvetica,sans-serif; font-size: 120%;">the square root of 64 ||  ||   ||
 * <span style="font-family: Arial,Helvetica,sans-serif; font-size: 120%;">1/3 ||  ||   ||
 * <span style="font-family: Arial,Helvetica,sans-serif; font-size: 120%;">1 + 2 –4 * 5/6 ||  ||   ||
 * <span style="font-family: Arial,Helvetica,sans-serif; font-size: 120%;">the quotient when 10 is divided by 3 ||  ||   ||
 * <span style="font-family: Arial,Helvetica,sans-serif; font-size: 120%;">the remainder when 28 is divided by 9 ||  ||   ||
 * <span style="font-family: Arial,Helvetica,sans-serif; font-size: 120%;">17 *(99 div 7) +99 mod 7 ||  ||   ||
 * <span style="font-family: Arial,Helvetica,sans-serif; font-size: 120%;">4 [(12*5/2)/5] mod 5 ||  ||   ||
 * <span style="font-family: Arial,Helvetica,sans-serif; font-size: 120%;">52 (12 mod 3) mod 2 ||  ||   ||

Make certain you understand the difference between __mod__, __div__, and regular division**