5
QuizMultiple Choice

Use Data Structures — Unit test

Question 5 • Introduction to Information Technology - EL3701

A computer program checks to see if the user of a software program has clicked on a photo. This is an example of a requirement that can be evaluated in

Answer
A
a string statement.
B
a goto statement.
C
a global statement.
D
a conditional statement.

Explanation

The program needs to test whether the user clicked the photo, which is a condition that can be either true or false. A conditional statement lets a program check such a condition and choose what to do next. Therefore, the correct choice is a conditional statement.

AI-written and checked against the verified answer.

Previous
Next