You are on page 1of 5

Subject: 3150713 (Python for Data Science)

Question bank

Unit -1 Overview of Python and Data Structures:

1. List Advantages of Python SUMMER 2022

2. Explain String Slicing in python with Example SUMMER 2022

3. List and Explain different programming styles in python SUMMER 2022

4. Write a program to check whether the given number is prime or not SUMMER 2022

5. Write a program to print Fibonacci series up to number given by user SUMMER 2022

6. Write a program to print following patterns. SUMMER 2022


1)
*
**
***
****
2)
$$$$
$$$
$$
$
3)
#####
###
#
###
#####
7. Write a program to interchange the List elements on two positions entered by a SUMMER 2022
user
8. Differentiate the list and dictionary data types of python by their characteristics SUMMER 2021
along with example in brief.
9. What do you mean by slicing operation in string of python? Write an example of SUMMER 2021
slicing to fetch first name and last name from full name of person and display it.
10 Compare and summarize four different coding styles supported by Python SUMMER 2021
language.
11 What is the role of python in data science? WINTER 2022
WINTER 2021
12 Explain the input function of python that demonstrates type casting. WINTER 2022
13 Explain following data structures of python with suitable example. WINTER 2022
1. String
2. List
3. Tuple
4. Dictionary
14 Differentiate: C and Python WINTER 2022

15 How to format Date and Time in python. Explain it with example WINTER 2022

16 Write a python program to implement Fibonacci sequence for given input. WINTER 2022

17 What are the magic functions in Jupyter? Explain with example WINTER 2022

18 Write a python program that finds the factorial of a natural number n. WINTER 2022

19 Differentiate List and Tuple in Python WINTER 2021

20 List and explain any three Magic function WINTER 2021

21 Explain Dictionary in Python with example WINTER 2021

Is String a mutable data type? Also explain the string operations length, indexing WINTER 2021
and slicing in detail with an appropriate example

Unit 2: Data Science and Python:

1. Differentiate Numpy and Pandas SUMMER 2022

2. Differentiate rand and randn function in Numpy. SUMMER 2022

3. Explain DataFrame in Pandas with example SUMMER 2022

4. Explain Groupby function in pandas with example SUMMER 2022

5. Explain Web Scrapping with Example using Beautiful Soup library SUMMER 2022

6. Write a brief note on the NetworkX library. SUMMER 2022

7. Which are the basic activities we performed as a part of the data science SUMMER 2021
pipeline? Summarize and explain in brief.
8. What is the core competencies needed to become a data scientist? Explain in SUMMER 2021
brief.
9. Summarize the characteristics of NumPy, Pandas, Scikit-Learn and matplotlib SUMMER 2021
libraries along with their usage in brief.
10 Compare the numpy and pandas on the basis of their characteristics and usage. SUMMER 2021

11 Write a python code to read data from text file. WINTER 2022

12 Explain %matplotlib magic function. WINTER 2022

13 Explain any three functions from Scikit learn WINTER 2022

14 Explain how to create a data science pipeline. WINTER 2022


WINTER 2021
15 What is Scikit-learn? WINTER 2021

Unit 3: Getting Your Hands Dirty With Data:

1. Explain how to deal with missing data in Pandas. SUMMER 2022

2. Explain Bag of Word model SUMMER 2022


Or WINTER 2022
With example explain the concept of bags of words model
3. Differentiate join and merge functions in pandas SUMMER 2022

4. Write a program to print Current date and time. SUMMER 2022

5. For what purpose sampling is used. Demonstrate random sampling with SUMMER 2021
example.
6. What is the need of streaming the data? Explain data uploading and streaming SUMMER 2021
data with example.
7. Define term n-gram. Explain the TF-IDF techniques. SUMMER 2021

8. List the techniques to handle missing data. Explain various techniques with SUMMER 2021
example.
9. Define stemming. Explain the concept of stemming with example SUMMER 2021

10 Explain stemming and stop words removal operation in python. WINTER 2022

11 Explain with example how to parse XML and HTML. WINTER 2022

12 What is HTML parsing? WINTER 2021

13 What are the different ways to remove duplicate values from dataset? WINTER 2021
Unit 4: Data Visualization

1. List and Explain different graphs in MatPlotLib SUMMER 2022

2. Explain Labels, Annotation and Legends in MatPlotLib SUMMER 2022


WINTER 2022
3. Differentiate Supervised and Unsupervised learning SUMMER 2022

4. List various types of graph/chart available in the pyplot of matplotlib library for SUMMER 2021
data visualization. Explain any two of them in brief
5. What do you mean by time series data? How can we plot it? Explain it with SUMMER 2021
example to plot trend over time
6. Compare bar graph, box-plot and histogram with respect to their applicability in SUMMER 2021
data visualization
7. What is the use of scatter-plot in data visualization? Can we draw trendline in SUMMER 2021
scatter-plot? Explain it with example
8. What do you understand by Data visualization? Discuss some Python’s data WINTER 2021
visualization techniques.
9. Explain bar() function with code. WINTER 2021

10 Write a Python programming to create a pie chart with a title of the popularity of WINTER 2021
programming Languages.
Sample data: Programming languages: Java, Python, PHP, JavaScript, C#, C++
Popularity: 22.2, 17.6, 8.8, 8, 7.7, 6.7
Unit 5: Data Wrangling

1. Explain Exploratory Data Analysis (EDA). SUMMER 2022

2. Explain Hashing Trick in python with example SUMMER 2022


WINTER 2022
3. Explain Regression with example. SUMMER 2022

4. Explain Classification with example. SUMMER 2022

5. Define the term Data wrangling. Explain the steps needed to perform data SUMMER 2021
wrangling
6. Why we need to perform Z-score standardization in EDA? Justify it with example. SUMMER 2021

7. What is the use of hash function in EDA? Express various hashing trick along SUMMER 2021
with example.
8. What do you mean by Exploratory Data Analysis (EDA)? How t-test is useful for SUMMER 2021
EDA?
9. Explain Z-score standardization. WINTER 2021

10 What is Data Wrangling process? Define data exploratory data analysis? Why WINTER 2021
EDA is required in data analysis?

You might also like