Page 91 - 2611_SmartGPT Pro V(5.0) C-8
P. 91

4.  Think and answer.
                    a.  What is looping?






                    b.  What are the values generated by the function range(10, 20, 2)?





                    c.  What is the use of Jump statement?






                    d.  Define the use of while statement with the help of an example.





                    e.  Distinguish between continue and break statements.






                                                                                              21 st   #Critical Thinking
                 5.  Competency-based/Application-based question.                          Century   #Technology Literacy
                                                                                             Skills
                    Swara wants to repeat a block of statements for a given number of times, until the control condition is
                    false. Which type of construct can she use for this?





                                                                                          21 st   #Technology Literacy
                 LAB ACTIVITY                                                           Century   #Critical Thinking
                                                                                         Skills

                 Write a program to:
                 (a)   display Average of numbers from 1 to 10.
                 (b)  display first 10 multiples of a number.
                 (c)  display Squares all odd numbers from 1 to 20.

                 (d)  display all even numbers from 1 to 100.
                 (e)  print Fibonacci series like 0, 1, 1, 2, 3, 5, 8……. Print first 20 terms of pattern stated.






                    FOR THE TEACHER

                   1.  Discuss about all the iterative statements of Python with the students.
                   2.  Go through all the topics covered in this chapter.







                                                                                                  Loops in Python  89
   86   87   88   89   90   91   92   93   94   95   96