0% found this document useful (0 votes)
73 views8 pages

App Imp 2021 Reference

This document contains a collection of important questions related to the Advanced Python Programming course for the third year second semester regular examinations in 2021 at Chadalawada Ramanamma Engineering College. It includes questions covering various Python topics like applications of Python, data structures, functions, classes, exceptions, GUI programming, and more. There are over 100 questions total, split into multiple choice as well as long answer questions, to serve as a reference for exam preparation.

Uploaded by

sdafsadf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views8 pages

App Imp 2021 Reference

This document contains a collection of important questions related to the Advanced Python Programming course for the third year second semester regular examinations in 2021 at Chadalawada Ramanamma Engineering College. It includes questions covering various Python topics like applications of Python, data structures, functions, classes, exceptions, GUI programming, and more. There are over 100 questions total, split into multiple choice as well as long answer questions, to serve as a reference for exam preparation.

Uploaded by

sdafsadf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

CHADALAWADA RAMANAMMA ENGINEERING COLLEGE

(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

30. a) Differentiate between listsand tuples in Python?


b) Explain in detail about Python type conversion and type casting?
31. a) What are operators in Python? Describe specifically about identity membership operator?
b) Write a python script to print the following pattern?
* * * *
* * *
* *
*
32. a) Describe the Use of Inheritance in Python?
b) Write in detail about Using Python Packages?
33. a) What is Module in Python? program explain with an example
b) Explain Python Built-in Exceptions
34. a) Python has developed as an open source project. Justify this statement.
b) What are identifiers? Discuss the rules to name an identifier.
35. a) What are the different loop control statements available in Python? Explain with suitable
examples.
b) Write a Python program that calculates number of seconds in a day.
36. a) Explain the List Accessing Methods and List Comprehension.
b) Write a Python program to read a word and print the number of letters, vowels and percentage
of vowels in the word using a dictionary.
37. a) Describe about variable length arguments with suitable program
b) What are the two ways of importing a module? Which one is more beneficial? Explain.
38. a) How to implement method overriding in Python? Explain
b) Discuss with an example exceptions with arguments 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)
39Write a program for basic web browser using Tkinter which should have a Text widget where
the user can enter a URL and a Canvas to display the contents of the page.

(a) Define Inheritance?


(b) Give an example code for defining a class in python.
(c) What are the features of dictionary data structure?
(d) What are the differences between error and exception?
(e) List any four Tkinter widgets?
(f) How you can write comments in python?
(g) Write a brief note on PIP.
(h) Write the syntax of a function?
(i) What is encapsulation?
(j) What is the purpose of identity operator? Give example.
(k) Write the indentation rules followed in Python
(l) List out any four keywords in python.
(m) How to pass arguments to a function in python?
(n) What is an anonymous function?
(o) Give an example code for defining a class in python.
(p) What is polymorphism ?
(q) What is the purpose of format operator?
(r) What are the extensions in TKinter GUI Programming?
(s) List out any four library for GUI programming in Python.
(t) Mention list of arguments in a function?
(u) How to handle multiple exceptions with single except clause?
CHADALAWADA RAMANAMMA ENGINEERING COLLEGE
(AUTONOMOUS)Important Questions
REFERENCE PURPOSE
B. Tech III Year II Semester (R17) Regular Examinations– 2021
Advanced Python Programming (17CA05603)
(CSE)
(v) Differentiate Overriding and Overloading in python?
(w) Can a Python function return multiple values? If yes, how it works?
(x) How to make a Python class member variable hidden from outside the class?
(y) What is the purpose of lambda?
(z) What is bound method in GUI TKinter?

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)

You might also like