NPTEL The Joy of Computing using Python Week 12 Assignment Answers 2024

Sanket
By Sanket

NPTEL The Joy of Computing using Python Week 12 Assignment Answers 2024

1. What is the key operation performed when the number n in the Collatz Conjecture is even?

  • Add 1
  • Multiply by 3 and add 1
  • Divide by 2
  • Subtract 1
Answer :- For Answers Click Here 

2. What happens to an odd number n in the Collatz Conjecture sequence?

  • It is divided by 2
  • It remains unchanged
  • It is replaced by n×3+1
  • It is replaced by n−1
Answer :- For Answers Click Here 

3. What is the ultimate goal of the Collatz Conjecture sequence?

  • Reach the number 0
  • Return to the starting number
  • Reach the number 1
  • Cycle through odd numbers
Answer :- 

4. Which of the following best describes the Collatz Conjecture?

  • It has been proven for all natural numbers
  • It remains an unsolved problem in mathematics
  • It is a trivial problem with a simple solution
  • It only applies to prime numbers
Answer :- 

5. What is the main idea behind the PageRank algorithm used by Google?

  • Count the number of keywords on a page
  • Rank pages based on random walks on a graph of web links
  • Rank pages based on user reviews
  • Rank pages alphabetically
Answer :- 

6. In PageRank, what happens when a page has a higher number of inbound links from other important pages?

  • Its rank decreases due to the load on the server
  • Its rank increases
  • Its rank remains unchanged
  • It is marked as a less relevant page
Answer :- For Answers Click Here 

7. Which technique is used in the PageRank algorithm to determine the rank of a web page?

  • Depth-first search
  • Hyperlink analysis
  • Random walk simulation
  • Data scraping
Answer :- 

8. PageRank relies heavily on the structure of the:

  • Web page content
  • Hyperlink network between web pages
  • User interaction data
  • Server location
Answer :- 

9. PageRank was developed primarily to solve which problem?

  • Calculating the shortest path in a network
  • Ranking the importance of web pages on the internet
  • Counting the total number of web pages
  • Reducing the size of search engine databases
Answer :- 

10. For which values between 200 and 3000 does the Collatz Conjecture not converge to 1?

  • 2498.0
  • 1576.0
  • 2789.0
  • None of the given options
Answer :- For Answers Click Here 
Share This Article
Leave a comment