Page 136 - Trackpad_V5_Book 8
P. 136

3.  Answer in one or two words.
                a.  Which function returns a string with the first character in capital?        _______________

                b.  Which type of list is used to place different data types in it?             _______________
                c.  Which function is used to remove a whole list of elements of a list?        _______________

                d.  Which keyword is used to begin the function definition?                     _______________

                e.  Which type of function takes parameters but does not return anything?       _______________
            4.  Think and answer.
                a.  What are functions?

                   ______________________________________________________________________________

                b.  Define strings.
                   ______________________________________________________________________________

                c.  What are lists in Python? Define any two list functions.
                   ______________________________________________________________________________

                   ______________________________________________________________________________
                d.  How can we call a function in Python? Explain using an example.

                   ______________________________________________________________________________
                   ______________________________________________________________________________


                e.  What are the different types of functions. Explain in detail.
                   ______________________________________________________________________________

                   ______________________________________________________________________________


                f.  What are the different ways through which we can create a list? Explain using an example.
                   ______________________________________________________________________________

                   ______________________________________________________________________________
                                                                                         21 st
            5.  Competency-based/Application-based questions:                          Century   #Experiential Learning
                                                                                        Skills
                a.   Devansh created multiple strings in Python. He now wishes to join the strings to form a
                   single string. Is this possible? How can he do this?
                   ______________________________________________________________________________

                b.   Abhishek wants to print his name in Python. He noticed that it got printed in lowercase. How can he
                   change it into uppercase?

                   ______________________________________________________________________________
                c.   Kazim made a list in Python and forgot to add a couple of elements into it. Which function can he
                   use to add these elements?
                   ______________________________________________________________________________






            134   Pro (Ver. 5.0)-VIII
   131   132   133   134   135   136   137   138   139   140   141