Python For Data Science - Unit 3 - Week 1 - Assignment
Python For Data Science - Unit 3 - Week 1 - Assignment
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
gopalsharmasml@gmail.com
https://onlinecourses.nptel.ac.in/noc23_cs21/unit?unit=18&assessment=102 1/5
7/31/24, 7:13 PM Python for Data Science - - Unit 3 - Week 1
Variables and 1
Datatypes
0.0
(unit?
unit=18&lesso 4
n=23) Yes, the answer is correct.
Score: 1
Operators
Accepted Answers:
(unit?
0
unit=18&lesso
n=24)
What will be the output of the following code snippet?
Setup Guide
(unit? 4) (i). 0.5 points
unit=18&lesso
n=25)
Week 1:
Lecture slides
(unit?
unit=18&lesso
n=26)
Week 1-FAQs
(unit?
unit=18&lesso
n=27)
300
Practice: Week 100200
1: Practice
‘100’ + ‘200’
Assignment 1
(assessment? ‘100 + 200’
name=94)
Yes, the answer is correct.
Score: 0.5
Quiz: Week 1:
Assignment 1 Accepted Answers:
(assessment? 100200
name=102)
5) (ii). 0.5 points
Week 1
Feedback
Form : Python
for Data
Science (unit?
unit=18&lesso
n=28)
Week 2 ()
Week 3 ()
Week 4 ()
Download
300
Videos ()
100200
Books () ‘100’ + ‘200’
‘100 + 200’
https://onlinecourses.nptel.ac.in/noc23_cs21/unit?unit=18&assessment=102 2/5
7/31/24, 7:13 PM Python for Data Science - - Unit 3 - Week 1
int
float
bool
str
str
bool
True
False
32
44
40
36
9) Which of the arithmetic operators given below cannot be used with ‘strings’ in 1 point
Python?
*
-
+
https://onlinecourses.nptel.ac.in/noc23_cs21/unit?unit=18&assessment=102 3/5
7/31/24, 7:13 PM Python for Data Science - - Unit 3 - Week 1
10) Consider the list of instructions and resulting outputs given below. Pick the set that 1 point
is incorrect.
4
2
1, 3
1, 3, 4
All are correct
Yes, the answer is correct.
Score: 1
Accepted Answers:
2
11) Two variables Xand Y were assigned the following values initially: X = 3 and Y = 6. 1 point
Which of the following statements will help swap the values between these two variables?
Y=X
X=Y
X=Y
https://onlinecourses.nptel.ac.in/noc23_cs21/unit?unit=18&assessment=102 4/5
7/31/24, 7:13 PM Python for Data Science - - Unit 3 - Week 1
X=Y
Y=X
X, Y = Y, X
https://onlinecourses.nptel.ac.in/noc23_cs21/unit?unit=18&assessment=102 5/5