Exam Details
Subject | python programming | |
Paper | paper 2 | |
Exam / Course | mca | |
Department | ||
Organization | rayalaseema university | |
Position | ||
Exam Date | December, 2017 | |
City, State | andhra pradesh, kurnool |
Question Paper
M.C. A. DEGREE EXAMINATION, NOVEMBER/DECEMBER 2017.
Fifth Semester
Paper II PYTHON PROGRAMMING
2 90252-A
Time 3 Hours Max. Marks 60
PART — A
Answer any FIVE questions. 4 20 Marks)
each question carries 4 marks.
1. What are the uses of scripting language?
2. What are membership and identity operators in python?
3. Describe different data types in python.
4. Briefly discuss in detail about function prototyping in python. Give syntax.
5. Write a python program to comparing two strings.
6. How to access public and private member are access in python? Give the syntax.
7. Write about except Clause with Multiple Exceptions.
8. What is inheritance? How to implement inheritance in python?
PART — B
Answer ONE question from each unit. 10 40 Marks)
each question carries 10 marks.
UNIT I
9. Discuss different operators used in python.
Write a python program to find the sum of N natural numbers.
Or
10. Discuss different standard I O operations in python.
Give the different features of python.
UNIT II
11. Illustrate function call — by — value and call — by — reference with example in
python.
Or
12. Describe the following
Creating the List
Accessing values in the Lists
Updating the Lists
Deleting the list Elements
UNIT III
13. Discuss various built — in methods and function in Python.
Or
14. How to declare classes and objects in Python? Explain about class variables and
object variables.
UNIT IV
15. What is polymorphism? How to implement polymorphism in Python? Give example
program.
Or
16. What are the differences between abstract class and interface? Write a python
program in which Marti and Santro sub classes implement the abstract methods of
the super class Car.
———————
Fifth Semester
Paper II PYTHON PROGRAMMING
2 90252-A
Time 3 Hours Max. Marks 60
PART — A
Answer any FIVE questions. 4 20 Marks)
each question carries 4 marks.
1. What are the uses of scripting language?
2. What are membership and identity operators in python?
3. Describe different data types in python.
4. Briefly discuss in detail about function prototyping in python. Give syntax.
5. Write a python program to comparing two strings.
6. How to access public and private member are access in python? Give the syntax.
7. Write about except Clause with Multiple Exceptions.
8. What is inheritance? How to implement inheritance in python?
PART — B
Answer ONE question from each unit. 10 40 Marks)
each question carries 10 marks.
UNIT I
9. Discuss different operators used in python.
Write a python program to find the sum of N natural numbers.
Or
10. Discuss different standard I O operations in python.
Give the different features of python.
UNIT II
11. Illustrate function call — by — value and call — by — reference with example in
python.
Or
12. Describe the following
Creating the List
Accessing values in the Lists
Updating the Lists
Deleting the list Elements
UNIT III
13. Discuss various built — in methods and function in Python.
Or
14. How to declare classes and objects in Python? Explain about class variables and
object variables.
UNIT IV
15. What is polymorphism? How to implement polymorphism in Python? Give example
program.
Or
16. What are the differences between abstract class and interface? Write a python
program in which Marti and Santro sub classes implement the abstract methods of
the super class Car.
———————
Other Question Papers
Subjects
- big data analytics
- cloud computing
- database management systems
- financial accounting
- information security
- object oriented programming through java
- operating systems
- programming methodology in c
- python programming
- r programming
- software testing