Hey Folks, In this article NPTEL Joy of computing using python Week 9 Answers of 2023Â will be given here. I am answering these questions to the best of my knowledge. If any change in these answers, please visit the website on or before to the last date.Â
NPTEL Joy of computing using python Week 9 Answers 2023Â
Q1. How can we identify which book is written by which author?
A. By matching handwriting.
B. By analyzing word length with previous books.
C. By analyzing the number of pages in a book.
D. By analyzing the book’s preface.
Answer: [ B ]
By analyzing word length with previous books.
Q2. How can a list L be transformed into a tuple?
 A. tuple(L)
 B. tup(L)
 C. L(tuple)
 D. L(tup)
Answer: [ A ] tuple(L)
G = nx.gnp_random_graph(10,0.5)
print(nx.is_connected(G)) {codeBox}
aA. True
B. False
Answer: [ B ]Â FalseÂ
Q4. What is the output of the following code?
 Answer: [ D ]
Q5. How many edges are there in the following graph?
 A. 4
 B. 5
 C. 3
 D. 2
Answer: [ A ]Â 4
Q6. How many neighbors does node 3 have?
A. 2
B. 4
C. 1
D. 3
Answer: [ A ]Â 2Â
Q7. In which of the following ways can we create a string in python?
 A. By using single quotes.
 B. By using double-quotes.
 C. By using triple-quotes.
 D. All of the above.
Answer: [ D ] All the above
Q8. Which of the following is not true about Stylometry Analysis?
 A. It is quantitative study of literature style
B. It is based on the observation that the authors tend to write in relatively consistent andÂ
   recognisable ways
 C. any two people may have same vocabulary
 D. It is a tool to study variety of questions involving style of writing
Answer: [ C ]Â any two people may have same vocabulary
Q9. A complete graph will have __ degree of separation
A. 1
B. 2
C. 3
D. Depends on the number of nodes.
Answer: [ A ] 1
Q10. Networkx in pythons is used for
 A. Making networks
 B. Analyzing networks
 C. Visualizing networks
D. All of the above
Answer: [ D ] All the above
Conclusion
If any doubts, please visit or contact through telegram link below
👉 CLICK HERE