ICSE Class 10 Computer Applications Question 9 of 25

Values and Data Types — Question 9

Back to all questions
9
Question

Question 9

Which of the following are invalid identifiers?

i. ten
ii. "Hello"
iii. 5678
iv. Coffee
v. $dollar
vi. 4Variables
vii. _var

Answer
  • "Hello" is invalid as identifiers cannot contain double quotes.
  • 5678 is invalid as identifiers cannot start with a digit.
  • 4Variables is invalid as identifiers cannot start with a digit.