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