Which of the following identifiers is incorrect
Answers
Answered by
0
It seems like you are searching for "Which of the following identifiers is incorrect?
i Serial_no. v Total_Marks
ii 1st_Room vi total-Marks
iii Hundreds vii _Percentage
iv Total Marks viii True
Answer:
Identifiers are used to identify program elements in code. Computer languages have restrictions on the characters that can be displayed in identifiers.
Explanation:
i. Serial_no. is invalid because we can’t use ‘.’ in variable names.
ii. 1st_Room is invalid because we can’t begin variable names with digits.
vi. total-Marks is invalid because ‘-’ is not allowed in variable names.
iv. Total Marks is invalid why because of there are two separate words in the variable name
viii.True as invalid because it is a keyword.
ALL OTHERS ARE IN RIGHT FORM.
Similar questions