100% found this document useful (1 vote)
39 views

The Joy of Computing using Python Week 3

The document details the Week 3 assignment for the course 'The Joy of Computing using Python' on the NPTEL platform. It includes various questions related to Python programming concepts such as lists, loops, and conditionals, along with submission information and deadlines. The assignment allows multiple submissions before the due date, with the final submission being graded.

Uploaded by

nandhiniuma727
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
39 views

The Joy of Computing using Python Week 3

The document details the Week 3 assignment for the course 'The Joy of Computing using Python' on the NPTEL platform. It includes various questions related to Python programming concepts such as lists, loops, and conditionals, along with submission information and deadlines. The assignment allows multiple submissions before the due date, with the final submission being graded.

Uploaded by

nandhiniuma727
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

2/5/25, 11:57 AM The Joy of Computing using Python - - Unit 6 - Week 3

Assessment submitted.
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
X

[email protected]

NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » The Joy of Computing using Python (course)


Click to register
for Certification
exam
Thank you for taking the Week 3 :
Assignment 3.
(https://examform.nptel.ac.in/2025_01/exam_form/dashboard)

If already
registered, click
to check your
Week 3 : Assignment 3
payment status Your last recorded submission was on 2025-02-05, 11:57 IST Due date: 2025-02-12, 23:59 IST.

1) Which of the following is/are false statement(s)? 1 point

Course Lists are fixed in size, they cannot store more than 1024 values
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
()
2) In the below code -
How does an
NPTEL online
course work?
()

Week 1 ()

Week 2 ()

Week 3 ()

Lists Part 1 :
Introduction
(unit?
unit=57&lesson=
58)

Lists Part 2 :
Manipulation
(unit?
unit=57&lesson= For what value of n does the program print 10 ?
59)
10
Lists Part 3 : 1 point
Operations
(unit? 3) From the previous question, for what values of n is the number 25 appended to list a. 1 point

https://onlinecourses.nptel.ac.in/noc25_cs69/unit?unit=57&assessment=508 1/4
2/5/25, 11:57 AM The Joy of Computing using Python - - Unit 6 - Week 3

unit=57&lesson= 25
Assessment
60) submitted.
X 24
Lists Part 4 :
35
Slicing (unit?
unit=57&lesson= 32
61)
4) What does the following code perform ? 1 point
Loops and
Conditionals :
Fizzbuzz 01
(unit?
unit=57&lesson=
62)

Loops and
Conditionals :
Fizzbuzz 02
(unit?
unit=57&lesson=
63)

Crowd It converts any input list into a new list which is filled with some numbers which are always in
Computing - Just
increasing order
estimate 01
(unit? It converts any input list into a new list such that at even indices, the value is a multiple of an
unit=57&lesson= even number and at odd indices, the value is either even or negative number
64) It converts any input list into a new list such that at odd indices, the value is always even number
Crowd
and at even indices, the value is negative
Computing - Just It converts any input list into a new list, which follows no pattern
estimate 02
(unit? 5) From the previous question, if the option - 1 point
unit=57&lesson=
It converts any input list into a new list such that at even indices, the value is a multiple
65)
of an even number and at odd indices, the value is either even or negative number.
Crowd is incorrect, Can you make changes to code such that it this option is always true for
Computing - Just any input ?
estimate 03
(unit? No, it is not possible to make such changes
unit=57&lesson=
No, the option is already correct
66)
Yes, we can make changes
Crowd
Computing - Just
6) If file.txt exists, Does the code successfully run ? 1 point
estimate 04
(unit?
unit=57&lesson=
67)

Crowd
Computing - Just
estimate 05
(unit?
unit=57&lesson=
Yes
68) No

Crowd
Computing - Just
7) Which of the following are examples of Social Computing ? 1 point
estimate 06
ChatGPT
(unit?
unit=57&lesson= Wikipedia
69) Quora
Twitch

https://onlinecourses.nptel.ac.in/noc25_cs69/unit?unit=57&assessment=508 2/4
2/5/25, 11:57 AM The Joy of Computing using Python - - Unit 6 - Week 3

Permutations -
Assessment submitted. 8) What does the following code print for n = 256? 1 point
Jumbled Words
X 01 (unit?
unit=57&lesson=
70)

Permutations -
Jumbled 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)
PYTHON IS BORING
Theory of PYTHON IS FUN
Evolution 04
(unit?
9) From the previous question, is a.sort() responsible for printing of either of the two possible 1 point
unit=57&lesson=
76) sentences ?

Week 3 Yes, and the code may print ”PYTHON IS FUN”


Feedback Form : No, it is purely dependent on variable n
The Joy of
Computing using
No, it is not dependent on a.sort(), and the code will never print ”PYTHON IS FUN”
Python!! (unit?
unit=57&lesson= 10) What does the code in question 8, calculate ?
77) 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.
Quiz: Week 3 :
Assignment 3
57
(assessment?
name=508) 1 point
You may submit any number of times before the due date. The final submission will be considered for
Week 3:
grading.
Programming
Assignment 1 Submit Answers
(/noc25_cs69/pr
ogassignment?
name=510)

Week 3:
Programming

https://onlinecourses.nptel.ac.in/noc25_cs69/unit?unit=57&assessment=508 3/4
2/5/25, 11:57 AM The Joy of Computing using Python - - Unit 6 - Week 3

Assignment 2
Assessment submitted.
(/noc25_cs69/pr
X ogassignment?
name=511)

Week 3:
Programming
Assignment 3
(/noc25_cs69/pr
ogassignment?
name=513)

Text
Transcripts ()

Download
Videos ()

Books ()

Problem
Solving
Session - Jan
2025 ()

https://onlinecourses.nptel.ac.in/noc25_cs69/unit?unit=57&assessment=508 4/4

You might also like