MAILAM ENGINEERING COLLEGE,MAILAM
(Approved by AICTE, New Delhi, Permanently Affiliated to Anna University Chennai,
Accredited by NBA and TCS)
Department of Information Technology
Model Sub/
Test CS3352 / FOUNDATION OF DATA SCIENCE
Exam Code:
Year / SEM: II/III Date: 14.12.22
Time: 3 Hrs. Marks: 100
PART – A
(10X2=20)
C Lev Q.No
Questions
O el .
What is Exploratory Data Analysis (EDA)? How to retrieving
1 1 1.
the data in Data Science process?
Define common errors that occur during cleansing data.
1 1 2.
What is meant by Measure of Central Tendency?
The following frequency distribution shows the annual
incomes in dollars for a group of college graduates.
2 6 3.
(a) Construct a histogram.
(b) Construct a frequency polygon.
(c) Is this distribution balanced or lopsided?
What is meant strong, weak, perfect and linear relationship?
2 1 4.
Why correlation is used in research?
What is meant Histogram and Boxplot? Define Descriptive
3 1 5.
and Inferential Statistics.
Compare the numpy and pandas on the basis of their
4 4 6.
characteristics and usage.
Compare bar graph, box-plot and histogram with respect to
4 4 7.
their applicability in data visualization.
Write syntax for combining Datasets: Concat and Append or
4 1 8.
Merge and Join.
List various types of graph/chart available in the pyplot of
5 1 9.
matplotlib library for data visualization.
What is meant Visualization with Seaborn? Write syntax for
5 1 10.
visualization with seaborn.
PART – B
(5X13=65)
11. (i) What is meant Line Plots? Explain in detail Setting up the
1 2
a notebook for plotting and importing the functions Line Plots,
Over-plotting multiple lines, Adjusting the Plot: Line Colors
and Styles, Adjusting the Plot: Axes Limits, Labeling Plots?
(7)
1 (ii) What is meant Text and Annotation? Write syntax for Text
and Annotation and Transforms and Text Position with
example. Write a program for the Example: Effect of Holidays
on US Births. (6)
1 2 (i) Write Python program to plot Line chart by assuming your
own data and explain the various attributes of line chart. (7)
11.
(ii) Summarize the characteristics of NumPy, Pandas, Scikit-
b
2 Learn and matplotlib libraries along with their usage in brief.
(6)
(i) What is meant Simple Scatter Plots? Write a program for
2
Scatter Plots with plt.plot, Demonstration of point numbers,
Combining line and point markers, Customizing line and point
12.
numbers, Scatter Plots with plt.scatter. (7)
a
2 (ii) What is meant Geographic Data with Basemap? Write a
program for Geographic data with output and also explain
2
Map Projections? (6)
(i) What are the various drawing functions? Write any two of
1
function with syntax. (2)
12.
(ii) What are the categories of basic array manipulations?
b
2 Explain in detail about python Numpy programs with output.
(11)
2 (i) What is meant Density and Contour Plots? (2)
1
(ii) Explain in detail Visualizing a Three-Dimensional Function,
12. Labeling and Coloring with program and output. (Or)
b Write a program for Customizing Colorbars. Explain in detail
2
about Customizing Matplotlib: Configurations and
Stylesheets. (11)
3 13. (i) What is meant Legends? Explain in detail about
2
a
Customizing Plot Legends program with output. (7)
1 (ii) Write python syntax for using Matplotlib to plot the two-
dimensional array? (2)
1
(iii) What are the ways of different data sources may indicate
4
missing data? (2)
(iv) Compute the python syntax when combining masking
with aggregations.(2)
13. (i) What are the Universal Functions? Write the Arithmetic
1
b operators implemented in NumPy operator, universal ufunc
3
and description (5)
1
(ii) Write a syntax for the Comparison Operators as ufuncs
using python Numpy? (2)
1 (iii) Write the syntax for Trigonometric functions using Numpy
and explain Exponents and logarithms using Numpy. (6)
2 (i) Explain in detail about the syntax for Visualizing Errors,
Basic Errorbars, Continuous Errors? (Or)
2
(ii) What is meant Subplots? Explain in detail about Multiple
14.
4 Subplots with an example program with output? (Or)
a
(iii) What is meant Three-Dimensional Plotting in Matplotlib?
2
Explain in detail three dimensional plotting program with
output. (13)
(i) What is the Aggregation functions used in python numpy?
1
4 (2)
(ii) Write syntax for the python Numpy for the following
1
14. a) Summing the Values in an Array (3)
b b) Minimum and Maximum (3)
c) Multidimensional aggregates (3)
1
(iii) Write a python Numpy coding for how many values less
than 6 in each row? (2)
1
(i) What are the Rules of Broadcasting? (2)
(ii) Explain the python syntax for Computation on Arrays
2 using Broadcasting (5)
15.
5 1 (iii) Write python syntax for adding a two-dimensional array
a
to a one-dimensional array with output. (3)
1 (iv) Write a python syntax for Visualization of a 2D array &
output. (3)
(i) Write a python program for accessing three different
1
5 elements using Fancy Indexing, and write the syntax for
15. Modifying Values with Fancy Indexing (7)
b (ii) Explain in detail about Pandas DataFrame Object, Series
2
Object and index object using pandas write program with
output. (6)
PART – C (1X15=15)
1 (i) What are the various map-specific methods? Write any
two with syntax. (2)
1 16. (ii) Write an example to load a US president Dataset. What Is
5
a the Average Height of US Presidents Using python Numpy
with output? Or)
4
Write an example program for Counting Rainy Days using
pandas.(7) (iii) Compute relevant statistics on our Seattle
rain data (3)
1 (iv)What
(i) Writeisathe
python syntax
use of for Histogram
scatter-plot in data of rainfall in Seattle.
visualization? Can
5 we draw trend line in scatter-plot? Explain it with example.
1 16.b
(7)
(ii) Write syntax for data Aggregations on Multi-Indices. (2)
2 (iii) Explain in detail about a python program for Histograms,
Binnings, and Density with output. (6)
CO1: Define the data science process
CO2: Understand different types of data description for data science process
CO3: Gain knowledge on relationships between data
CO4: Use the Python Libraries for Data Wrangling
CO5: Apply visualization Libraries in Python to interpret and explore data
K1 – Remember, K2 – Understand, K3 – Apply, K4 – Analysis, K5 – Evaluate, K6 - Create
Prepared By Verified By Approved by
Subject In-charge Batch Coordinator HOD/IT