1. ## Boolean statments

I've been reading the tutorials and was clipping along really well but then i got the the boolean statements. How to break them down is confusing me and I'm not sure if its because I have myself stuck on working problems like im in a math class or what so if theres someone that might explain them differently or in more detail then the tutorial does that would be great

A. !( 1 || 0 ) ANSWER: 0
B. !( 1 || 1 && 0 ) ANSWER: 0 (AND is evaluated before OR)
C. !( ( 1 || 0 ) && 0 ) ANSWER: 1 (Parenthesis are useful)

these are what they give for problems and I think whats keeping me stuck is im not sure where to start. It says to start with the NOT and i know which is which just not sure how to evaluate

NOT !
AND &&
OR ||

If someone could take the time to give me a bit more explanation i would be greatfull

2. 1 is true and 0 is false:

|| returns true if either or both operands are true, and false otherwise

&& returns true if both operands are true, and false otherwise

! returns false if passed a true and vice-versa

&& is evaluated before ||, that's why parenthesis are useful
( just as * is evaluated before + )

3. I forgot, ! is evaluated before all

4. Ok so the ! are suppose to be first but is that only if theres nothing in parenthasis? If not can you show me in like a function tree of how these are done

5. Ok thanks for the help everyone i was tripped up with it telling me that i needed to evaluate the ! first when i needed to just go with the formal order of operations and do the things in parenthasis first and after realizing this i have got the correct answer on all three questions they have on the tutorial as well as the one on the quiz, Again thanks for the help

6. Learning is a slow and steady process. Take your time in order to grasp concepts. Don't rush.