1. Trace the evaluation of the following expressions, and give their resulting values (remember order of precedence rules and concatenation): a. 2 + 2 + 3 + 4 b. "2 + 2" + 3 + 4 c. 2 + "2 + 3" + 4 d. "hello 34" + 2 * 4 e. "1" + 2 + 3 + "4" + 5 * 6 + "7" + (8 + 9)
Added by Tammy P.
Close
Step 1
2 + 2 + 3 + 4 - First, we add 2 + 2, which equals 4. - Then, we add 4 + 3, which equals 7. - Show more…
Show all steps
Your feedback will help us improve your experience
Muhammad Jan and 79 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Question 03: Use the order of operations to evaluate each of the following expressions. a) ∕5² - 4² + 7(5 - 4)² b) 1 + (7.5 - 8.4) / (9 - 6) c). |1.8 - 4.3| + 0.4∕15 + 10 d). [(3 - 8)² - 4] - (3 - 8) Question 04: Use the properties of real numbers to rewrite and simplify each expression. State which properties apply. a). (-²³/₅) . [11 . (-₅/₂₃)] b). 5 · (6.2 + 0.4) c). 18 - (7 - 15) d). ¹⁷/₁₈ + [⁴/ₐ + (-¹⁷/₁₈)] e). 6 · (-3) + 6 · 3
Alison R.
3 Rewrite the following expressions using ̑ or ̣ notation: a) 3 3 +3 3 +. 30 + 342 6) (5(2 + 1) + 1) (10(c + 1)4+ 1) (15( + 1)7 + 1) .. (90( + 1)52 + 1)
Sri K.
Please see attached
Audrey F.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Watch the video solution with this free unlock.
EMAIL
PASSWORD