Topics- Iterative Statement: for loop, range(), while loop, break and continue statements, nested loops, suggested programs: generating pattern, summation of series, finding the factorial of a positive number, etc.

1. Which iterative statement is used to execute a block of code a specific number of times?

 
 
 
 

2. What is the purpose of the range() function in Python?

 
 
 
 

3. What is the syntax for a for loop in Python?

 
 
 
 

4. What is the purpose of the while loop?

 
 
 
 

5. Which statement is used to terminate a loop prematurely?

 
 
 
 

6. Which statement is used to skip the current iteration of a loop and move to the next iteration?

 
 
 
 

7. What is a nested loop?

 
 
 
 

8. Which of the following is a suggested program using a for loop?

 
 
 
 

9. What is the output of a program that calculates the summation of a series of numbers using a for loop?

 
 
 
 

10. Which statement is used to exit a loop prematurely and move to the next iteration?

 
 
 
 

By cbsepython

A complete solution for the students of class 9 to 12 having subject Information Technology (402), Computer Science (083). Explore our website for all the useful content as Topic wise notes, Solved QNA, MCQs, Projects and Quiz related to the latest syllabus.

Copywrite © 2020-2024, CBSE Python,
All Rights Reserved