NPTEL Joy of Computing Using Python Week 10 Assignment 2023

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.  


NPTEL Joy of Computing Using Python Week 10 Assignment 2023


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

Answer: [ D ] hello everyone 

Also Read: The Joy Of Computing Week 9 Programming Assignment 

Conclusion: 

I can Assure that you can Score the Maximum Marks. 

I Request everyone to revisit the website on/before to last date for any re-verification of answers.
 
If you have any queries, contact us. I am very thankful to answer you.

One Comment Please !

Post a Comment (0)
Previous Post Next Post