This download link is referred from the post: JNTU Anantapur B-Tech 4-2 last 10 year question papers 2010 -2020 -All regulation- All branches- 4th Year 2nd Sem
Firstranker's choice
Code: 13A05806
--- Content provided by FirstRanker.com ---
B.Tech IV Year II Semester (R13) Regular & Supplementary Examinations April 2018
PYTHON PROGRAMMING
(Computer Science and Engineering)
Time: 3 hours
Max. Marks: 70
--- Content provided by FirstRanker.com ---
PART - A
(Compulsory Question)
1. Answer the following: (10 X 02 = 20 Marks)
- List out any three applications of Python programming.
- Write the indentation rules followed in Python.
- What is the purpose of identity operator? Give example.
- What are the steps to run a python script.
- What are the features of Tuple data structure?
- What are the uses of Dictionary data structure in Python?
- How to handle variable arguments in a function?
- What are the differences between error and exception?
- Give an example code for defining a class in python.
- List out any four libraries for GUI programming in Python.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
PART - B
(Answer all five units, 5 X 10 = 50 Marks)
--- Content provided by FirstRanker.com ---
UNIT - I
2 (a) Describe about the specialty of python and its needs.
(b) Write a history about python programming in chronological order.
OR
3. Write a python program to get a list of names from keyboard and display the list in sorted order.
--- Content provided by FirstRanker.com ---
UNIT - II
4. Elaborate the available types of operators in python.
OR
5. Describe about various control flow statements used in Python with examples.
UNIT - III
--- Content provided by FirstRanker.com ---
6 (a) What is a sequence in python? Write a simple program to explain sequence.
(b) Discuss the various operations that can be performed on a set and dictionary (minimum 5) with an example program.
OR
7 (a) Explain how to create comprehension list in Python with an example.
(b) Describe various built-in functions for manipulating list data structure in python.
--- Content provided by FirstRanker.com ---
UNIT - IV
8 (a) Define a python function to swap two variables values.
(b) Write a suitable program to explain passing default arguments to a function.
OR
9 (a) Write steps to create a package in python.
--- Content provided by FirstRanker.com ---
(b) Explain how to handle scope of variables in python.
Contd. in page 2
Firstranker's choice
Code: 13A05806
--- Content provided by FirstRanker.com ---
UNIT - V
10 (a) Write a turtle graphics program to draw a following emblem.
(b) Write short note on math library used in Python.
--- Content provided by FirstRanker.com ---
OR
11 (a) Describe about various OS interfaces available in python.
(b) Explain how to create a simple test case for a simple class definition in python.
--- Content provided by FirstRanker.com ---
This download link is referred from the post: JNTU Anantapur B-Tech 4-2 last 10 year question papers 2010 -2020 -All regulation- All branches- 4th Year 2nd Sem