Jump to content

The Order of Operations Ideal


Mage

Recommended Posts

So I am taking CS 124 right now. This is the intro level computer science class at BYU-I, and we were learning about Boolean logic, and with logic thrown in the mix you have to make a whole new order of operations. Basically PEMDAS is no longer valid. Instead it goes parentheses, increment/decrement, not, multiply/divide/modulo, addition/subtraction, greater than/less than, equality, and, or, assignment. The acronym PIDNMDMASGLEAOA is not quite as short, so they just made categories, and you memorize which categories go before which other ones. It sounds scarily similar to the first ideal, so I decided to post it here.

Quote

Unary before Binary

Math before Logic

Relative before Absolute

AND before OR

I hope this helps out any of my fellow Sanderfans who need to remember the order of operations for Boolean logic.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...