Gujarat Technological UniversityWinter 2023 examination

GTU 3150713 Python for Data Science Winter 2023 Question Paper & PDF

B.E. · Computer Engineering · Semester 5 · Subject code 3150713
Download official PDFView PDF here
Share with your class
Total
70 marks
To pass
23 marks (33%)
Duration
2.5 Hours 10:30 AM – 1:00 PM
Questions
5 with internal choice
No solutions on this paper yetNeed them for your exam? Ask once. Papers that students ask for are solved first, and we aim to add them within 24 hours.

9 of 25 questions on this paper were also asked in other years. Each is marked below with the years it appeared.See all 37 repeated 3150713 questions, most asked first

Q.1

14 Marks
(a)
3 marks
Why python is very popular language in 21st Century?
(b)
4 marks

Write any four-python command that demonstrate Python as calculator.

(c)
7 marksAsked in 2 of 7 papers

Write a python program to display the Fibonacci sequence up to nth term.

Also asked in Summer 2025 Q1c

Q.2

14 Marks
(a)
3 marksAsked in 3 of 7 papers
Explain with example use of range () function in python.

Also asked in Summer 2025 Q1a, Winter 2024 Q1a

(b)
4 marksAsked in 5 of 7 papers
Explain the phases of Data Science Pipeline.

Also asked in Winter 2025 Q2c, Summer 2025 Q2c, Winter 2024 Q2b, Summer 2024 Q2c

(c)
7 marks

List the different data structure used in python. Explain any three with example of each.

(c)
7 marks

Write a Python program to input the string from user and count number of Vowel in given string.

Q.3

14 Marks
(a)
3 marksAsked in 3 of 7 papers

What is the use of magic function in python? Explain with the help of example.

Also asked in Summer 2026 Q2b, Winter 2025 Q4b

(b)
4 marks

Explain the use of following libraries of python in data science.

iMatplotlib
iiScikit-learn
(c)
7 marks

Write a python code to read the local image, obtain statistics about that image, and display the image onscreen.

(a)
3 marks
Write a python code to print current date and time.
(b)
4 marksAsked in 2 of 7 papers
Write the difference between numpy and pandas.

Also asked in Summer 2025 Q3a

(c)
7 marks

Describe the three levels of flat-file dataset. Explain any two with the help of example.

Q.4

14 Marks
(a)
3 marks
List the different line styles used in charts.
(b)
4 marks

Explain with the example use of axes () and grid () method in plots.

(c)
7 marks

Write a python code to draw two lines on plot. Both lines should be depicted with different colors.

(a)
3 marks
What is the use of %matplotlib inline command?
(b)
4 marks

What is the use of labels and legends in plot? Explain with example.

(c)
7 marks

Write a python code to draw a bar chart utilizing at least three properties of it.

Q.5

14 Marks
(a)
3 marks
Explain Classification and clustering class of Scikit-learn.
(b)
4 marksAsked in 3 of 7 papers

Illustrate the concept of regression class of Scikit-learn with the help of small example.

Also asked in Summer 2026 Q5b, Winter 2024 Q5b

(c)
7 marksAsked in 5 of 7 papers

What is the use of hashing trick and hash function in Scikit- learn? Explain in detail with example.

Also asked in Summer 2026 Q2c, Summer 2025 Q5c, Winter 2024 Q5c, Summer 2023 Q5a OR

(a)
3 marksAsked in 3 of 7 papers

What do you mean by categorical data? Explain with small example.

Also asked in Summer 2025 Q3c, Summer 2024 Q3a OR

(b)
4 marks
Explain the use of skew () and kurtosis () function.
(c)
7 marksAsked in 3 of 7 papers
Explain EDA approach in detail.

Also asked in Summer 2025 Q5c OR, Summer 2023 Q2c

More Python for Data Science papers

Questions repeat across sessions. Working through two or three papers shows you which topics GTU asks most.

Preparing with friends?

Send this paper to your class group. Every question has its own link.

About this paper

Official Gujarat Technological University (GTU) examination paper for Python for Data Science (Winter 2023, B.E. · Computer Engineering, Sem 5). Features complete 70-mark regular & remedial examination pattern, official marking distribution across all 5 questions, and direct 1-click official PDF download.

Transcribed for student exam preparation from Gujarat Technological University official examination archives. Questions, syllabus guidelines, and curriculum marking schemes remain the intellectual property of Gujarat Technological University.

ViewDownload PDF