Respuesta :

Options:

(a) The program will be easier to read.  

(b) The program will run faster.

(c) The program will be easier for others to debug.

(d) The program will use less resources.

Answer:

(a) The program will be easier to read.  

(c) The program will be easier for others to debug.

Explanation:

Naming variables properly is an essential thing to do when writing programs or even developing software applications. This involves making use of descriptive and logical names when declaring variables.

For example, to store the age (say 67) of a user in a variable, the following ways are possible:

i. $x = 67

ii. $name = 67

iii. $age = 67

From (i), simply using $x = 67 does not exactly tell that 67 is the age of some user. That makes it a bit difficult to understand the code.

Also, from (ii), using $name = 67 is quite misleading. The variable name $name already depicts that the variable should store the name of some sort. However, a number is supplied. This is not a good way of naming variables.

The third option, from (iii), however clearly depicts the intention of the line of code without having to think too much. This is a well-named variable.

In general, well-named variables;

(i) makes it pretty easy to read and thus understand the lines of code in a program

(ii) following from (i), makes it easier for other programmers to be able to debug such program.

Well-named variables however have nothing to do with the speed of the execution of the program neither do they have anything to do with the amount of resources that will be used by the program.