CBSE Class 11 Computer Science
Question 5 of 80
Conditional and Looping Constructs — Question 5
Back to all questions 5
Question Assertion (A): The break and continue statements are known as jump statements.
Reasoning (R): Jump statements are used only with looping constructs and not with conditional constructs.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
Both A and R are true and R is the correct explanation of A.
Explanation
In Python, break and continue are categorized as jump statements because they alter the flow of control in loops. Jump statements, such as break and continue, are used within loop constructs to control the flow of execution. Python does not have a switch-case conditional construct. Hence, in Python, jump statements are not used with conditional constructs.