Skip Navigation

Numerical Expression Evaluation

Use properties of equality and order of operations.

Atoms Practice
Estimated14 minsto complete
Practice Numerical Expression Evaluation
This indicates how strong in your memory this concept is
Estimated14 minsto complete
Practice Now
Turn In
Cooking with Computers

What do computers, cooking, and math all have in common? Well, recipes for one thing! There are ways of working or rules that need to be followed in all three areas. In cooking, you use recipes. Computer programmers and math students use rules or “recipes” too. If you don’t follow the rules, then disaster is inevitable!

Figuring the Facts

In mathematics and computer programming, there are rules to clarify which procedures or operations should be performed first, and these rules are the same for both subjects! A math student thinks of these rules as the order of operations, but a computer programmer calls these rules operator precedence.

Just as a chef uses a recipe, operator precedence is a recipe that a computer programmer uses. If the programmer follows the rules of operator precedence when writing a computer program, then he or she can make the computer complete desired tasks.

If you listen to how Larry Wall describes the basics of computer programming, you will be able to draw even more connections between cooking and computers! See for yourself: 

Explore More

Check out the websites below to find out how you can start learning the basics of computer programming.



Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes
Show More

Image Attributions

Explore More

Sign in to explore more, including practice questions and solutions for Numerical Expression Evaluation.
Please wait...
Please wait...