App Imp 2021 Reference
App Imp 2021 Reference
(AUTONOMOUS)Important Questions
REFERENCE PURPOSE
B. Tech III Year II Semester (R17) Regular Examinations– 2021
Advanced Python Programming (17CA05603)
(CSE)
(a) List out any three applications of Python programming.
(b) Write the indentation rules followed in Python.
(c) What is the purpose of identity operator? Give example.
(d) What are the steps to run a python script.
(e) What are the features of Tuple data structure?
(f) What are the uses of Dictionary data structure in Python?
(g) How to handle variable arguments in a function?
(h) What are the differences between error and exception?
(i) Give an example code for defining a class in python.
(j) List out any four library for GUI programming in Python.
a) List out any twelve keywords in python.
(b) Write various I/O statements followed in python.
(c) What is the purpose of membership operators?
(d) What is the difference between immediate mode and script mode.
(e) What are the features of dictionary data structure?
(f) What are the uses of tuple data structure in python?
(g) How to handle default arguments in a function?
(h) What is an anonymous function?
(i) Give an example code for try exception block.
(j) What is meant by data hiding in python?
a) Write steps to run a python script.
(b) Give an example for shared references.
(c) What is the use of membership operators?
(d) What will be the output of >>>m = [[x, x+1, x+2] for x in range (0, 3)]?
(e) Give examples for any two usage of dictionaries data structure.
(f) What are the uses of comprehensions in python?
CHADALAWADA RAMANAMMA ENGINEERING COLLEGE
(AUTONOMOUS)Important Questions
REFERENCE PURPOSE
B. Tech III Year II Semester (R17) Regular Examinations– 2021
Advanced Python Programming (17CA05603)
(CSE)
(g) How to pass arguments to a function in python?
(h) Give an example for local and global scope of the variables in a function.
(i) What are lambda functions in Python
(j) What is meant by override a method?
a) What is the difference between compiled and interpreted languages?
b) How pass statement is different from a comment?
c) What are mutable and immutable types?
d) What is the purpose of global keyword in Python?
e) How to handle multiple exceptions with single except clause?
f) Write Python script that prints calendar of November 2020
a) What happens if a semicolon (;) is placed at the end of a Python statement?
b) What are membership operators? Give examples for usage.
c) What is a dictionary in Python?
d) Can a Python function return multiple values? If yes, how it works?
e) How to make a Python class member variable hidden from outside the class?
f) Write Python program to calculate your age in days. (days between Today and Date of Birth)
g) Compare fruitful and void functions.
CHADALAWADA RAMANAMMA ENGINEERING COLLEGE
(AUTONOMOUS)Important Questions
REFERENCE PURPOSE
B. Tech III Year II Semester (R17) Regular Examinations– 2021
Advanced Python Programming (17CA05603)
(CSE)
PART B
1.(a) Write a history about python programming in chronological order.
(b) Describe about the specialty of python and its needs. OR
2 Write a python program to get a list of names from keyboard and display the list in sorted
order.
3 Elaborate the available types of operators in python with example code segment. OR
4 Describe about various control flow statements used in Python with examples.
5 (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
6 (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.
7 (a) Define a python function to swap two variables values.
(b) Write a suitable program to explain passing default arguments to a function.
OR
8 (a) Write steps to create a package in python.
(b) Explain how to handle scope of variables in python.
9 Is Python a “Scripting language”? Describe the need of python programming. OR
10 Show how an input and output function is performed in python with an example.
11 Elaborate the available string manipulation facilities in python. OR
12 Describe about various operators used in python with examples.
13 (a) Discuss the difference between tuples and list.
(b) Discuss the various operation that can be performed on a tuple and lists (minimum 5) with an
example program. OR
CHADALAWADA RAMANAMMA ENGINEERING COLLEGE
(AUTONOMOUS)Important Questions
REFERENCE PURPOSE
B. Tech III Year II Semester (R17) Regular Examinations– 2021
Advanced Python Programming (17CA05603)
(CSE)
14 Explain all built-in methods for sequences data structure in python.
15 (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.
OR
16 (a) Write steps to create a module in python.
(b) Write steps to install a package via PIP.
17 Explain how to implement constructor and destructor in python with example.
OR
18 (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.
19 Describe in detail about technical strengths of python. OR
20Describe about available I/O facilities in python.
21 List out various string manipulation process that can be done in python with example code
segment. OR
22 Describe about control flow statements in python with an example.
23 What are the features of tuple data structure? Explain these features with example code in
python. OR
24 Explain all built-in methods for list data structure in python.
25 Write a python program to define a function to sort a give array, passing as an argument.
Also write main function to use the defined function.
OR
26 Describe about default arguments and variable length arguments with suitable programs.
27 Explain how to implement inheritance in python with example.
OR
28 Explain about the available operating system interface through standard library.
29. a) What is Python? Describe its features and applications?
CHADALAWADA RAMANAMMA ENGINEERING COLLEGE
(AUTONOMOUS)Important Questions
REFERENCE PURPOSE
B. Tech III Year II Semester (R17) Regular Examinations– 2021
Advanced Python Programming (17CA05603)
(CSE)
b) What is IDE? Describe in detail about the
10 Marks Questions
1. (a) What are the uses of Dictionary data structure in Python?
(b) Explain about reading and write files?
2. (a) Explain about Tkinter pragmatics?
(b) Write the syntax and code for button and entry widgets in GUI programming?
3. Explain how to implement inheritance in python with example.
4. (a) What are the features of dictionary data structure?
(b) Explain file operations in python with examples
5. (a) Write steps to create a module in python.?
(b) Explain how to handling errors and exceptions?
6. (a) Explain how to implement polymorphism in python with example.
(b) Explain about Tkinter structure?
7. What are the operations and methods in dictionaries?
8. Write steps to create a package in python.
9. (a) Explain Tkinter coding alternatives?
(b) Create a form with GUI Tkinter widgets?
10. Explain file operations in python with examples.
CHADALAWADA RAMANAMMA ENGINEERING COLLEGE
(AUTONOMOUS)Important Questions
REFERENCE PURPOSE
B. Tech III Year II Semester (R17) Regular Examinations– 2021
Advanced Python Programming (17CA05603)
(CSE)
11.Write in detail about Using Python Packages?
12. All TKinter widgets and its syntaxes with example programs?(External Exams)