You are on page 1of 2

AHK/KW/19/4162

Bachelor of Commerce (Computer Application) (B.C.C.A.) Semester—VI Examination


PYTHON
Paper—2–1
Sec—II
Time : Three Hours] [Maximum Marks : 80
N.B. :— (1) All questions are compulsory.
(2) Draw well labelled diagrams wherever necessary.
PART—A
N.B. :— (1) Each questions carries 2 marks.
(2) Answer should not be more than 5 lines.
1. (a) What Python ?
(b) What is Keyword ? List any 4 keywords in Python.
(c) What is the purpose of module in Python ?
(d) Define date time module.
(e) What is class ?
(f) What is inheritance ?
(g) What is purpose of range ( ) function ?
(h) What are the states of the button recognized by tkinter ? 8×2=16
PART—B
N.B. :— (1) Each question carries 3 marks.
(2) Answer should not be more than 10 lines.
2. (a) What are tuples in Python ?
(b) Write the syntax of loops in Python.
(c) How will you display the list of Python keywords ?
(d) What is meant by lambda expression ?
(e) What is the purpose of encode( ) and decode( ) method ?
(f) Describe the file object properties.
(g) What is the limitation of GET method ?
(h) Describe radio button constructor. 8×3=24
PART—C
N.B. :— (1) Each question carries 5 or 10 marks.
(2) Answer should not be more than 400 words for 5 marks questions and 600 words
for 10 marks questions.
EITHER
3. (a) Write down important features of Python. 5
(b) What is list ? Explain with examples. 5
OR
(c) Explain various type of operators in Python. 10

CC—5175 1 (Contd.)
EITHER
4. (a) How will you create custom function in Python ? Explain with example. 5
(b) List the date time directives with meaning. 5
OR
(c) What is meant by module ? Explain with example. 10
EITHER
5. (a) Describe various operators available for string manipulation. 5
(b) Explain seek( ) and tell( ) function with example. 5
OR
(c) What is pickling and unpickling ? Explain with example. 10
EITHER
6. (a) Create a new HTML document containing a form with two text fields and a submit button.
5
(b) Describe three geometry manage methods. 5
OR
(c) Describe various options available for command button in Python. 10

CC—5175 2 AHK/KW/19/4162

You might also like