Professional Documents
Culture Documents
Examination Paper
Examination Session: Year: Exam Code:
Materials Permitted:
Revision:
Page 2 of 6 COMP2211-WE01
Section A Networks
(Dr Donald Sturgeon)
Question 1
(a) The following 11-bit datastream is encoded using a Hamming Code, and
contains exactly one bit error. Indicate which bits of the datastream are
parity bits, then use these to identify and correct the error.
10111101111 [5 Marks]
(c) Define Distance Vector Routing, Link State Routing, and the count to
infinity problem. Explain why the count to infinity problem only occurs
when using one of these two routing algorithms. [5 Marks]
(d) i. Explain a common problem that can arise in decoding a signal trans-
mitted using Non Return to Zero (NRZ) encoding when long se-
quences of consecutive bits of the same value are transmitted by
varying voltage on a single line. [2 Marks]
ii. Name and describe one alternative encoding which might be used
to avoid this problem from occurring, and state a limitation of the
approach. [3 Marks]
(e) In the example below, the four stations A, B, C, D are sharing a channel
using CDMA. When the sequence of signals
S = +2 +2 0 +2 0 +2 −4 0
continued
Page 3 of 6 COMP2211-WE01
Chip sequences:
A = +1 +1 +1 −1 −1 +1 −1 −1
B = +1 +1 −1 +1 −1 −1 −1 +1
C = +1 −1 +1 −1 −1 −1 +1 +1
D = +1 −1 +1 +1 +1 +1 −1 +1
[5 Marks]
Question 2
(a) How does onion routing work, and what is it used for? [4 Marks]
(b) What is a canary value, and what is it used for? Explain how it works.
[5 Marks]
(c) Explain two of the most popular scenarios where professional criminal hack-
ers can earn £10k in a few days. Your answers should detail how money
is distributed, and how the criminals avoid getting caught. [8 Marks]
(d) List eight areas that a software company of 100 employees can spend its
annual budget of £100k on, in order to improve and maintain their cyber
security and protect their digital assets. [8 Marks]
Question 3
(a) Provide the names of the three main phases of the analysis part of a
compiler (or front end) and give a brief description of what each of these
parts is responsible for. [12 Marks]
(b) Construct the leftmost derivation and the rightmost derivation of the string
(x ∨ y) ∧ z in the following grammar:
E → E∨T | T
T → T ∧F | F
F → (E) | x | y | z
[8 Marks]
(c) Demonstrate with a simple example and using diagrams that the following
grammar is ambiguous:
[5 Marks]
Question 4
(c) Explain how the existence of Byzantine faults affects the design of: (1)
active and (2) passive replication based distributed systems. [5 Marks]
(e) On Black Friday, an online shopping system has many of its servers being
overloaded by a huge number of shopping transactions.
END OF PAPER