0% found this document useful (0 votes)
9 views

Question Bank Module IV and Module V

Uploaded by

Sugam Kedenji
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Question Bank Module IV and Module V

Uploaded by

Sugam Kedenji
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Sahyadri College of Engineering & Management

Department of Computer Science & Engineering

Subject: Application Development Using Python Subject Code: 18CS55


Class: V CSE

Question Bank forModule-IV and Module-V


1) Using python script illustrate the significance of _ _init_ _ and _ _str_ _ method in
python class.
2) Demonstrate Polymorphic functions using suitable python script.
3) Construct a python program to create a class ComplexNumber with instance attributes
real_part and imag_part. Define suitable methods to add and multiply two
ComplexNumber objects using operator overloading concepts.
4) Construct a python script to Create a class called Student with instance attributes
stu_name, stu_usn and stu_cgpa. Define read_stuDetails( ) and show_stuDetails( )
methods to set and display the values of attributes. Instantiate the class Student to
create two student objects. Also, define a function top_scorer( ) which takes two
student objects as arguments and displays the details of the student with highest score
(CGPA).
5) Illustrate pure functions and modifiers with suitable python scripts.
6) Illustrate the concepts of inheritance and class diagrams with examples
7) Use the datetime module to write a program that gets the current date and prints the
day of the week.
8) With suitable code snippets illustrate type-based dispatch in python.
9) Explain operator overloading and polymorphism with examples.
10) What methods do Selenium’s web element object have for simulating mouse clicks
and keyboard keys. Explain with python code snippet.
11) Construct a python script to Create a class called Employee with instance attributes
emp_name, emp_id and emp_salary. Define read_empDetails( ) and
show_empDetails( ) methods to set and display the values of attributes. Instantiate the
class Employee to create two Employee objects. Also, define a function
max_salaried( ) which takes two Employee objects as arguments and displays the
details of the Employee with maximum salary among the two.
12) With suitable code snippet demonstrate the process of reading data from CSV file.
13) Write a function called print_time that takes a time object and prints it in the form of
hour: minute: second
14) Demonstrate Selenium’s Web Drive method for finding elements, using python script.
15) Illustrate the process of downloading files from the web with the requests module and
saving the downloaded files to hard drive using suitable python script.
16) Illustrate the concept of inheritance using suitable python scripts.
17) With suitable code snippet illustrate the process creating and saving an excel
document.
18) With suitable code snippet illustrate the process of reading cells from active EXCEL
sheets.
19) Write a program to get a list of all files with the .pdf extension in the current working
directory and sort them.
20) Demonstrate the json module with the python program.
21) What are the advantages of CSV file? Explain the Reader objects and Writer objects
with python code.
22) Construct a python program that takes a Number N from command line and creates an
N x N multiplication table in Excel spread sheet.
23) Explain parsing HTML with the BeautifulSoup Module with code snippet for creating
finding an element and getting data.
24) Illustrate the below concepts using suitable python scripts,
i) Creating PDF file
ii) Copying PDF files
*****

You might also like