Certified Associate in Python Programming (PCAP) — Question 62
A keyword (Choose two.)
Answer options
- A. can be used as an identifier
- B. is defined by Python's lexis
- C. is also known as a reserved word
- D. cannot be used in the user's code
Correct answer: B, C
Explanation
Option B is correct because keywords are defined by Python's syntax and structure, known as lexis. Option C is also correct since keywords are indeed referred to as reserved words, which cannot be used for other purposes in the code. Options A and D are incorrect; keywords cannot be used as identifiers and are restricted from user-defined code.