PYTHON Assignment

Sub:-PYTHON

Question Bank


1. Answer the following      

  1. What are the properties of a Dictonary

  2. Explain Brake and Pass statement in Python

  3. What is Python ? What are the benefits of using python

  4. What are the lists and tuples ? What is the key difference between the two?

  5. What are the common built in data types in python

  6. What is the difference between Xrange and range

  7. Explain any two tuple operations with an example.

  8. Explain functions with suitable in a function.

  9. Explain Loop control statements used in Python

  10. How to create and access elements in list ?

  11. How to access and delete elements in Dictionary?

  12. Explain two built in dictionary functions.

  13. Explain Anonymous function

  14. What is the use of + and * operators on tuples.

  15. Explain Brake and Continue statement in Python

  16. Explain Tuple and Variable


2. Write a Python program                                                                                   

       1.Write a Python program to Calculate Simple Interest.

2.Write a Python program to find the square root of a number

3.Write a Python program to find the area of Circle.

4.Write a Python program to display current date and time.

5.Write a Python program to find the repeated items of tuple.

6.Write a Python program to find the area of Rectangle


Assignment no 1

   1.     What is Module ,Explain with Example ?

    2.     Explain the sys module ?

3.     What is num py and sci py?

Assignment no 2

1.               1.What is the Difference between Xrange and Range ?

       2.What is Anonymous Function and Give Examples ?

       3.Explain any Two Tuples Operations with an Example?