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.

Computer Science & Information Technology

You might also like to view...

Which type of website would StumbleUpon be classified as?

a. Crowdfunding site b. Live bookmarking site c. Metasearch site d. Social bookmarking site

Computer Science & Information Technology

Write a declaration for each of the following:

a) Integer count that should be maintained in a register. Initialize count to 0. b) Double-precision, floating-point variable

Computer Science & Information Technology

There are three root CAs in a two-tier hierarchy

Indicate whether the statement is true or false

Computer Science & Information Technology

?Extensible Hypertext Markup Language (XHTML) version _____ is an update to HTML 4.01 that provides support for a variety of new features including semantic page elements, column layout, form validation, offline storage, and enhanced multimedia.

A. ?1.0 B. ?1.1 C. ?2.0 D. ?5.0

Computer Science & Information Technology