Gujarat Technological UniversityWinter 2023 Examination

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

B.E. · Computer Engineering · Semester 5 · Subject Code: 3150713
Download Official GTU PDF
Share:
Total Marks70 MarksExternal theory exam
Passing Marks23 Marks33% minimum cutoff
Exam Duration2.5 Hours10:30 AM – 1:00 PM
Paper Structure5 QuestionsWith internal OR choices
Jump toQ1Q2Q3Q4Q5

Question 1

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

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

4 Marks
(c)

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

7 Marks

Question 2

14 MarksMedium
(a)
Explain with example use of range () function in python.
3 Marks
(b)
Explain the phases of Data Science Pipeline.
4 Marks
(c)

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

7 Marks
OR OPTION
(c)

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

7 Marks

Question 3

14 MarksMedium
(a)

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

3 Marks
(b)

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

iMatplotlib
iiScikit-learn
4 Marks
(c)

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

7 Marks
OR OPTION
(a)
Write a python code to print current date and time.
3 Marks
(b)
Write the difference between numpy and pandas.
4 Marks
(c)

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

7 Marks

Question 4

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

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

4 Marks
(c)

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

7 Marks
OR OPTION
(a)
What is the use of %matplotlib inline command?
3 Marks
(b)

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

4 Marks
(c)

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

7 Marks

Question 5

14 MarksMedium
(a)
Explain Classification and clustering class of Scikit-learn.
3 Marks
(b)

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

4 Marks
(c)

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

7 Marks
OR OPTION
(a)

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

3 Marks
(b)
Explain the use of skew () and kurtosis () function.
4 Marks
(c)
Explain EDA approach in detail.
7 Marks
College Exam Groups

Studying for Python for Data Science?

Circulate this solved paper with KaTeX formulas and 1-click AI step solvers to your batchmates on WhatsApp or Telegram.

About this Examination Paper & Attribution

Official Gujarat Technological University (GTU) examination paper and step-by-step solutions 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.

Download PDF