makaylaspeaks6768 makaylaspeaks6768
  • 19-07-2019
  • Computers and Technology
contestada

Which one of the following represents a valid Variable name?

a. 2A

b. $2

c. d+4

d. d 4

Respuesta :

Branta Branta
  • 24-07-2019

Answer:

b. $2

Explanation:

a. 2A is not a valid variable because variable names cannot begin with a number.

b. $2 is valid because variable names can begin with $ or _ characters.

c. d+4 is not a valid variable because variable names can only contain letters, numbers, underscores, or dollar signs. (+) sign is invalid.

d. d 4 is not a valid variable because variable names cannot contain spaces.

Answer Link

Otras preguntas

You push a 1.5 kg ball across a desk and it accelerates at a rate of 0.5m/s2 for 5 m. How much work was done?
Help with both I’ll mark brainliest
What does a person gain by purchasing an indulgence? How did this effect the political and economic power and authority of the church?
PLSS HELPPPPPP plssss
There are 15 students on the debate team. Of these, 3 are boys. Give the ratio of boys to girls on the debate team in simplest form.
You earn $35 for washing 5 cars. How much do you earn for washing 4 cars?
Which term refers to transporting water to farming lands across dry areas?
Which term describes the ability to use different types of reasoning for different situations and analyze the possible outcomes of a decision?
How do u delete a question on here?
Poly(cis-1,4-isoprene), or natural rubber (NR), has a tendency crystallize. The Tm of this polymer is slightly below room temperature, although lightly-crosslin