Page 158 - 2622_Delhi Police Public School_C-8
P. 158

B.  Tick ( ) the correct statements and cross ( ) the wrong ones.

                  1.   Slicing lists implies accessing the list elements within a specific range.

                  2.   The continue statement breaks the loops one by one.


                  3.   In a Peer to Peer Network, the server manages and coordinates request services to the clients.

                  4.    Lists are mutable, which means the elements of a list can be changed without allocating
                     new storage location.

                  5.  The while statement is the looping statement.

                  6.  Bluetooth is a wireless technology.


                  7.  Syntax of slicing the list is: <name of the list>[stop : start : step].

                  8.  ISP is a name to the computers, services, or other resources connected to the network.

              C.  Fill in the blanks.

                  1.  List is used to store the sequential order of          of data.
                  2.    Python provides                 types of looping statements.

                  3.   A multiline string in Python begins and ends with          single quotes.

                  4.                 operator is used to join two lists and                 operator is used to repeat
                     the list.

                  5.  The                    loop never ends.
                  6.                 function converts all lowercase letters to uppercase.

                  7.   The inputs given to the functions are referred to as         .

                  8. List function              returns the occurrence (number of times) of a particular element in the list.

              D.  Answer the following questions:

                  1.  What is a list in Python?
                  2.   How does a built-in function differ from a user defined function? Explain with example.

                  3.   What is the use of Jump statement?
                  4.  How a Peer to Peer network differs from Client-Server network? Explain.

                  5.  Distinguish between continue and break statements.
                  6.   What is list slicing? Explain with example.

                  7.   How do you create an empty list?


                  8. Rajesh has 20 systems and a single printer in his school's computer lab. Is it possible to take print out from
                     every system? If yes explain how?










                156     Premium Edition-VIII
   153   154   155   156   157   158   159   160   161   162