Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

G&N Units 5,6

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Does this graph have an Eulerian path?

a)

Yes, because there are two nodes with odd degree

b)

Yes, because any connected graph has an Eulerian path

c)

No, because all the nodes shoud have a degree of 3 or more

d)

We can not know without calculating the eigenvector centrality

2.

What is the meaning of the power n of an adjacency matrix?

a)

it gives the densities of the subgraphs with diameter n

b)

it gives the eigenvector centralities of the edges

c)

it gives the number of different paths of length n between two nodes

d)

it gives the number of incident paths of nodes of degree n

3.

Shortest path to node 5, starting at node 0, using the Dijstra Algorithm?

a)

0-1-2-5

b)

0-3-4-1-2-5

c)

0-1-4-5

d)

0-3-4-5

4.

What is the probability that a random walker reaches the node 8 at time t?

a)

pt−1(3)deg⁡(3)+pt−1(9)deg⁡(9)+pt−1(13)deg⁡(13)\frac{p_{t-1}\left(3\right)}{\deg\left(3\right)}+\frac{p_{t-1}\left(9\right)}{\deg\left(9\right)}+\frac{p_{t-1}\left(13\right)}{\deg\left(13\right)}

b)

1size(G)\frac{1}{size\left(G\right)}

c)

1order(G)\frac{1}{order\left(G\right)}

d)

pt−1(8)⋅eccentricity(8)p_{t-1}\left(8\right)\cdot eccentricity\left(8\right)

5.

What is the difference between the Dijkstra and the A* algorithms?

a)

Dijkstra is a shortest path algorithm, whereas A* is a graph traversal algorithm.

b)

Dijkstra is a DFS based algorithm, and A* is a BFS based algorithm.

c)

Both compute shortest paths, but Dijkstra considers the minimum cost up to the current node, whereas A* adds an heuristic to estimate a lower bound o the future cost.

d)

There are no differences, it is the same algorithm that has different names in Europe and America.

6.

In tf-idf what is the meaning of idf (inverse document frequency)?

a)

It counts the frequency of the terms in each document.

b)

It down-weights the terms that occur frequently, and increases the weight of ones that occur rarely.

c)

It increases the weight of terms that occur frequently, and down-weights ones that occur rarely.

d)

It merges the terms with the same root, conidering them as synonims in the dictionary.

7.

Given two BoW vectors, which distance/similarity is most convenient?

a)

Cosine

b)

Euclidean

c)

Substraction

d)

Levenshtein

8.

What of the following sentences is NOT TRUE with regard to the Page Rank algorithm?

a)

An internet page is ranked in terms of its degree centrality

b)

The relevance of a page is proportional to the probability of being visited by a random walker through the www

c)

An internet page is ranked in terms of its eigenvector centrality

d)

The relevance of a page depends on the relevance of its predecessors

9.

This graph represents a passing network of a basketball team. Which player is more influential in the team game?

a)

Player 3 because he/she has the highest Page Rank

b)

Players 2 and 6 because they are the ones who throw the most to the basket

c)

Player 1 because he/she has the maximum weighted inbound degree

d)

Player 3 because he/she has the maximum weighted outbound degree

10.

Which node in this graph has the second highest Page Rank value?

a)

2

b)

3

c)

4

d)

5