You are on page 1of 1

. 1)What is a variable?

. A variable is an area in a computer’s memory that has a name and that stores
data temporarily.

. 2)Write 3 rules to name a variable?

. Can only include letters, numbers or underscore (_) Sign.

. First letter should be a capital letter.

. The variable should not be a reserved word.

. 3)Which signs you have to put to separate a variable name?

. an underscore sign

. 4)Which sign you have to enclose with a string constant?

.                         ……………………………………..

. 5)What are the type of data include for string constant?

.                 litters , numbers, underscore(_)

You might also like