Ia-3 Mba

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

GOVERNMENT ENGINEERING COLLEGE

YARAMARUS CAMP, Raichur-584135

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Internal Assessment Test – III
---------------------------------------------------------------------------------------------------------------------------

USN:

Course Name : Python application programming (18CS752) Date: 04/01/2024


Course Code :C705 Time: 10:00-11:30
AM
Course Year : 2023-2024 Max. Marks:50
Semester / Branch: 7th, Subject Faculty Name: Azeemoddin

COURSE OUTCOMES
Students must be able to
Course
Course Outcomes Blooms Level
Code
C705.1 L1,L2
Explain the object-oriented concepts and JAVA

Answer any Two full questions.


Q No Questions Marks CO’s PO’s RBT

a What is tuple? Explain the concept of tuple assignment. 10 CO1 PO1,PO2,PO3 L1,L2

Develope a python program to print ten most occured


1
b 07 CO1 PO1,PO2,PO3 L1,L2
words in a file using tuple.

c Write a python program to extract all emails from a file 08 CO1 PO1,PO2,PO3 L1,L2
using regular expression
Write a python program to search for lines that start with From
and a character followed by a two digit number between 00
a and 99 followed by : Then print the number if it is greater than
12 CO1 PO1,PO2,PO3 L1,L2
zero.
2
b Explain classes and attributes in python with example 07 C02 PO1,PO2,PO3 L1,L2
Write a function named move_rectangle that takes rectangle
c object and two numbers dx and dy. It should change the 06 CO1 PO1,PO2,PO3 L1,L2
location of rectangle by adding dx to x-cordinate of corner and
adding dy to y-cordinate of corner.
Explain the concept of pure function and modifier. Develope a
a. python program to find duration of a event if start and end time 10 CO2 PO1,PO2,PO3 L1,L2
is given by defining class time

b Explain the working of init method with example.


3. 10 CO1 PO1,PO2,PO3 L1,L2
.
What is operator overloading? Write a python code to overload
c. "+", "-", and "*" operator by providing the methods _ _add_ _, 05 CO1 PO1,PO2,PO3 L1,L2
__sub_ _ and _ _mul_ _.
Signature of the Course Teacher: Signature of the Reviewer:

Signature of NBA coordinator: Signature of HOD:

You might also like