Instructions For Candidates:: A10.1-R5-Data Science Using Python
Instructions For Candidates:: A10.1-R5-Data Science Using Python
of Printed Pages : 8
A10.1-R5-Data Science Using Python
DURATION : 03 Hours MAXIMUM MARKS : 100
• Carefully read the instructions given on Question Paper, OMR Sheet and Answer Sheet.
• Question Paper is in English language. Candidate has to answer in English language only.
• There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and
PART TWO contains FIVE questions.
• PART ONE is Objective type and carries 40 Marks. PART TWO is Subjective type and carries
60 Marks.
• PART ONE is to be answered in the OMR ANSWER SHEET only, supplied with the question paper,
as per the instructions contained therein. PART ONE is NOT to be answered in the answer book for
PART TWO.
• Maximum time allotted for PART ONE is ONE HOUR. Answer book for PART TWO will be supplied
at the table when the Answer Sheet for PART ONE is returned. However, Candidates who complete
PART ONE earlier than one hour, can collect the answer book for PART TWO immediately after
handing over the Answer Sheet for PART ONE to the Invigilator.
• Candidate cannot leave the examination hall/room without signing on the attendance sheet
and handing over his/her Answer Sheet to the invigilator. Failing in doing so, will amount to
disqualification of Candidate in this Module/Paper.
• After receiving the instruction to open the booklet and before answering the questions, the candidate
should ensure that the Question Booklet is complete in all respects.
DO NOT OPEN THE QUESTION BOOKLET UNTIL YOU ARE TOLD TO DO SO.
PART ONE 1.3 What will following code segment print ?
(Answer all the questions; each question a = True
carries ONE mark) b = False
1. Each question below gives a multiple choice c = False
of answers. Choose the most appropriate
one and enter in the "OMR" answer sheet if not a or b:
supplied with the question paper, following
print 1
instructions therein.
(1x10) elif not a or not b and c:
print 2
1.1 What will be the output for the following
code ? elif not a or b or not b and a:
a = list(range(10)) print 3
else:
del a[::2]
print 4
for i in a:
(A) 1
i+=1 (B) 2
print(a) (C) 3
(A) [2, 4, 6, 8, 10] (D) 4
(B) [0, 2, 4, 6, 8]
>>>str1[::-1]
1.5 Which of the following is one of the key data
(A) dlrowolleh science skills ?
(A) Data Visualization
(B) hello
(B) Machine Learning
(C) world (C) Statistics
(D) helloworld (D) All of the mentioned
No. X Y
K type
L numpy.var()
M 2D
row-wise(i.e. on
D E resize, reshape F Y values
axis=1)
M reshape, resize
4.3 To create sequences of numbers, NumPy provides a function __________ analogous to range that
returns arrays instead of lists.
4.5 The __________ function returns its argument with a modified shape, whereas the __________
method modifies the array itself.
4.6 The __________ function returns True when all the elements of ndarray passed to the first parameter
are True and returns False otherwise.
4.9 Statistics module in Python provides a function known as __________, which can be used to
calculate the standard deviation.
5. (a) What is data analytics ? Mention the (c) Write a program that extracts all tuples
steps involved in data analytics ? What having K digit elements from a list of
are its benefits ? tuples. The list of tuples should be hard
coded in the program.
(b) Differentiate supervised and
unsupervised machine learning
(c) What do you mean by exploratory data 7. (a) What is NumPy in Python ? What are
analysis ? What types of graphs are its applications ? Why is NumPy Array
(5+5+5)
(b) Write a NumPy program to reverse an
element of a list so that the element at (c) How is data visualization done in
the first index moves to the second Python ? What do you mean by scatter
index, the element in the second index plot, bar graph and histogram.
9. (a) What is Probability Distribution ? What are the different types of Probability Distribution
used in Data Science ?
(b) What are the Measures of Central Tendency ? Name all python functions for the same.
Write small code to explain three of these functions.
(c) What are widgets in Tkinter ? Explain any five widgets.
(5+5+5)
-oOo-