Which of the following are likely to be poor choices for an identifier in a program? Why?
a. x
b. RATE
c. data
d. _abc
e. A
a. x is too short to adequately describe a real world value.
b. RATE suggests a rate of speed, or interest perhaps.
c. data is perhaps a bit generic, nevertheless this writer would allow it.
d. _abc is not a word. It does not bring anything to this writer’s mind.
e. A is too short to adequately describe anything in the real world.
Explanation: The answers to this question are subjective.
Computer Science & Information Technology
You might also like to view...
Subdocuments display as ________, when the master document is collapsed
A) buttons B) grayed out C) bold D) hyperlinks
Computer Science & Information Technology
What is the difference between user-based and expert-based evaluation?
What will be an ideal response?
Computer Science & Information Technology