Professional Documents
Culture Documents
Comp2207 201516 01 Comp2207w1
Comp2207 201516 01 Comp2207w1
Answer one question from Section A and one question from Section B.
Each question is worth 50 marks, out of a total of 100 marks for the paper.
This examination is worth 50% of the marks for the module. The coursework
was also worth 50%.
Section A
Question A1.
Question A2.
(a) Describe how vector clocks are used to capture the happened-before
relation in a distributed system.
[12 marks]
(b) Define what causally-ordered multicast is, and show how it can be
implemented over basic multicast by using vector clocks.
[14 marks]
(c) Describe the two-phase commit protocol for distributed transactions.
[14 marks]
(d) Explain how the two-phase commit protocol for nested transactions
ensures that if the top-level transaction commits, all the right descendants
are committed or aborted.
[10 marks]
TURN OVER
Copyright 2016 c University of Southampton Page 3 of 5
COMP2207W1
Section B
Question B1.
Question B2.
(a) For the following network prefixes, give the range of IP addresses
included in the prefix, the network mask, and the IP broadcast address.
(i) 152.78.71.0/24
(ii) 152.78.76.0/20
(iii) 152.78.62.128/27
[18 marks]
(b) Compare and contrast the operation of a distance vector and a link
state routing protocol. For each type of routing protocol, outline how
routing tables are constructed and updated.
[26 marks]
(c) If you were the network manager of a large university campus network,
explain whether you would choose to run a distance vector or link
state protocol, and give at least three reasons for that choice.
[6 marks]
END OF PAPER
Copyright 2016 c University of Southampton Page 5 of 5