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
Code: 13A05806
B.Tech IV Year II Semester (R13) Advanced Supplementary Examinations July 2018
--- Content provided by FirstRanker.com ---
PYTHON PROGRAMMING
(Computer Science and Engineering)
Time: 3 hours
Max. Marks: 70
PART - A
--- Content provided by FirstRanker.com ---
(Compulsory Question)
1 Answer the following: (10 X 02 = 20 Marks)
- List out any twelve keywords in python.
- Write various I/O statements followed in python.
- What is the purpose of membership operators?
- What will be the output of
>>>m = [[x, x +1, x +2] for x in range (0, 3)]
? - What are the features of dictionary data structure?
- What are the uses of tuple data structure in python?
- How to handle default arguments in a function?
- What is an anonymous function?
- Give an example code for try exception block.
- What is meant by data hiding in python?
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
PART - B
(Answer all five units, 5 X 10 = 50 Marks)
UNIT - I
--- Content provided by FirstRanker.com ---
2 Is Python a "Scripting language"? Describe the need of python programming.
OR
3 Show how an input and output function is performed in python with an example.
UNIT - II
4 Elaborate the available string manipulation facilities in python.
--- Content provided by FirstRanker.com ---
OR
5 Describe about various operators used in python with examples.
UNIT - III
6 (a) Discuss the difference between tuples and lists.
(b) Discuss the various operation that can be performed on a tuple and lists (minimum 5) with an example program.
--- Content provided by FirstRanker.com ---
OR
7 Explain all built-in methods for sequences data structure in python.
UNIT - IV
8 (a) Write a suitable python program to describe scope of variables.
(b) Write a suitable program to explain passing variable length arguments to a function.
--- Content provided by FirstRanker.com ---
OR
9 (a) Write steps to create a module in python.
(b) Write steps to install a package via PIP.
UNIT - V
10 Explain how to implement constructor and destructor in python with example.
--- Content provided by FirstRanker.com ---
OR
11 (a) Describe about various user interfaces available in python GUI library.
(b) Write a program in python to display any five interfaces on a form.
--- 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