0% found this document useful (0 votes)
3 views1 page

Data Science Questions Set

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)
3 views1 page

Data Science Questions Set

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

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

You might also like