The Joy of Computing Using Python Week 8 assignment answers ?  Also, we will discuss about the Programming assignment answers of week 8 in the upcoming articles. In this article we will discuss about the answers of week of joy of computing. The answers shared here will be on our own knowledge. I am answering these questions with Confident. Please use this answers as reference only. I also providing the proofs. Last week also we attained the score of 100%. This Week also i try to assure to give 100.
Also Read: Joy Of Computing Week 7 Programming Assignment
About NPTEL
NPTEL (National Program on Technology Enhanced Learning) is an online platform created by the Indian Institutes of Technology (IITs) and the Indian Institute of Science (IISc) for providing free online courses in engineering, science, and humanities to learners worldwide. The platform provides access to high-quality course materials and lectures developed by top faculty members from IITs and IISc. It offers courses in various formats such as video lectures, assignments, quizzes, and forums for discussion and doubt clearance. Learners can also earn certificates after completing the courses by passing the certification exam. NPTEL aims to improve the quality of engineering education in India and to provide access to high-quality educational content to learners worldwide.
The Joy Of Computing Using Python Week 8 AssignmentÂ
Q1. Which of the following is not true about Stylometry Analysis?
a. It is the quantitative study of literature style
b. It is based on the observation that the authors tend to write in relatively consistent andÂ
  recognizable ways
 c. any two people may have the same vocabulary
 d. It is a tool to study a variety of questions involving style of writing.Â
Answer: [ C ]Â any two people may have the same vocabulary
Q2. Which of the following is not true about tuples in python?
 a. Tuple consumes less memory
 b. Tuples are immutable
 c. Tuple supports item deletion
 d. Tuples does not support modification
Answer: [ C ]Â Tuple supports item deletion
Q3. What is the output of the following code snippet in python?
    name =(’kiran’,’bhushan’,’madan’)
    print (name[-1]){codeBox}
a. invalid syntax
b. tuple index out of range
c. prints nothing
d. madan
Answer: [ D ]Â madan
Q4. Strings in python can be created using
 a. single quotes
 b. double quotes
 c. triple quotes
 d. only A and B
 e. A, B and C
Answer: [ E ] A,B,C
 Q5. Networkx in python is used for which of the following operation(s)?
 a. Visualizing social network
 b. Analyzing social networks
 c. Generate social network
 d. All of the above
 e. None of the above
Answer: [ D ] All the Above
Q6. Which of the following will generate a complete graph in python using the networkx package?
 a. Graph = nx.gnp random graph(25,0.5)
 b. Graph = nx.gnp random graph(25,1.0)
 c. Graph = nx.gnp random graph(25,0.25)
 d. Graph = nx.gnp random graph(25,0.75)
Answer: [ B ]Â Graph = nx.gnp random graph(25,1.0)
Q7. Which of the following method will return the RBG value of a pixel in python?
a. getpixel()
b. RBGvalue()
c. pixelValue()
d. none of the above
Answer: [ A ]Â getpixel( )Â
Q8. The degree of separation of a complete graph with n nodes is always
a. n
b. n-1
c. 1
d. 6
Answer: [ C ]Â 1
Q9. Which of the following is true about six degrees of separation?
a. the minimum degree of separation of any node in the network is 6
b. the maximum degree of separation of any node in the network is 6
c. the average degree of separation of the nodes in the network is 6
d. the degree of separation of every node in the network is 6
Answer: [ C ]
Q10. What is the output of the following code?
     import nltk
     nltk.download('punkit')
     from nltk.tokenize import sent_tokenize
     mytext = Have nice day, my friend!!! Programming in Python is funÂ
     print(sent_tokenize(mytext)){codeBox}
 a. ['Have nice day, my friend!!! Programming in Python is fun']
b. ['Have nice day, my friend!!!', 'Programming in Python is fun']
c. 'Have nice day, my friend!!!'
   'Programming in Python is fun'
d.  Error
Answer: [ B ]
Also Read:Â Joy Of Computing Week 7 Programming Assignment
week 8
ReplyDeletePosted soon. For Easier updates join telegram. (Study2night)
Delete