Python tokens, identifiers, variables and comments Theory part 1
Python tokens, identifiers, variables and comments
PYQ reference preview9 included0 excluded
Review every matched question before generating. Flag a wrongly categorised question to
quarantine it from both study and PPT prompts until it is corrected in CBSE Paper Analyzer.
Included in reference
ID 1066 · 2025 · 1 mark(s)
Which of the following is a valid variable name?
a) if
b) pass
c) roll no
d) age
Python Basics and Data Concepts
→ Python tokens, identifiers, variables and comments
· Concept XI_U2_TOKENS_IDENTIFIERS_VARIABLES_COMMENTS
Included in reference
ID 1070 · 2025 · 1 mark(s)
What type of error is caused by misspelled keyword?
a) Logical
b) Runtime
c) Syntax
d) Compilation
Python Basics and Data Concepts
→ Python tokens, identifiers, variables and comments
· Concept XI_U2_TOKENS_IDENTIFIERS_VARIABLES_COMMENTS
Included in reference
ID 1075 · 2025 · 1 mark(s)
Run Time error occurs due to
a) Wrong Syntax
b) Misspelled Keyword
c) Logical Mistake
d) Illegal operations during execution
Python Basics and Data Concepts
→ Python tokens, identifiers, variables and comments
· Concept XI_U2_TOKENS_IDENTIFIERS_VARIABLES_COMMENTS
Included in reference
ID 1109 · 2025 · 1 mark(s)
Which of the following is not a token?
a) keyword
b) identifier
c) expression
d) operator
Python Basics and Data Concepts
→ Python tokens, identifiers, variables and comments
· Concept XI_U2_TOKENS_IDENTIFIERS_VARIABLES_COMMENTS
Included in reference
ID 1195 · 2025 · 1 mark(s)
Which of the following is/are not a valid identifier?
a) Mybook
b) @book
c) _book
d) book#
Python Basics and Data Concepts
→ Python tokens, identifiers, variables and comments
· Concept XI_U2_TOKENS_IDENTIFIERS_VARIABLES_COMMENTS
Included in reference
ID 1202 · 2025 · 1 mark(s)
In Python, which keyword is used to exit a loop prematurely?
A. exit
B. stop
C. break
D. terminate
Python Basics and Data Concepts
→ Python tokens, identifiers, variables and comments
· Concept XI_U2_TOKENS_IDENTIFIERS_VARIABLES_COMMENTS
Included in reference
ID 1231 · 2025 · 1 mark(s)
Identify the valid identifiers from the following:
(a) Abc
(b) if
(c) WHILE
(d) 1_g
Python Basics and Data Concepts
→ Python tokens, identifiers, variables and comments
· Concept XI_U2_TOKENS_IDENTIFIERS_VARIABLES_COMMENTS
Included in reference
ID 1254 · 2025 · 1 mark(s)
Identify the invalid keyword in Python from the following:
(a) for
(b) import
(c) none
(d) break
Python Basics and Data Concepts
→ Python tokens, identifiers, variables and comments
· Concept XI_U2_TOKENS_IDENTIFIERS_VARIABLES_COMMENTS
Included in reference
ID 1337 · 2025 · 1 mark(s)
Which of the following is the correct identifier?
A) continue
B) Break
C) -student
D) mark$
Python Basics and Data Concepts
→ Python tokens, identifiers, variables and comments
· Concept XI_U2_TOKENS_IDENTIFIERS_VARIABLES_COMMENTS
Pick a lecture from the panel on the left, configure the board and student level,
then click Generate Prompt. The result includes PYQ data,
frequency analysis, exam trends, and a full 15-section teaching package request —
ready to paste into any AI assistant.
ChatGPTClaudeGeminiDeepSeek
PYQ Analysis
Frequency, marks & high-yield concepts
Lecture Flow
Exact time-allocation plan
15 Sections
From objectives to ranked exam questions
Export
Copy or download as .txt
Reset All Progress?
This will clear all Done and Missed marks and rebuild the schedule from scratch.
A backup will be created automatically before resetting. You can restore it from the Backups page.