Advertisements
Advertisements
Question
Assertion (A): A clock is a real-life example of nested loops.
Reason (R): The hour hand moves through 12 positions, while the minute hand moves through 60 positions within each hour.
Options
Both (A) and (R) are true and (R) is a correct explanation of (A).
Both (A) and (R) are true and (R) is not a correct explanation of (A).
(A) is true and (R) is false.
(A) is false and (R) is true.
MCQ
Assertion and Reasoning
Advertisements
Solution
Both (A) and (R) are true and (R) is a correct explanation of (A).
Explanation:
Since the hour hand moves for 12 times and with each iteration of the hour hand, the minute hand moves for 60 times, it is a nested loop i.e., loop inside a loop.
shaalaa.com
Is there an error in this question or solution?
2024-2025 (March) Official Board
