Toggle Navigation
Games
Blog
Class PIN
Join for Free
Sign in
Toggle Navigation
Games
PIN
Join for Free
Blog
Pricing
Contact us
Help center
Sign in
Study
Boolean Expressions
0
%
0
0
0
Back
Restart
Define the term "boolean variable."
A variable whose data type is Boolean, meaning it can only store a True or False value.
Oops!
Okay!
Are these two expressions logically equivalent:
No
Oops!
Okay!
Suppose A is False and B is False. Evaluate ((not(A)) and (not(B)))
True
Oops!
Okay!
Suppose A = True and B = False. Evaluate A and B.
False
Oops!
Okay!
Suppose A = True and B = False. Evaluate A or B.
True
Oops!
Okay!
True or False? All relational operators return a Boolean result.
True
Oops!
Okay!
Suppose A is True and B is False. Evaluate ((not(A)) or B)
False
Oops!
Okay!
Suppose A is False and B is False. Evaluate ((not(A)) or (not(B)))
True
Oops!
Okay!
Are these two expressions logically equivalent?
Yes
Oops!
Okay!
Your experience on this site will be improved by allowing cookies.
Allow cookies