Python Lab
Python Lab
CO2 - Implement various data structures, strings, functions, regular expressions and packages.
1
CO3 - Develop programs using File handling and exception handling.
15.Course Syllabus:
LIST OF EXPERIMENTS
Module 1:
Module 2:
2
i. Reverse the TUPLE2.
3. Create a dictionary
a. Get a list of all keys. b. Get a list of all values. c. Slice a dictionary.
d. Remove an element from dictionary. e. Clear the dictionary.
Module 3:
Module 4:
3
Total Instructional Hours 45
References:
R1 - (For Problems)SeymourLipschutz- Data Structures with C- Schaum’s Outlines-
Special Indian Edition- Tata McGraw-Hill Education (India) Pvt Ltd, Chennai- 20th
reprint 2017.
16.Course plan:
Sl.
No of Cum
No.
Name of the Experiment Hrs Hours
4
to list.
5
c.Open a file and append its content.
6
Sl.No Topics F1 F2 F3 F4 A1 A2
1. Install anaconda, pycharm and Jupyter. 1 1 1 0 4 2.86
2. Use format() method to display the user given input. 1 1 1 0 3 2.86
7
Sl.No Topics F1 F2 F3 F4 A1 A2
Create a dictionary
a.Get a list of all keys. b. Get a list of all values. c.
10. Slice a dictionary. 2 1 0 0 2 2.86
8
2. Mapping syllabus with Bloom’s Taxonomy LOT and HOT:
Lower Order Thinking
Students are expected to Recall the information through Recognizing,
R Remembering
listing, describing, retrieving, naming, finding
Students are expected to Explain an ideas or concepts through
U Understanding
Interpreting, summarizing, paraphrasing, classifying, explaining
Students are expected to Use the information in another familiar
Ap Applying
situation through Implementing, carrying out, using, executing
Higher Order Thinking
Students are expected to Break the information into parts to explore
A Analyzing understandings and relationships through Comparing, organizing,
deconstructing, interrogating, finding
Students are expected to Evaluate the Justifying a decision or course of
E Evaluating
action through Checking, hypothesizing, experimenting, judging
Students are expected to Generate new ideas, products, or ways of
C Creating viewing things through Designing, constructing, planning, producing,
inventing.
R U Ap A E C Total
Type of thinking in Nos 0 0 1 1 0 4 6
9
Create a list with 10 elements
a.Slice first element. b. Slice last element.
c. Slice 3rd to 7thelement.d.Index the list. e. Creating
7 Create
Add one element to list. f. Add several CO2
elements to list.
10
duplicate word count on it.
c. Do string strip and string replace operation
Create a module, import it and execute in Create Creating
13
python. CO2
R U Ap A E C Total
Type of thinking in Nos 0 0 0 2 0 5 7
Weightage,% 0 0 0 6 0 14.99 20.99 %
FILE HANDLING AND EXCEPTION HANDLING IN PYTHON(Weightage :22.9%)
14 Implement file concept in python. In a File
do the following file operations:
a.Open a file and read its content. Applying
Implement
b.Open a file and write its content to another CO3
file.
c.Open a file and append its content.
15 Applying
Implement Pickle and unpickle in python. Implement
CO3
16 Applying
Implement Exception handling in python. Implement
CO3
17 Creating
Do python code for assertions and logging. Use
CO3
18 Applying
Implement custom exceptions. Implement
CO3
R U Ap A E C Total
Type of thinking in Nos 0 0 0 4 0 1 5
Weightage,% 0 0 0 15.26 0 3.81 19.76%
OBJECT-ORIENTED PROGRAMMING IN PYTHON(Weightage :22.9%)
14 Implement constructor and destructors in Applying
Implement
python. CO4
15 Use getter and setter method in your program Creating
Use
to get and set values from user. CO4
16 Creating
Implement inheritance in python. Implement
CO4
17 Applying
Implement polymorphism in python. Use
CO4
18 Implement abstract class and interface in Applying
Implement
python. CO4
R U Ap A E C Total
Type of thinking in Nos 0 0 3 0 0 2 5
Weightage,% 0 0 13.74 0 0 9.16 22.9%
WEB OPERATIONS IN PYTHON(Weightage :14.31%)
14 Develop a web application using web forms. Develop Creating
11
CO5
15 Implement the python program to perform Applying
Implement
various database operations. CO5
16 Applying
Implement web scramping.. Implement
CO5
R U Ap A E C Total
Type of thinking in Nos 0 0 2 0 0 1 3
Weightage,% 0 0 9.54 0 0 4.77 14.31%
R U AP A E C TOTAL
BASICS OF PYTHON 0 0.00 3.82 3.82 0 15.26 22.89
DATA TYPES IN
0 0 0 6 0 14.99 20.99
PYTHON
FILE HANDLING
AND EXCEPTION
0 0 0 15.26 0 3.81 19.76
HANDLING IN
PYTHON
OBJECT-ORIENTED
PROGRAMMING IN 0 0 13.74 0 0 9.16 22.9
PYTHON
WEB OPERATIONS
0 0 9.54 0 0 4.77 14.31
IN PYTHON
TOTAL 0 0 27.10 19.08 0 47.99 100.85
Lower Order Thinking 27.10%
Higher Order Thinking 73.08%
12
3. Mapping Course Outcome(COs) with Bloom’s Taxonomy LOT and HOT:
R U Ap A E C
CO1
CO2
CO3
CO4
CO5
3. Create and assess solutions for intricate computing challenges. Develop and
appraise systems, components, or processes that fulfill specific requirements,
giving careful thought to public health and safety, as well as cultural, societal, and
environmental considerations.
13
society. Demonstrate the ability to create informative reports, design
documentation, deliver effective presentations, and give and comprehend clear
instructions.
10. Evaluate societal, environmental, health, safety, legal, and cultural considerations
within both local and global contexts. Recognize the corresponding
responsibilities associated with professional computing practice.
12. Identify a timely opportunity and using innovation to pursue that opportunity to
create value and wealth for the betterment of the individual and society at large.
PO PO PO PO PO PO PO PO PO PO PO PO PO
1 2 3 4 5 6 7 8 9 10 11 12
CO1 3 0 0 1 0 3 1 0 3 1 0 0
CO2 0 3 3 2 3 0 2 3 0 2 3 3
CO3 3 0 0 1 0 3 1 0 3 1 0 0
CO4 0 3 3 2 3 0 2 3 0 2 3 3
CO5 0 3 3 2 3 0 2 3 0 2 3 3
MCA graduates will exhibit leadership skills and innovative thinking, enabling them to
lead teams and contribute to the development of cutting-edge IT solutions. They will be
PEO 2 adept at identifying opportunities for technological advancement, applying creative
problem-solving approaches, and adapting to evolving industry trends to address the
dynamic needs of the information technology sector.
Graduates will be socially responsible and ethically conscious professionals, recognizing
PEO 3 the societal impact of technology. They will incorporate ethical considerations in decision-
making processes, demonstrating a commitment to responsible computing practices.
Additionally, they will engage in projects that contribute positively to the community and
14
align with the principles of sustainable development.
ModelLab: 25 Marks
Objective To Identify What Students Have Learned and also to identify students strength and
weakness and to know about experiment
Product Answer scripts
Frequency Once in a semester
Format Total marks = 25
Duration : 2hour and 30 minutes
Evaluation Based on answer given in the scripts / rubrics
Viva-Voce: 5 marks
Objective To measure knowledge, abilities, and/or skills.
Product Questions and answers
Frequency After completing each experiment
Format Objective type questions
Evaluation Based on answer given by students
15
End semester exam: 50 marks
Objective To assess the each student’s knowledge of the course
Product Result analysis
Frequency Semester
Format Aim and Algorithm = 20 marks
Coding & Execution = 50 marks
Result = 15 Marks
Viva-Voce= 15 Marks
Total marks = 100 and this mark is converted to 50 marks
Duration : 3 hours
Evaluation Based on answer given in the scripts
criteria Minimum pass percentage: 50%
If not, remedial action will be taken.
Approved by,
Dean (Academics) PRINCIPAL
16