Download JNTUA B.Tech 4-2 R13 2017 April Regular 13A05806 Python Programming Question Paper

Download JNTUA (JNTU Anantapur) B.Tech R13 (Bachelor of Technology) 4th Year 2nd Semester 2017 April Regular 13A05806 Python Programming Previous Question Paper || Download B-Tech 4th Year 2nd Sem 13A05806 Python Programming Question Paper || JNTU Anantapur B.Tech 4-2 Previous Question Paper || JNTU Anantapur B.Tech ME 4-2 Previous Question Paper || JNTU Anantapur B.Tech CSE 4-2 Previous Question Paper || JNTU Anantapur B.Tech Mech 4-2 Previous Question Paper || JNTU Anantapur B.Tech EEE 4-2 Previous Question Paper || JNTU Anantapur B.Tech ECE 4-2 Previous Question Paper


Code: 13A05806


B.Tech IV Year II Semester (R13) Regular Examinations April 2017
PYTHON PROGRAMMING
(Computer Science and Engineering)

Time: 3 hours Max. Marks: 70

PART ? A
(Compulsory Question)

*****
1 Answer the following: (10 X 02 = 20 Marks)
(a) What are the conventions followed in variable declaration and definitions in python?
(b) What are the advantages of interactive mode of python programming?
(c) List out the basic data types of python programming.
(d) What are the roles of pass keyword?
(e) Give examples for any two usage of dictionaries data structure.
(f) What are the types of sequences in python?
(g) How to represent variable length arguments in python.
(h) Give an example for fruitful function.
(i) What is data hiding? Give an example in python.
(j) What are the standard libraries for GUI programming in python?

PART ? B
(Answer all five units, 5 X 10 = 50 Marks)

UNIT ? I

2 (a) Enumerate any twenty keywords in python.
(b) Give a Brief description about history of python and the need of python.
OR
3 (a) Explain the various input and output methods in python.
(b) What are the indentation rules that followed in python?

UNIT ? II

4 Discuss about various operators in python programming. Give code segments of each operator usage.
OR
5 (a) List out the order of expression evaluation from highest to lowest.
(b) Write a python program for multiplication of two 3 x 3 matrix.

UNIT ? III

6 (a) Give any three examples of list comprehensions.
(b) Explain the various methods of tuples in python.
OR
7 (a) Give any three examples of slicing.
(b) Explain the various methods of sets in python.

UNIT ? IV

8 (a) Write a function called is_ prime which takes a single integer argument and returns True if the integer is a
prime number and False otherwise. A prime number is a number with only two distinct divisors, 1 and
itself. Note: 1 is therefore not a prime number.
(b) Explain how to represent local and global variables in python.
OR
9 (a) Write steps to install packages via pip.
(b) Write a python program to describe error and exception handling.

UNIT ? V

10 (a) Explain how to override methods in python.
(b) Describe about a class and constructor methods with an example.
OR
11 (a) Write a short python script to test any three string methods.
(b) Explain the features of turtle graphics in python.
*****
R13
FirstRanker.com - FirstRanker's Choice

This post was last modified on 10 September 2020