NPTEL The Joy Of Computing Using Python Week 9 Quiz Assignment | NPTEL Swayam Assignment Answers
Join Us On Telegram
👇👇👇👇👇👇👇👇
Join Us On Youtube
👇👇👇👇👇👇👇👇
MCQs (multiple choice questions) Nptel Week 9 Quiz Answers:
Q.1: Which of the following ways can help to identify the author of a book? Options are:
(a) Books coverage
(b) The uniqueness of writing.
(c) Average word length.
(d) Publisher name.
Answer is: (a) Books coverage
(b) The uniqueness of writing.
(c) Average word length.
Q.2: Networkx in pythons is used for ? Options are:
(a) Making networks
(b) Analyzing networks
(c) Visualizing networks
(d) Breaking networks
Answer is: (a) Making networks
(b) Analyzing networks
(c) Visualizing networks
Q.3: What is the output of the following program?
Options are:
(a) [‘joc, ‘python’]
(b) ['j', 'o', 'c', 'p', 'y', 't', 'h', 'o', 'n']
(c) ['j', 'o', 'c', ' ', 'p', 'y', 't', 'h', 'o', 'n']
(d) [' ', 'c', 'h', 'j', 'n', 'o', 'o', 'p', 't', 'y']
Answer is: (c) ['j', 'o', 'c', ' ', 'p', 'y', 't', 'h', 'o', 'n']
Q.4: In the world, on average, how many hops it will take to connect two people? Options are:
(a) 6
(b) 7
(c) 8
(d) 9
(e) 10
Answer is: (a) 6
Q.5: In the following code, nx.is_connected(G) will return? Options are:
(a) True
(b) False
(c) Sometimes True, sometimes false
Answer is: (a) True
Q.6: How many neighbors does node 4 have?
Options are:
(a) 1
(b) 2
(c) 3
(d) 4
Answer is: (b) 2
Q.7: While calculating the area of a state, how can we increase the accuracy of the calculated area? Options are:
(a) By increasing the size of the image.
(b) By increasing the number of points.
(c) By decreasing the size of the image.
(d) By decreasing the number of points.
Q.8: How many nodes and edges does the following graph have?
Options are:
(a) 5,5
(b) 2,5
(c) 5,2
(d) 2,2
Answer is: (c) 5,2
Q.9: Which function of NLTK is used to make a frequency distribution of words? Options are:
(a) freqdist()
(b) FreqDist()
(c) frequency_distribution
(d) freq_dist()
Answer is: (b) FreqDist()
Q.10: Degree of separation for the following graph is ?
Options are:
(a) 1
(b) 2
(c) 3
(d) 5
Answer is: 1
If you are facing any queries regarding this assignment solutions, then please drop comment in comment section.
0 Comments