PT0-002 · Question #327
PT0-002 Question #327: Real Exam Question with Answer & Explanation
The correct answer is C: A Boolean operator. {"question_number": 5, "correct_answer": "C", "explanation": "In programming, True (and its counterpart False) is a Boolean literal - a value of the Boolean data type. Boolean operators/values represent one of two states: true or false. Although True frequently appears inside whi
Question
Given the following script: Which of the following describes True?
Options
- AA while loop
- BA conditional
- CA Boolean operator
- DAn arithmetic operator
Explanation
{"question_number": 5, "correct_answer": "C", "explanation": "In programming, True (and its counterpart False) is a Boolean literal - a value of the Boolean data type. Boolean operators/values represent one of two states: true or false. Although True frequently appears inside while loops (e.g., while True:) or conditionals (e.g., if True:), the value True itself is classified as a Boolean operator/value, not as the loop or conditional construct that uses it. It is not an arithmetic operator, which would perform mathematical computations.", "generated_by": "claude-sonnet", "llm_judge_score": 3}
Topics
Community Discussion
No community discussion yet for this question.