COMPUTER SOFTWARE
PROGRAMMING LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
The variable points stores data that the user has input. What is the data type of this variable?
|
The variable points is integer data type
|
|
The variable points is string data type
|
|
The variable points is float data type
|
|
None of the above
|
Explanation:
Detailed explanation-1: -For instance, a variable that holds text strings has the data type String and is called a string variable. A variable that holds integers (whole numbers) has the data type Integer and is called an integer variable.
Detailed explanation-2: -String variables–which are also called alphanumeric variables or character variables–have values that are treated as text. This means that the values of string variables may include numbers, letters, or symbols. In the Data View window, missing string values will appear as blank cells.
There is 1 question to complete.