term1 Definition1term2 Definition2term3 Definition3
Please sign in to your Google account to access your documents:
&& (and)
true && false
true && true
false && true
false && false
Returns:
false
true
Returns true only if both conditions return true.
! (not)
!false
!true
Returns the opposite of the stated boolean.
|| (or)
true || false
true || true
false || true
false || false
Returns true if one or both conditions return true.
not or
not (true || false)
not (true || true)
not (false || true)
not (false || false)
Returns true if both conditions return false.
not and
!(true && false)
!(true && true)
!(false && true)
!(false && false)
Returns true only if one condition returns true and one returns false.
!= (not equal)
1 != 0
1 != 1
0 != 1
0 != 0
Returns true only if the conditions are NOT equal.
== (equal)
1 == 0
1 == 1
0 == 1
0 == 0
Returns true if both conditions return equal values.
Need help typing ? See our FAQ (opens in new window)
Please sign in to create this set. We'll bring you back here when you are done.
Discard Changes Sign in
Please sign in to add to folders.
Sign in
Don't have an account? Sign Up »
You have created 2 folders. Please upgrade to Cram Premium to create hundreds of folders!