0% found this document useful (0 votes)
505 views4 pages

Python for Data Science Exam Bank

Uploaded by

dhvanilpatel2004
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)
505 views4 pages

Python for Data Science Exam Bank

Uploaded by

dhvanilpatel2004
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/ 4

Laxmi Institute of Technology, Sarigam

Approved by AICTE, New Delhi; Affiliated to Gujarat Technological University, Ahmedabad

GTU Exam Question Bank

Department: Computer Science & Engineering

Name of Subject In charge: Ankita V. Rachh

Subject Name: Python for Data Science Subject Code: 3150713

Academic Year: 2024-2025 Semester: 5th

Sr. Questions GTU


No. Paper
1 Why python is very popular language in 21st Century? Winter 23,
Summer 23
2 What is the role of python in data science? Winter 22,
Winter 21,
Winter 20
3 Explain the input function of python that demonstrates type casting. Winter 22
Winter 20
4 Discuss the role of indentation in python.
5 How to format Date and Time in python. Explain it with example. Winter 22,
Winter 20
6 Write any four-python command that demonstrate Python as calculator. Winter 23
7 Explain with example use of range () function in python. Winter 23,
Winter 20
8 Explain the phases of Data Science Pipeline. Winter 23,
Winter 22,
Winter 21,
Summer
24,
Summer 21
9 List the different data structure used in python and Explain. Winter 23,
Winter 22
10 Differentiate List and Tuple. Winter 21
11 Explain Dictionary in Python. Winter 21,
Summer 24
12 Is String a mutable data type? Also explain the string operations length, Winter 21
indexing and slicing in detail with an appropriate example
13 Write a python code to read data from text file using Pandas library. Winter 22,
Winter 20
14 Write a python program to read data from CSV files using pandas Winter 20
15 What is the use of magic function in python? Explain with the help of Winter 23,
example. Winter 21
16 Explain the use of following libraries of python in data science Winter 23,
i. Matplotlib Winter 21,
ii. Scikit-learn Winter 20
17 Write the difference between numpy and pandas. Winter 23,
Winter 22,
Summer
22,
Summer 21
18 Differentiate: C and Python. Winter 22
19 Describe the three levels of flat-file dataset. Explain any two with the Winter 23
help of example
20 List the different line styles used in charts Winter 23
21 Explain with the example use of axes () and grid () method in plots. Winter 23
22 What is the use of %matplotlib inline command? Winter 23
23 What is the use of labels, annotations and legends in plot? Explain with Winter 23,
example. Winter 22,
Summer
23,
Summer 22
24 Explain Classification and clustering class of Scikit-learn. Winter 23,
Winter 20,
Summer 22
25 Illustrate the concept of regression class of Scikit-learn with the help Winter 23,
of small example. Winter 20,
Summer 22
26 What is the use of hashing trick and hash function in Scikit-learn? Winter 23,
Explain in detail with example. Summer
23,
Summer 22
27 Explain any three functions from Scikit learn. Winter 22
28 What do you mean by categorical data? Explain with small example. Winter 23,
Winter 21,
Winter 20,
Summer 24
29 Explain the use of skew () and kurtosis () function Winter 23,
Winter 22
30 Explain EDA approach in detail. Winter 23,
Winter 22,
Winter 20,
Summer
22,
Summer
23,
Summer 21
31 What is Data Wrangling process? Define data exploratory data analysis? Winter 21,
Why EDA is required in data analysis? Summer 23
32 Explain %matplotlib magic function. Winter 22
33 Explain stemming and stop words removal operation in python Winter 22,
Summer
23,
Summer 24
34 With example explain the concept of bags of words model. Winter 22,
Winter 20,
Summer
23,
Summer
22,
Summer 21
35 Explain scatterplots and Box plot with example. Winter 21,
Summer
23,
Summer 21
36 Explain with example how to parse XML and HTML Winter 22,
Winter 21,
Summer 23
37 Write a python code that demonstrate hashing trick Winter 22
38 Write a small code to perform following operations on data: Slicing, Winter 22
Dicing, Concatenation, Transformation
Winter 20,
39 Explain TF-IDF transformations. Summer
24,
Summer 21
Winter 21,
40 Explain Slicing rows and columns with example. Summer 22
41 Explain covariance and correlation Winter 21,
Summer
24,
Summer 21
42 Explain Z-score standardization. Winter 22,
Summer
23,
Summer 21
43 How to Obtain online graphics and multimedia. Explain with example Winter 22
Winter 21,
44 What do you mean by missing values? Explain the different ways to Summer
handle the missing value with example. 22,
Summer
24,
Summer 21
Winter 21
45 What are the different ways to remove duplicate values from dataset?
Winter 21
46 What do you understand by Data visualization? Discuss some Python’s
data visualization techniques
Winter 21
47 Explain hist() and bar() function with code
48 Write a python program that finds the factorial of a natural number n. Winter 22,
Winter 21,
Winter 20
th
49 Write a python program to display the Fibonacci sequence up to n term Winter 23,
Winter 22,
Summer 22
50 Write a Python program to input the string from user and count Winter 23
number of Vowel in given string
51 Write a python code to print current date and time Winter 23
52 Write a python code to draw two lines on plot. Both lines should be Winter 23
depicted with different colours.
Winter 21
53 Write a simple python program that draws a line graph where x =
[1,2,3,4] and y = [1,4,9,16] and gives both axis label as “X-axis” and
“Y-axis”.
54 Write a python code to draw a bar chart utilizing at least three properties Winter 23
of it.
55 Write a python code to access data from web. Winter 22
56 Write a code to draw pie chart using python’s library. Winter 22,
Winter 20,
Summer 24
57 Write a Python programming to create a pie chart with a title of the Winter 21
popularity of programming Languages.
Sample data: Programming languages: Java, Python, PHP, JavaScript, C#,
C++ Popularity: 22.2, 17.6, 8.8, 8, 7.7, 6.7
58 Data of marks for five students in three subjects is as given below. Summer 24
Maths = [100, 82, 76, 51, 88]
Physics = [92, 89, 81, 83, 80]
Chemistry = [71, 90, 75, 88, 45]
Write a python program to create boxplot from the above data. What type
of important observation about data can be derived from the boxplot?

NOTE:
All the questions are from last 5 years GTU question paper. Green Highlighted
questions are most important. Refer complete syllabus for better understanding.

You might also like