504: PYTHON (2019 Pattern) Question Paper Aug 2022 || Previous year question paper BBACA

504: PYTHON (2019 Pattern) Question Paper Aug 2022 

Previous year question paper BBACA




504: PYTHON (2019 Pattern) Question Paper Aug 2022 

BBA(CA) (Semester - V) 


[Max. Marks: 70]


Q1) Attempt any Eight of the following:   [8x2=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:   [4x4=16]

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

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. 


Q3) Attempt any Four of the following:  [4x4=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 t to display current date and time. 


04) Attempt any following:   [4x4=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 (). 

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 are valid but "()" and "() [] {} " are valid but "[)" , "({[)]" and "{{{" are invalid. 


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

a) Package 

b) Assertion 

c) Tuple

Post a Comment

0 Comments