3
AssignmentMultiple Choice

Conditional Statements

Question 3 • VA-Information Technology Fundamentals B

Which statement is a real-life example of an If statement?

Answer
A
The sun is shining today because a cold front has moved through.
B
If the sun is shining today, I will go to the beach.
C
The beach is cold today because it is October.
D
The sunny day causes the beach to be warm.

Explanation

An If statement describes a condition and what happens when that condition is true. Choice B says that if the sun is shining, the person will go to the beach, so it has both a condition and a result. The other choices give explanations or cause-and-effect statements without an explicit “if” condition.

AI-written and checked against the verified answer.

Previous
Next