Algorithms & Programming Fundamentals
What combination of boolean operators can replace * such that returns false only when a single variable among is true?
((X && Y) && Z)
((X ^^ Y) ^ Z)
What truth value does !(X == Y) return if X and Y have identical boolean values?
Depends On Whether X And Y Are True Or False
The Opposite Of "X And Y"
FALSE
TRUE
In a conditional statement, what value must a boolean expression return for an 'else' block to execute?
Null
False
True
Undefined
When storing user passwords, which data representation choice best balances privacy and security?
Hashing with a salt
Symmetric encryption
Encoding with base64
Plain text storage
Which Boolean expression will always produce the opposite result of the Boolean expression ?
Which boolean operator would you use to check if two conditions must be true at the same time?
AND
XOR
OR
NOT
Which Boolean expression correctly determines if a number 'n' is odd?

How are we doing?
Give us your feedback and let us know how we can improve
What is the result of the Boolean expression NOT (TRUE AND FALSE)?
FALSE
NULL
TRUE
ERROR
What is the result of the Boolean expression (true || false) && !(false || false)?
True
False
Null
Undefined
In a conditional statement, which replacement for '???' would make the code segment below always execute its body?
python
if (???):
# Code body executes here
Null or any non-boolean value.
True or any value that evaluates to True.
An uninitialized variable.
False or any value that evaluates to False.