4/15/25, 5:52 PM The Joy of Computing using Python - - Unit 6 - Week 3
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
amrramvinoth@gmail.com
NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » The Joy of Computing using Python (course)
Click to register
for Certification
exam
Week 3 : Assignment 3
(https://examform.nptel.ac.in/2025_01/exam_form/dashboard)
The due date for submitting this assignment has passed.
If already Due on 2025-02-12, 23:59 IST.
registered, click to
check your Assignment submitted on 2025-02-02, 23:33 IST
payment status
1) Which of the following is/are false statement(s)? 1 point
Lists are fixed in size, they cannot store more than 1024 values
Course outline One can access element in list by using non-numeric indices
Iterating over lists is possible in Python
About NPTEL () We need to specify required size of list while creating a new list variable
Yes, the answer is correct.
How does an Score: 1
NPTEL online Accepted Answers:
course work? () Lists are fixed in size, they cannot store more than 1024 values
One can access element in list by using non-numeric indices
Week 1 () We need to specify required size of list while creating a new list variable
Week 2 () 2) In the below code -
Week 3 ()
Lists Part 1 :
Introduction
(unit?
unit=57&lesson=
58)
Lists Part 2 :
Manipulation
(unit?
https://onlinecourses.nptel.ac.in/noc25_cs69/unit?unit=57&assessment=508 1/5
4/15/25, 5:52 PM The Joy of Computing using Python - - Unit 6 - Week 3
unit=57&lesson=
59)
Lists Part 3 :
Operations (unit?
unit=57&lesson=
60)
Lists Part 4 :
Slicing (unit?
unit=57&lesson=
61)
Loops and
Conditionals :
Fizzbuzz 01
(unit?
unit=57&lesson=
62)
Loops and For what value of n does the program print 10 ?
Conditionals :
Fizzbuzz 02 10
(unit?
unit=57&lesson= No, the answer is incorrect.
63)
Score: 0
Accepted Answers:
Crowd (Type: Numeric) 5
Computing - Just 1 point
estimate 01
(unit? 3) From the previous question, for what values of n is the number 25 appended to list a. 1 point
unit=57&lesson=
64) 25
24
Crowd
Computing - Just 35
estimate 02 32
(unit?
unit=57&lesson= Partially Correct.
Score: 0.5
65)
Accepted Answers:
Crowd 35
Computing - Just 32
estimate 03
(unit?
4) What does the following code perform ? 1 point
unit=57&lesson=
66)
Crowd
Computing - Just
estimate 04
(unit?
unit=57&lesson=
67)
Crowd
Computing - Just
estimate 05
(unit?
https://onlinecourses.nptel.ac.in/noc25_cs69/unit?unit=57&assessment=508 2/5
4/15/25, 5:52 PM The Joy of Computing using Python - - Unit 6 - Week 3
unit=57&lesson= It converts any input list into a new list which is filled with some numbers which are always in
68)
increasing order
Crowd It converts any input list into a new list such that at even indices, the value is a multiple of an even
Computing - Just number and at odd indices, the value is either even or negative number
estimate 06
It converts any input list into a new list such that at odd indices, the value is always even number and
(unit?
unit=57&lesson= at even indices, the value is negative
69) It converts any input list into a new list, which follows no pattern
Permutations - Yes, the answer is correct.
Jumbled Words Score: 1
01 (unit? Accepted Answers:
unit=57&lesson= It converts any input list into a new list such that at odd indices, the value is always even number and at
70) even indices, the value is negative
Permutations - 5) From the previous question, if the option - 1 point
Jumbled Words It converts any input list into a new list such that at even indices, the value is a multiple of
02 (unit? an even number and at odd indices, the value is either even or negative number.
unit=57&lesson= is incorrect, Can you make changes to code such that it this option is always true for
71)
any input ?
Permutations -
Jumbled Words No, it is not possible to make such changes
03 (unit? No, the option is already correct
unit=57&lesson=
Yes, we can make changes
72)
Yes, the answer is correct.
Theory of Score: 1
Evolution 01 Accepted Answers:
(unit? Yes, we can make changes
unit=57&lesson=
73)
6) If file.txt exists, Does the code successfully run ? 1 point
Theory of
Evolution 02
(unit?
unit=57&lesson=
74)
Theory of
Evolution 03
(unit? Yes
unit=57&lesson=
No
75)
Yes, the answer is correct.
Theory of Score: 1
Evolution 04 Accepted Answers:
(unit? Yes
unit=57&lesson=
76)
7) Which of the following are examples of Social Computing ? 1 point
Week 3
Feedback Form : ChatGPT
The Joy of Wikipedia
Computing using
Quora
Python!! (unit?
unit=57&lesson= Twitch
77)
No, the answer is incorrect.
https://onlinecourses.nptel.ac.in/noc25_cs69/unit?unit=57&assessment=508 3/5
4/15/25, 5:52 PM The Joy of Computing using Python - - Unit 6 - Week 3
Score: 0
Quiz: Week 3 :
Assignment 3 Accepted Answers:
(assessment? Wikipedia
name=508) Quora
Week 3: 8) What does the following code print for n = 256? 1 point
Programming
Assignment 1
(/noc25_cs69/pro
gassignment?
name=510)
Week 3:
Programming
Assignment 2
(/noc25_cs69/pro
gassignment?
name=511)
Week 3:
Programming
Assignment 3
(/noc25_cs69/pro
gassignment?
name=513)
week 4 ()
Week 5 ()
Week 6 ()
Week 7 ()
Week 8 ()
Week 9 ()
PYTHON IS BORING
Week 10 () PYTHON IS FUN
Yes, the answer is correct.
Week 11 () Score: 1
Accepted Answers:
Week 12 () PYTHON IS BORING
Text 9) From the previous question, is a.sort() responsible for printing of either of the two possible 1 point
Transcripts () sentences ?
Download Yes, and the code may print ”PYTHON IS FUN”
Videos () No, it is purely dependent on variable n
No, it is not dependent on a.sort(), and the code will never print ”PYTHON IS FUN”
Books ()
No, the answer is incorrect.
Score: 0
Problem
Accepted Answers:
Solving No, it is not dependent on a.sort(), and the code will never print ”PYTHON IS FUN”
https://onlinecourses.nptel.ac.in/noc25_cs69/unit?unit=57&assessment=508 4/5
4/15/25, 5:52 PM The Joy of Computing using Python - - Unit 6 - Week 3
Session - Jan 10) What does the code in question 8, calculate ?
2025 () Can you say what the values of k and b are if n = 245326785456 x 103359 .
If values of k and b are different, enter 0, else enter value of k.
57
Yes, the answer is correct.
Score: 1
Accepted Answers:
(Type: Numeric) 57
1 point
https://onlinecourses.nptel.ac.in/noc25_cs69/unit?unit=57&assessment=508 5/5