<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
Skip Navigation
Our Terms of Use (click here to view) have changed. By continuing to use this site, you are agreeing to our new Terms of Use.

Numerical Expression Evaluation

Use properties of equality and order of operations.

Atoms Practice
Estimated15 minsto complete
Practice Numerical Expression Evaluation
Estimated15 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
Please to create your own Highlights / 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...