Aryan College
M.Sc.(IT) Sem 3 - Python
Unit 1
1. Write difference between interactive mode and scripting mode programming. [2019]
2. Write rules for python identifiers. [2019]
3. Explain features of python. [2019]
4. Write a program in python to print table of any number using else statement using while loop. [2019]
5. Write a python program to print the following pattern: [2019]
*
**
***
****
6. Write a program to find greater number among any three numbers. [2019]
7. Write a program in python that shows working of pass statement in for loop. [2019]
8. Explain different types of operator used in python, also write program. [2019]
Unit 2
1. Explain raw-input function. [2019]
2. Explain slicing in python list. [2019]
3. Write a code in python that shows current time of system. [2019]
4. Explain two properties of dictionary keys. [2019]
5. Explain shuffle (list). [2019]
6. Write a short note on cmp() function. [2019]
7. Write difference between list and tuple. [2019]
8. Write a program in python to read a word and print number of letters. [2019]
9. Describe open() and close() methods used in file handling. Write a program using file handling to take
name, class and roll number of a student. [2019]
10. Write short notes on the following: [2019]
a. Class inheritance
b. Overriding method
Unit 3
1. Explain database connectivity in python. Write a program for creating database table and perform insertion
operation. [2019]
2. Explain XML parser architecture and APIs. Also describe parsing XML with DOM APIs. [2019]
3. Explain Tkinter programming with example also describe Tkinter widgets used in python GUI. [2019]