In social networks, users and their connections can be represented as a graph. Which of the following best describes how a social network graph is typically represented?
Think about what the main entities and their relationships are in a social network.
In social networks, each user is represented as a node (or vertex), and the connections or friendships between users are represented as edges (or links) connecting these nodes.
Which type of graph is most commonly used to represent mutual friendships in social networks?
Mutual friendships mean both users agree on the connection.
Mutual friendships are best represented by undirected graphs because the connection is two-way and does not have a direction.
Consider a social network graph where each node is a user and edges represent friendships. If a user has no edges connected to them, what does this imply about that user?
Think about what it means to have zero edges connected to a node.
If a node has no edges, it means the user has no connections or friends in the social network graph.
In a social network graph, what is the likely effect of removing a highly connected node (a user with many friends) on the overall network?
Consider what happens when a key user with many connections leaves the network.
Removing a highly connected node can break connections between groups, causing the network to split into smaller disconnected parts.
In a social network graph, what does the shortest path between two users represent?
Think about how you might find the quickest way to reach a friend through mutual friends.
The shortest path is the smallest number of edges connecting two users, showing how closely they are linked through mutual friends.