Question 1 (1 point) x is a valid identifier. Question 1 options: True False Sav
ID: 3912700 • Letter: Q
Question
Question 1 (1 point)
x is a valid identifier.
Question 1 options:
True
False
Save
Question 2 (1 point)
X is a valid identifier.
Question 2 options:
True
False
Question 3 (1 point)
a++ is a valid identifier.
Question 3 options:
True
False
Question 4 (1 point)
--a is a valid identifier.
Question 4 options:
True
False
Question 5 (1 point)
4#r is a valid identifier.
Question 5 options:
True
False
Question 6 (1 point)
!4 is a valid identifier.
Question 6 options:
True
False
Question 7 (1 point)
#44 is a valid identifier.
Question 7 options:
True
False
Question 8 (1 point)
apps is a valid identifier.
Question 8 options:
True
False
Question 9 (1 point)
main is a C++ keyword.
Question 9 options:
True
False
Question 10 (1 point)
include is a C++ keyword.
Question 10 options:
True
False
Question 11 (1 point)
int is a C++ keyword.
Question 11 options:
True
False
True
False
Explanation / Answer
1) true. x is valid identifier
2). True. X is also a valid identifier
3). False. + is not allowed in an identifier name
4). False. - is not allowed in an identifier name.
5). False - identifier must not start with digit and # is not allowed in identifier name.
6). False - ! shouldn't be there and there should be characters before digit.
7). False - # shoudn't be there and there should be characters before digit.
8). True - apps is valid
9). False - main is a method that will be called by compiler, but now keyword
10). True
11). True
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.