2
QuizMultiple Choice

Resources for Programmers — Unit test

Question 2 • Introduction to Information Technology - EL3701

An If statement is based on boolean logic because

Answer
A
the condition in the statement tests TRUE or FALSE.
B
it contains two different conditions.
C
it returns either a 0 or a 1.
D
it uses shorthand operators.
Previous
Next