Hello, Everyone. In this Article we will discuss about the solutions of Nptel Joy Of Computing Using Python Week 10 Assignment 2023. We are solving the assignments of various Nptel Courses. Now we came back with python. The answers provided by us are most accurate. Also Please use this answers as reference purpose only. Let us start to solve the Assignment.Â
Also Read: The Joy Of Computing Week 9 Programming AssignmentÂ
About NptelÂ
Swayam is an online learning platform initiated by the Government of India. It offers free online courses in various subjects such as engineering, humanities, management, science, and more. These courses are created by India's top academic institutions and are available in multiple languages.
NPTEL (National Program on Technology Enhanced Learning) is a joint initiative of the Indian Institutes of Technology (IITs) and the Indian Institute of Science (IISc). It offers free online courses and certification programs in engineering, science, and technology.
Swayam and NPTEL have partnered to provide online courses and certification programs for students and professionals who want to enhance their skills and knowledge in various domains. The courses offered by Swayam NPTEL are designed to provide quality education and practical skills that are essential for the industry. Â
FAQ'sÂ
1. Are NPTEL courses free?
=> Yes, all NPTEL courses are completely free. There are no fees for enrollment, learning,Â
   or certification.
2. Who can enroll in NPTEL courses?
=> Anyone can enroll in NPTEL courses, regardless of their educational background or age.Â
   However, some courses may have prerequisites or require basic knowledge in a specific subject.
3. How do I enroll in an NPTEL course?
=> To enroll in an NPTEL course, you need to create an account on the NPTEL website and registerÂ
   for the course you are interested in. Once registered, you can access course materials,Â
   including video lectures, assignments, and quizzes.
4. Is there any deadline to enroll in an NPTEL course?
=> NPTEL offers both self-paced courses and instructor-led courses. For self-paced courses,Â
   there are no enrollment deadlines. However, for instructor-led courses, enrollment is usuallyÂ
   open for a limited period before the course begins.
5. How long does an NPTEL course last?
=> The duration of an NPTEL course varies depending on the course's complexity and the amountÂ
   of content covered. Some courses may last a few weeks, while others may take several monthsÂ
   to complete.
The Joy Of Computing Using Python Week 10 Assignment 2023
Last Date: 05-04-2023
Q1. Which math problem flames is related to?
 a. kadane's problem
 b. Josephus problem
 c. Conjecture Collatz
 d. Dijkstra ProblemÂ
Answer: [ B ]Â Josephus ProblemÂ
Q2. What will be the output of the following list slicing.Â
 S = ' The Joy Of Computing'Â
print ( s[ 3:12] )
a. ‘Joy of C’
b. ‘ Joy of C’
c. ‘Joy of Co’
d. ‘Joy of Co’Â
Answer: [ B ]Â
Q3. What Can be the output of the following program?
S = 'Â I am amazed 'Â
S.replace ( 'a' , 'z' )
print(s)
a. I zm zmzzed
b. I zm zmazed
c. I am zmzzed
d. I am amazedÂ
Answer: [ D ]Â
Q4. What are the consequences of image compression?
 a. Less size
 b. Lower quality
 c. More size
 d. Higher qualityÂ
Answer: [ A, B ]Â
Q5. What Can be the output of the following code?Â
import numpy as npÂ
a = np.array ( [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 ] )
print ( a.reshape(3,4) )Â
a. [[ 1 2 3 4]
  [ 5 6 7 8]
  [ 9 10 11 12]]
b. [[ 1 2 3]
  [ 4 5 6]
  [ 7 8 9]
  [10 11 12]]
c. Error
d. [[1,2,3,4,5,6]
  [7, 8, 9, 10, 11, 12]] Â
Answer:Â [ A ]Â
Q6. What Can be the output of the following code?
import numpy as npÂ
b = np.array ( [ [1, 2 ] , [3, 4] ] )Â
print ( np.sum (b, axis = 1 ) )Â
a. [4 6]
b. [3 7]
c. [3 4]
d. None of the aboveÂ
Answer:Â [ B ]Â [ 3 7 ]Â
Q7. Amongst which of the following is / are the method of list?
 a. append()
 b. extend()
 c. insert()
 d. All of the mentioned above
Answer: [ D ] All the Mentioned AboveÂ
Q8. The output of the following program will be?
word = ' Python 'Â
word [2] = ' n 'Â
print ( word )Â
a. Pynhon
b. Pnthon
c. Python
d. ErrorÂ
Answer: [ D ] ErrorÂ
Q9. Which of the following is not a method in string?
a. lower()
b. upper()
c. isalpha()
d. insert()Â
Answer: [ D ]Â insert ( )
Q10. What is the output of the following code?
S = ' Hello Everyone'Â
print ( S.lower( ) )
a. HELLO EVERYONE
b. Hello Everyone
c. helloeveryone
d. hello everyone
Also Read:Â The Joy Of Computing Week 9 Programming AssignmentÂ
Conclusion:Â
I can Assure that you can Score the Maximum Marks.Â