20
QuizMultiple Choice

Use Data Structures — Cumulative exam

Question 20 • Introduction to Information Technology - EL3701

Which set of variables will make code easier to understand?

Answer
A
a, b, c
B
sum, price, count
C
xii, xix, xxi
D
x, y, z

Explanation

Variable names should describe the information they hold. “sum,” “price,” and “count” give clear clues about each variable’s purpose, making the code easier to understand. Names like a, b, c and x, y, z do not explain what the values represent.

AI-written and checked against the verified answer.

Previous
Next