• Ei tuloksia

just make sure that you do not leave any question unanswered

N/A
N/A
Info
Lataa
Protected

Academic year: 2022

Jaa "just make sure that you do not leave any question unanswered"

Copied!
1
0
0

Kokoteksti

(1)

CS-E4510 Distributed Algorithms/Jukka Suomela midterm exam, 12 December 2019 Instructions. You must answerall questionsin order to pass the exam. If you cannot solve a problem entirely, try to at least explain what you tried and what went wrong; just make sure that you do not leave any question unanswered. In all questions,you can use any results from the textbook.

∗ ∗ ∗

Definitions. Let G = (V,E) be a graph. We say that XV is a clique if for all nodes a,bX,a6=b, there is an edge{a,b} ∈ E. Thesizeof the clique is the number of nodes in set X.

∗ ∗ ∗

Question 1: Covering maps. Prove that the following problem cannot be solved with any deterministic algorithm in the PN model:

• Graph family: connected graphs with exactly 10 nodes.

• Local inputs: nothing.

• Local outputs: all nodes have to output the size of the largest clique in the input graph.

(For example, if the input graph contains a clique with 4 nodes and it does not contain a clique with 5 nodes or more, then all nodes must output the same value, 4.)

Question 2: Local neighbourhoods. Prove that the problem from question 1 cannot be solved in 5 communication rounds in the LOCAL model with any deterministic distributed algorithm.

Question 3: Graph theory & randomness. It is enough to answer either part (a) or (b):

(a) Let G = (V,E) be anyregular graph with 5 nodes (that is, all nodes have the same degree). Prove: the size of the largest clique in G cannot be 3 (that is, the largest clique has to be smaller than 3 nodes or larger than 3 nodes, but it cannot be exactly 3 nodes).

(b) Design arandomizeddistributed algorithm that solves the problem from question 1 in the PN model. Any running time is fine. The algorithm has to be aLas Vegas algorithm, i.e., when it terminates, it always produces a correct output. It is sufficient to give a brief, informal description of the algorithm—you do not need to use the precise state-machine formalism, and you do not need to prove that your algorithm is correct.

Viittaukset

LIITTYVÄT TIEDOSTOT

The findings from the first research question “what type of questions do students ask about sustainable development?” shows that when dealing with sustainable development,

Much to Brandes' surprise, Zionism rapidly became an international movement growing by leaps and bounds. In 1901 when he voiced his opinion publically for the first time

™ distributed: quite simple distributed: quite simple— —just do it (if data is in the local node) or send just do it (if data is in the local node) or send an update message (but

582 In the question of whether nPVR service providers make works available to the pubic the Court opined that service providers do not infringe the exclusive right of copyright

But after the severe crimi- nalization of male homosexuality under Stalin and the pathologization of lesbian relations, mentions of homosexuality disappeared from Soviet publications

In the case that the question was not answered precisely leads to the deduction of points in 0.5 in- crements?. Principles of

• The full point(s) are given, see in square bracket, when the question is precisely answered. In the case that the question was not answered precisely leads to the deduction

(b) Determine (i) the initial moisture content of the test piece after cutting and (ii) the moisture content after wetting. (c) Calculate the final dimensions of the wood in