Bca 002 004
Bca 002 004
(I) Define:
a) What is **Kwargs.
b) What is Lambda Function.
c) Difference between parameter and arguments.
d) Difference between print and return.
e) Difference between function and methods.
f) What is Decorator.
SECTION – ‘B’
Attempt any two questions from the section “B”: (4 Marks each)
Q. 3. Answer the following.
I. Python Program to Remove Duplicate Element From a List without using inbuilt method.
Q. 4. Answer the following.
SECTION – ‘C’
Attempt any two questions from section “C”: (6 Marks each)
Q. 6. Answer the following.
I. Write a program to create the oops based ATM MACHINE .
II. Write a Python program to create a class representing a bank. Include methods for managing
customer accounts and transactions.
Q.7. Answer the following.
I. Find out the output of following python Code?
a) c = ['Syntax','found',[[[[34,43,43]],[[],['Nice','error']]]]]
Output :- error
b) a = [[],[[[],[[],[34,'ansrk']]]]]
Output :- krsna
c) print(3**3**2+3452%3*2-232
Output:- ?
II. Write a Python program to create a calculator class. Include methods for basic arithmetic
operations.
I. How Do You Inherit From Another Class in Python Explain with code?