DIPLOMA END SEMESTER / YEAR EXAMINATION – 2026
Course: Computer Engineering
Subject : Data Science QP Code : 1052236241
Time : 3 Hours Date : Session: Max Marks:100
Answer the Following Questions
1. a) Create a Python List/tuple which stores the details of a student(roll no, name,
dept, branch, percentage of mark) in Python and print the values.
b) Load two csv file into two data frame(d1,d2),combine both the Data frame
and find and remove duplicate rows and rename indexes.
2. a) Create the python list, convert the list and tuple as NumPy array and print its
elements. Slice the NumPy array in to 3 slices and print all.
b) Load the Iris dataset, where observations belong to either one of three iris
flower classes and visualize the average value for each feature of the Setosa iris
class using a barchart with suitable line width and color.
3. a) Load your class Mark list data from a csv (comma-separated value)file into
numpy array. Perform the following operations to inspect your array: Len(), ndim,
size, dtype, shape, info().
b) Load the Iris dataset; plot all the column’s relationships using a pair plot for
multivariate analysis. Save the plot as JPEG file.
4. a) Load a data into a pandas data frame and perform following functions on it
:min(), max(), cumsum(), mean(), median(), corrcoef(), std().
b) Implement the Machine learning model for clustering with Iris dataset and
analyse Decision Tree.
5. a) Load a data into a pandas data frame, list out number of missing values in each
column and fill the missing values with suitable default value.
b) Implement the Machine learning model for clustering with Iris dataset and
analyse K-means Clustering.
Allocation of Marks
Sl. No Description Marks
1 Aim(05),Program from Part–A(30) 35
2 Aim(05),Program from Part–B(30) 35
3 Executing anyone program(Part A or Part–B) 15
4 Output 10
5 Viva Voce 05
6 Total 100