FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

5 BASIC ELEMENTS OF PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which one is not allowed in declaring variables ____
A
Number
B
Number One
C
Number ____ One
D
NumberOne
Explanation: 

Detailed explanation-1: -No spaces or special characters are allowed.

Detailed explanation-2: -Variable name may not start with a digit or underscore, and may not end with an underscore. Double underscores are not permitted in variable name.

Detailed explanation-3: -Which of the following is not a valid variable name declaration? Explanation: Variable name cannot start with a digit.

Detailed explanation-4: -The $ sign is not allowed as the initial character of a user-defined variable. The period, the underscore, and the characters $, #, and can be used within variable names. For example, A. $#1 is a valid variable name.

Detailed explanation-5: -Explanation: Variable names should not start with a number.

There is 1 question to complete.