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

Python Lab Manual (3)

.

Uploaded by

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

Python Lab Manual (3)

.

Uploaded by

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

LAB MANUAL

K. R. MANGALAM UNIVERSITY
UG CODE - 151
BCA(AI & DS)
(SCHOOL OF ENGINEERING AND TECHNOLOGY)

MR. NIKHIL PANDAY

NAME: NAMRATA MURALIDHARAN


ROLL NUMBER: 2401201049

K. R. MANGALAM UNIVERSITY, SOHNA ROAD


GURUGRAM HARYANA
122103

BCA(AI & DS)


SOET
(SCHOOL OF ENGINEERING AND TECHNOLOGY)
ENSP151- CLEAN CODING WITH PYTHON LAB

Submitted by- Submitted to-


Name: Namrata Muralidharan Mr. Nikhil Panday
Roll No. : 2401201049
S.No LAB ASSIGNMENTS PAGE NO.
1. Write a Python script that demonstrates clean coding
practices by organizing variables, naming conventions, and
comments to improve readability

2. Develop a Python script that implements and optimizes


various data structures, like lists, dictionaries, and sets, to
manage complex data workflows.

3. Construct a modular Python application that organizes code


into reusable functions, demonstrating the benefits of
modular programming.

4. Develop a Python application that incorporates exception


handling, allowing the program to handle unexpected inputs
and errors gracefully

5. Develop a Python application that incorporates exception


handling, allowing the program to handle unexpected inputs
and errors gracefully.

6. Create a Python program using loops and conditional logic to


simulate a real-world scenario (e.g., inventory management
or banking), leveraging dictionaries and lists for effective
data handling.

7. Write a Python script that reads data from a CSV file,


processes it with pandas, and applies basic statistical
functions (mean, median, mode) to generate insights.

8. Implement a Python script dedicated to advanced data


preprocessing, cleaning, and transformation of real-world
datasets using pandas.

9. Create a Python application to perform exploratory data


analysis (EDA) on a dataset, identifying patterns and insights
within the data.

10. Design a data visualization program using Matplotlib and


Seaborn to illustrate trends and relationships within data,
focusing on creating clear and meaningful plots
Lab Assignment 1
Write a Python script that demonstrates clean coding practices by
organizing variables, naming conventions, and comments to
improve readability.

INPUT:
OUTPUT:
Lab Assignment 2
Develop a Python script that implements and optimizes various
data structures, like lists, dictionaries, and sets, to manage
complex data workflows.

INPUT:
OUTPUT:
Lab Assignment 3
Construct a modular Python application that organizes code into
reusable functions, demonstrating the benefits of modular
programming.

INPUT:
OUTPUT:
Lab Assignment 4
Redesign an existing Python script, focusing on improving
readability and performance through strategic refactoring
techniques.

INPUT:

OUTPUT:
Lab Assignment 5
Develop a Python application that incorporates exception
handling, allowing the program to handle unexpected inputs and
errors gracefully.

INPUT:
OUTPUT:
Lab Assignment 6
Create a Python program using loops and conditional logic to
simulate a real-world scenario (e.g., inventory management or
banking), leveraging dictionaries and lists for effective data
handling.

INPUT:
OUTPUT:
Lab Assignment 7
Write a Python script that reads data from a CSV file, processes it
with pandas, and applies basic statistical functions (mean,
median, mode) to generate insights.

INPUT:

OUTPUT:
Lab Assignment 8
Implement a Python script dedicated to advanced data
preprocessing, cleaning, and transformation of real-world
datasets using pandas.

INPUT:
OUTPUT:
Lab Assignment 9
Create a Python application to perform exploratory data analysis
(EDA) on a dataset, identifying patterns and insights within the
data.

INPUT:
OUTPUT:
Lab Assignment 10
Design a data visualization program using Matplotlib and Seaborn
to illustrate trends and relationships within data, focusing on
creating clear and meaningful plots.

INPUT:
OUTPUT:

You might also like