NPTEL Social Networks Assignment 1 Answers 2023

Hello Learners, In this Post, you will find NPTEL Social Networks Assignment 1 Answers 2023. All the Answers are provided below to help the students as a reference don’t straight away look for the solutions.

NPTEL Social Networks Assignment 2 Answers Join Group👇

CLICK HERE

Note: First try to solve the questions by yourself. If you find any difficulty, then look for the solutions.

COURSE NAMEANSWER
NPTEL Social Networks Assignment 1 AnswersClick Here
NPTEL Social Networks Assignment 2 AnswersClick Here
NPTEL Social Networks Assignment 3 AnswersClick Here
NPTEL Social Networks Assignment 4 AnswersClick Here
NPTEL Social Networks Assignment 5 AnswersClick Here
NPTEL Social Networks Assignment 6 AnswersClick Here
NPTEL Social Networks Assignment 7 AnswersClick Here
NPTEL Social Networks Assignment 8 AnswersClick Here
NPTEL Social Networks Assignment 9 AnswersClick Here
NPTEL Social Networks Assignment 10 AnswersClick Here
NPTEL Social Networks Assignment 11 AnswersClick Here
NPTEL Social Networks Assignment 12 AnswersClick Here
NPTEL Social Networks Assignment 1 Answers 2023
NPTEL Social Networks Assignment 1 Answers 2023

NPTEL Social Networks Assignment 1 Answers 2023:

We are updating answers soon Join Group for update: CLICK HERE

Q.1. What would be the output for the following code? scores=[78,77,45] scores.append(90) scores.append(98) scores.reverse() print(scores)

  • [98, 90, 78, 77, 45]
  • [78, 77, 45, 90, 98]
  • [98, 90, 45, 77, 78]
  • [78, 77, 45, 98, 90]

Q.2. Given the following code, Which of the following is not a possible output?

import random

def calc():

x=random.random()

y=random.random()

z=random.random()

return( x+y+z )

print(calc())

  • 1.6115945523495627
  • 0.202709723169674
  • 2.3142203461882844
  • 3.9133426822720435

Q.3. Which of the following statement creates the given dictionary, d:{1:1,2:4,3:9,4:16}

  • d={x:x∗∗2 for x in range(1,5)}
  • d={x:x∗∗2 for x in range(5)}
  • d={x:x∗∗2 for x in range(0,5)}
  • d={x:x∗∗2 for x in range(1,6)}
NPTEL Social Networks Assignment 2 Answers Join Group👇

Q.4. Identify the graph output for the following segment:

import networkx as nx

import matplotlib.pyplot as plt

G=nx.Graph()

G.add_nodes_from([1,2,3,4,5])

G.add_edges_from([(1,2),(2,3),(2,5),(1,6),(3,4)])

nx.draw(G,with_labels=True)

plt.show()

  • Answer: D

Q.5. Given the following code, what is the number of edges in the graph created?

G=nx.Graph()

G.add_nodes_from([i for i in range(10)])

def create_graph(n):

while(len(G.edges())<n):

u=random.choice(list(G.nodes()))

v=random.choice(list(G.nodes()))

if u!=v and G.has_edge(u,v)==0:

G.add_edge(u,v)

  • 9
  • 10
  • n
  • n-1

Q.6. Which of the statements is True for the graph created from the statement: nx.gnp_random_graph(10,0.5)?

  • Graph has 10 nodes with half of the nodes connected
  • Graph has 10 nodes with each edge to be put with probability 0.5
  • Connected graph with 10 nodes
  • Graph has 5 nodes with half of the nodes connected

Q.7. What is the maximum number of graphs that can be created from 10 nodes?

  • Answer: A
NPTEL Social Networks Week 1 Answers Join Group👇
CLICK HERE

Q.8. Given that we have n nodes in a network, what is the approximate number of steps to search a node?

  • Answer: B

Q.9. Identify the layout for the graph given in the following figure.

  • spectral
  • spring
  • circular
  • random

Q.10. Friend suggestion on Facebook is one of the applications of

  • Page ranking
  • Link prediction
  • Small work phenomenon
  • Cascading
NPTEL Social Networks Assignment 1 Answers Join Group👇

Disclaimer: This answer is provided by us only for discussion purpose if any answer will be getting wrong don’t blame us. If any doubt or suggestions regarding any question kindly comment. The solution is provided by Brokenprogrammers. This tutorial is only for Discussion and Learning purpose.

About NPTEL Social Networks Course:

The world has become highly interconnected and hence more complex than ever before. We are surrounded by a multitude of networks in our daily life, for example, friendship networks, online social networks, world wide web, road networks etc. All these networks are today available online in the form of graphs which hold a whole lot of hidden information. They encompass surprising secrets which have been time and again revealed with the help of tools like graph theory, sociology, game theory etc. The study of these graphs and revelation of their properties with these tools have been termed as Social Network Analysis.

Course Layout:
  • Week 1: Introduction 
  • Week 2: Handling Real-world Network Datasets
  • Week 3: Strength of Weak Ties
  • Week 4: Strong and Weak Relationships (Continued) & Homophily 
  • Week 5: Homophily Continued and +Ve / -Ve Relationships 
  • Week 6: Link Analysis 
  • Week 7: Cascading Behaviour in Networks
  • Week 8: Link Analysis (Continued) 
  • Week 9: Power Laws and Rich-Get-Richer Phenomena 
  • Week 10: Power law (contd..) and Epidemics 
  • Week 11: Small World Phenomenon
  • Week 12: Pseudocore (How to go viral on web)
CRITERIA TO GET A CERTIFICATE:

Average assignment score = 25% of average of best 8 assignments out of the total 12 assignments given in the course.
Exam score = 75% of the proctored certification exam score out of 100

Final score = Average assignment score + Exam score

YOU WILL BE ELIGIBLE FOR A CERTIFICATE ONLY IF AVERAGE ASSIGNMENT SCORE >=10/25 AND EXAM SCORE >= 30/75. If one of the 2 criteria is not met, you will not get the certificate even if the Final score >= 40/100.

If you have not registered for exam kindly register Through https://examform.nptel.ac.in/

Leave a Reply

Your email address will not be published. Required fields are marked *