44.4k views
4 votes
Which of the following would be the most appropriate identifier for a memory location that will store the amount of rainfall for a given period of time?a.timeb.amount of rainc.amountOfRaind.amountOfRainForSomePeriodOfTime

1 Answer

2 votes

amountOfRain would be the most appropriate identifier for a memory location that will store the amount of rainfall for a given period of time.

Step-by-step explanation:

A set of characters in a sequence that helps in the identification any value or a set of set is known as identifiers. Identifiers are unique in nature. A character sequence that is given for storing a set of data should not be given to store another set of data.

They are useful in referencing a variable from which the data or values that are contained in that particular variable can be easily retrieved. For example a variable can be indicated by an identifier totalAmount in which the value stored is 56000. The starting name of the variable should be given in smaller case letter and second name should be in capital letter. For instance if you are going to store the value 45 in the variable amountoftime then the variable name should be given as amountOfTime.

User Sgowd
by
4.3k points