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

Numerical Expression Evaluation

Use properties of equality and order of operations.

Atoms Practice
Estimated14 minsto complete
%
Progress
Practice Numerical Expression Evaluation
Practice
Progress
Estimated14 minsto complete
%
Practice Now
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: 
http://youtu.be/UScm9avQM1Y

Explore More

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

http://www.code.org/learn/

http://hereandnow.wbur.org/2012/12/26/computer-programming-kids

Image Attributions

Explore More

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