0% found this document useful (0 votes)
12 views12 pages

Python Question Paper

The document contains examination questions for a T.Y.B.B.A. (C.A.) course on Python, covering various topics such as data types, exception handling, Tkinter widgets, and Python libraries. It consists of multiple sections with compulsory questions, including short answer questions, programming tasks, and theoretical explanations. Each question is assigned specific marks, and candidates are instructed to attempt a set number of questions from each section.

Uploaded by

kranuj0409
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views12 pages

Python Question Paper

The document contains examination questions for a T.Y.B.B.A. (C.A.) course on Python, covering various topics such as data types, exception handling, Tkinter widgets, and Python libraries. It consists of multiple sections with compulsory questions, including short answer questions, programming tasks, and theoretical explanations. Each question is assigned specific marks, and candidates are instructed to attempt a set number of questions from each section.

Uploaded by

kranuj0409
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Total No. of Questions : 5] SEAT No.

:
PC1170 [Total No. of Pages : 2
[6317]-305
T.Y.B.B.A. (C.A.)
CA -504 : PYTHON
(2019 Pattern) (Semester-V)

Time : 2½ Hours] [Max. Marks : 70


Instructions to the candidates:
1) All questions is compulsary.
2) Figures to the right indicate full marks.

Q1) Attempt any eight of the following. [8×2=16]


a) Write any three functions of Math module.
b) What is the use of random () in random module?
c) Name any four widgets available in Tkinter
d) What is class variable?
e) What is the use of try-finally block?
f) Write the syntax of exception.
g) State the features of Keras.
h) What are the properties of a Python list?
i) What is the use of pass and break statement?
j) What is the difference between append () and extend () methods in Python
lists?
Q2) Attempt any four of the following. [4×4=16]
a) What is dictionary? Explain three built-in dictionary functions with
examples.
b) What are the differences between global and local variables in Python?
Provide examples.
c) Explain IS-A relationship and HAS-A relationship with example.
d) Explain frame widget in tkinter with example.
e) What is Data Visualization? List any 4 data visualisation libraries.

P.T.O.
Q3) Attempt any four of the following. [4×4=16]

a) Write a Python script using class to reverse the string word by word.

b) How does Python static method works?

c) Explain the methods for Geometry Management.

d) Describe string manipulation techniques in Python with examples.

e) Write a Python program that accepts a list of numbers and returns a new
list containing only the even numbers.

Q4) Attempt any four of the following. [4×4=16]

a) What is Python? What are the benefits of using Python?

b) Write a Python program to check if a string is a palindrome.

c) Explain user defined functions with example.

d) Write a Python GUI program to accept dimension of a cylinder and


display the surface area and the volume of cylinder.

e) Explain the delete () and insert () method of entry widget.

Q5) Write short note on any two. [2×3=6]

a) Python package

b) Class method

c) Raise statement

eeee

[6317]-305 2
Total No. of Questions : 5] SEAT No. :
PB-1475 [Total No. of Pages : 2

[6226]-505
T.Y. B.B.A. (C.A.)
504 CA: Python
(Semester-V) (2019 Pattern)
Time : 2½ Hours] [Max. Marks : 70
Instructions to the candidates:
1) All questions are compulsory.
2) Figurs to the right indicate full marks.

Q1) Answer the following : (Any Eight) [2 × 8 = 16]


a) Write down difference between set and dictionary in python?
b) Define numpy.
c) What is exception in python.
d) Explain features of python
e) Explain the input( ) function.
f) Define Tkinter.
g) How to create class and object in python.
h) How to import package in python.
i) Define functions in python.
j) What is Modules.
Q2) Answer the following : (Any 4) [4 × 4 = 16]
a) Explain int ‘float’ Str, range data types with syntax and examples.
b) Describe for loop in python with syntax and example.
c) Differentiate between list and Tuple.
d) What is Inheritance? Explain its types with syntax and example.
e) Explain predefined and user defined functions with example

P.T.O.
Q3) Answer the following : (Any 4) [4 × 4 = 16]
a) Explain different types of python libraries.
b) Explain data time and calendar module with example.
c) Describe Local and Global variable with syntax and example.
d) Write a python GUI program to display an alert message when a button
is pressed.
e) Write a python program to print a table of any number.

Q4) Answer the following : (Any 4) [4 × 4 = 16]


a) Explain SYS module in detail.
b) Explain different types of Tkinter widgets with example.
c) Which are the basic dictionary operations? Explain any 4 with example.
d) Write a program to create class which perform basic calculator operations.
e) Write a program to implement the concept of queue using list.

Q5) Write short note on following : (Any 2) [3 × 2 = 6]


a) Exception handling in python
b) Data types in python
c) Matplotlib library

  

[6226]-505 2
Total No. of Questions : 5] SEAT No. :

P-6019 [Total No. of Pages : 2


[6144]-505
T.Y. B.B.A. (C.A.)
CA-504 : PYTHON
(2019 Pattern) (Semester - V)

Time : 2½ Hours] [Max. Marks : 70


Instructions to the candidates:
1) All questions are compulsory.
2) Figures to the right indicate full marks.

Q1) Attempt any eight of the following : [8 × 2 = 16]


a) What are the advantages of Pandas?
b) State the uses of Tensor flow.
c) Write Syntax of Raise Statement.
d) List out any 4 label option.
e) What are the properties of Dictionary?
f) List out geometry management methods.
g) Difference between python list and numpy array.
h) What is the use of random() in random module?
i) Explain any two tuple operations with on example.
j) List out any 5 button options in Python.

Q2) Attempt any four of the following : [4 × 4 = 16]


a) Explain Frame widget in thinker with example.
b) Explain function Arguments in details.
c) Explain any three built in dictionary function with example.
d) Write a python program to display current date and time.
e) Write an anonymous function to find area of rectangle.
P.T.O.
Q3) Attempt any four of the following : [4 × 4 = 16]

a) What are lists and tuples? What is the key difference between these
two?

b) Explain the concept of inheritance with example.

c) Explain the features of Numpy.

d) Write Python GUI program to create back ground with changing colors.

e) Write a Python Program to implement the concept of queue and list.

Q4) Attempt any four of the following : [4 × 4 = 16]

a) Explain the features of pandas in python.

b) Explain Exception handling in python with example.

c) Explain methods for geometry management in tkinter with example.

d) Write a python program to swap the values of two variables.

e) Explain difference between local and global variable with example.

Q5) Write short note on any two : [2 × 3 = 6]

a) Raise Statement

b) Package

c) HAS-A Relationship



[6144]-505 2
Total No. of Questions : 5] SEAT No. :
P1921 [Total No. of Pages : 2
[6034]-505
T.Y.B.B.A. (Computer Application)
CA - 504 : PYTHON
(2019 Pattern) (Semester - V)

Time : 2½ Hours] [Max. Marks : 70


Instructions to the candidates:
1) All questions are compulsory.
2) Figures to the right indicate full marks.

Q1) Attempt any eight of the following. [8×2=16]


a) What are special operators in Python?
b) Difference between Python list and Numpy array.
c) State any four time module.
d) What is class variable?
e) List out Geometry management methods.
f) Define term Bind method.
g) What is Sea born?
h) Write any two common exceptions in Python.
i) What are advantages of pandas.
j) How to create class and object in Python?

Q2) Attempt any four of the following. [4×4=16]


a) Explain math and Cmath module in detail.
b) Explain different data types in Python.
c) Explain inheritance in brief with syntax.
d) Explain various types of exceptional handling in Python.
e) Explain principle of Keras.

P.T.O.
Q3) Attempt any four of the following : [4×4=16]

a) What are built in dictionary function in Python with example.

b) Explain features of pandas in Python.

c) Explain the following with proper syntax and example entry.delete,


entry.insert.

d) Write a Python program to find factors of a given number.

e) Write a Python script to generate Fibonacci termsusing generator function.

Q4) Attempt any four of the following. [4×4=16]

a) How to define function in Python? Explain with suitable example.

b) Explain EXCEPT Clause with no exception.

c) Explain IS-A relationship and It as-A relationship with example.

d) Write a Python program to check if a given key already exists in a


dictionary. If Key exists replace with another key/value pair.

e) Write a Python program to swap the value of two variables.

Q5) Write short notes on (any two). [2×3=6]

a) Slicing Dictionaries.

b) Data visualization.

c) Custom Exception.



[6034]-505 2
Total No. of Questions : 5] SEAT No. :

PA-1982 [Total No. of Pages : 2

[5954]-505
T.Y. B.B.A. (CA)
CA - 504 :PYTHON
(2019 Pattern) (Semester - V)
Time : 2½ Hours] [Max. Marks : 70
Instructions to the candidates:
1) All questions are compulsory.
2) Figures to the right indicate full marks.

Q1) Attempt any eight of the following questions. [8×2=16]


a) List out special operators in Python?
b) Explain any two tuple operations with an example.
c) What is the use of '+' and '*' operators on tuples?
d) What is the use of random() in random module?
e) What is the syntax of constructor in Python?
f) What is the use of try - finally block?
g) List out any 5 button options in Python?
h) How is grid() geometry management method used in tkinter?
i) What are advantages of Pandas?
j) State the uses of tensor flow.

Q2) Attempt any four of the following questions. [4×4=16]


a) Explain function Arguments in detail?
b) Explain any three widgets in tkinter in brief.
c) Explain IS-A Relationship and Has - A relationship with example?
d) Write a python program to create a class circle and compute the Area
and the circumferences of the circle. (Use parametrized constructor).
e) Write a python script using class to reverse a string word by word?

P.T.O.
Q3) Attempt any four of the following questions. [4×4=16]

a) What is Pandas? Explain features and advantages of Pandas.

b) Write in brief about anonymous functions.

c) Explain math built-in-module with examples?

d) Write a python class to accept a string and number 'n' from user and
display 'n' repetition of strings by overloading *operator.

e) Write python GUI program to generate a random password with upper


and lower case letters.

Q4) Attempt any four of the following questions. [4×4=16]

a) Explain Exception handling in python with example?

b) Explain methods for geometry management in tkinter with examples?

c) Explain functions to delete elements in Dictionary?

d) Write a python program to accept string and remove the characters which
have odd index values of given string using user defined function.

e) Write a python program to swap the value of two variables.

Q5) Write a short note on any two of the following. [2×3=6]

a) NumPy

b) Slicing dictionaries.

c) Raise statement.



[5954]-505 2
Total No. of Questions : 5] SEAT No. :

P2142 [Total No. of Pages : 2

[5803]-505
BBA(CA)
CA-504 : PYTHON
(2019 Pattern) (Semester - V)
Time : 2½ Hours] [Max. Marks : 70
Instructions to the candidates:
1) All question is compulsory.
2) Figures to the right indicate full marks.

Q1) Attempt any Eight of the following : [8 × 2 = 16]


a) What are the properties of a Dictionary?
b) Write the use of an import statement with an example.
c) Differentiate between Python list and NumPy array.
d) What is scikit-learn?
e) Write the definition of class method.
f) Write the syntax of the Raise statement & explain it.
g) List out Geometry Management methods.
h) What is Tkinter in Python?
i) Break and pass statement in Python.
j) Write any two common exceptions in Python.

Q2) Attempt any Four of the following : [4 × 4 = 16]


a) What is Python? What are the benefits of using Python?
b) Name any five built in modules in Python.
c) Write in brief anonymous functions.
d) What is inheritance? Write its benefits and syntax.
e) Explain frame widget in Tkinter with an example.

P.T.O.
Q3) Attempt any Four of the following : [4 × 4 = 16]
a) What are lists and tuples? What is the key difference between the two?
b) What are the common built in data types in Python?
c) Which are built in exceptions in Python?
d) Write the principles of keras.
e) Write a Python program to display current date and time.

Q4) Attempt any Four of the following : [4 × 4 = 16]


a) Which are the built in exceptions in Python?
b) Explain the features of pandas in Python?
c) Define an abstract class shape and its subclass (square / circle). The
subclass has an init function which takes an argument (length/radius)
Both classes have an area & volume function which can print the area
and volume of shape where the area of shape by default 0.
d) Write a Python program to check whether a number is in a given range.
e) Write a Python class to find the validity of a string of parentheses, '(', ')',
'{' , '}', '[' , ']'. These brackets must be closed in the correct order for
example "( )" and "( ) [ ] { }" are valid but "[ )", "({[)]" and "{{{" are
invalid.

Q5) Write a short note on Any Two of the following : [2 × 3 = 6]


a) Package
b) Assertion
c) Tuple



[5803]-505 2

You might also like