Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
86 views

IMP-Question-Python

Uploaded by

VISHAL SHINDE
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views

IMP-Question-Python

Uploaded by

VISHAL SHINDE
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45

Subject: 504 : Python CLASS: TYBBA(CA) V SEM (2019 PATTERN)

Unit 1: Introduction to Python

Q:1 ) Answer the following questions in short:

1. Which are data types in Python?


2. What are the types of variables?
3. Which are the different conditional statements?
4. What is looping?
5. What is Operator?
6. List out python basic operators.
7. List out Loop control statements.
8. What is difference between Xrange and range?
9. What is string slice?
10.What are the different types of function?

Q:2) Answer the following question in brief:

1. Explain Loop control statements used in python?


2. Write a python program to display Fibonacci series.
3. Write a python program to check whether number is even or odd.
4. Write a python program to display prime numbers between given range.
5. Which are special operations in string?
6. How to create and access elements in list.
7. How to access values in tuples?
8. How to access dictionary elements?
9. Write a program to calculate simple interest.
10.Write a program to swap numbers.

Prof. Gayatri A.Amate www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45

Subject: 504 : Python CLASS: TYBBA(CA) V SEM (2019 PATTERN)

Unit 2 : Modules and Packages

Q:1 ) Answer the following questions in short:

1. What is module? Write the steps of creating the module.


2. What is the use of import statement?
3. Name any five built in modules in python.
4. What is the use of math module?
5. Write any three function of math module.
6. State any five functions of time module.
7. State three variable used by sys module.
8. Which package is used for 2D graphics in python?
9. What is the use of random function?
10.What are the advantages of using Matplotlib library?

Q:2) Answer the following question in brief:

1. Write the use of import statement with an example.


2. Which are the 3 different ways to import modules in python?
3. Explain math and cmath Modules in detail.
4. Explain the sys module in detail.
5. Explain the features of Numpy.
6. Difference between numpy array and list.

Prof. Gayatri A.Amate www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45

Subject: 504 : Python CLASS: TYBBA(CA) V SEM (2019 PATTERN)

Unit 3: Classes, Objects and Inheritance.

Q.1) Answer the following questions in short:

1. Define Class, Object.

2. Write syntax of class.

3. What is Class variables?

Q.2 Answer the following Questions:

1. Writ benefits of Inheritance.

2. Python program to create a class which performs Basics calculator operations.

Prof. Gayatri A.Amate www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45

Subject: 504 : Python CLASS: TYBBA(CA) V SEM (2019 PATTERN)

Unit 4 : Exception Handling.

Q.1 Answer the following question in short:


1. What is Exception in Python?
2. What is assertion?
3. What is the use of try finally clause.
4. Writ syntax of raise statement and explain it.
5.List out standard built in exceptions.

Q.2 Answer the following Questions:


1. Which are built in exceptions in python?
2. How to handle exception in pyton?
3. Explain except clause with no exceptions.
4. Explain user defined exceptions.
5. Which are standard expectations?

Prof. Gayatri A.Amate www.dacc.edu.in


DNYANSAGAR ARTS AND COMMERCE COLLEGE, BALEWADI, PUNE – 45

Subject: 504 : Python CLASS: TYBBA(CA) V SEM (2019 PATTERN)

Unit 5 GUI Programming

Q.1 Answer the following question in short.


1. Name the different tools python provides for developing graphical user
interface.
2. What is the purpose of tinkter?
3. List out geometry management methods.
4. Define Tkinter
2. Geometry management
5. List out any 5 button option.
6. List out any 5 label opetion.

Q.2 Answer the following question in Long.


1. Explain label widget in tkinker with an example.
2. Explain entry widgt in tkinker with an example.
3. Explain the following with proper syntax and example.
Entry.delete, entry.insert

Prof. Gayatri A.Amate www.dacc.edu.in

You might also like