GoConqr has a new look! Let us know what you think.

Quiz

CSSE4004 - Lecture 5

tb22 16 questions Updated 4 Mar 2016

Take the quiz

Questions in this quiz (16)

  1. 1Which of the following is false about the Repulsion forces approach in large scale coordinator election
    1. Aeach token is “repulsed” by nearby tokens (token holder sends token to another peer if too many tokens nearby)
    2. Btoken must be held by a node for a set time period before node can become superpeer
    3. Ceach node holding a token learns about other tokenholders
    4. Da superpeer which receives another token sends it to the lowest prime numbered neighbour
  2. 2How can a coordinator failure be addressed in a centralised mutual exclusion system?
    1. ABy using election algorithms to change the coordinator
    2. BBy using triple modular redundancy to compare the results of two coordinators
    3. CBy emitting a heartbeat that informs other nodes when the coordinator cannot provide a lock
    4. DBy moving the coordinator periodically to the next node in the token ring
  3. 3Which of these is not a drawback of a typical distributed mutual exclusion algorithm?
    1. Alarge number of messages required
    2. Bone slow process slows down others
    3. Cmore points of failure
    4. Dlocks may be granted unfairly
  4. 4Which of the following is true about Lamport's algorithm
    1. Awhen a message is received, its time is compared against the local clock. If the local clock is less than C(b), it is set to C(b) + 1
    2. Bmessages carry their sending time according to the receiver's clock e.g., C(b)
    3. Cbetween any two events, the clock must tick at least twice (i.e. one on the transmitting side, one on the receiving side)
    4. DEvents occurring in processes that do not interact (even indirectly through third parties) are said to be concurrent
  5. 5In the bully algorithm with nodes 1,2,3,4,5,6,7 if 7 is the coordinator and 4 notices the coordinator has crashed, who will be the new coordinator?
    1. A6
    2. B4
    3. C1
    4. D7 after it reboots
  6. 6Which of the following is false about wireless network clock synchronisation algorithms
    1. AClock synchronisation is difficult because nodes cannot always contact one another
    2. BNodes are resource-constrained
    3. CReceivers record difference between reference message timestamp and their own clock
    4. DThe coordinating node must transmit at a higher power level to ensure all nodes can receive clock broadcasts
  7. 7Which of the following is false about Lamport's algorithm?
    1. Aif a and b are events in the same process, and a occurs before b, then a - > b is true
    2. Bif a is the event of a message being sent by one process, and b is the receipt of that message in another process, then a ->b is also true
    3. Ca -> b and b -> c, then a -> c
    4. Dif a is the event of a message being sent by one process, and b is the receipt of that message in another process, then b -> a is also true
  8. 8Which of these are clock synchronisation protocols
    1. ANetwork Time Protocol, The Berkeley Algorithm
    2. BNetwork Time Protocol, Town Clock Algorithm, The Berkeley Algorithm
    3. CUTC lock algorithm, NTP
    4. DNetwork Time Protocol, Town Clock Algorithm
  9. 9Which is true about NTP?
    1. AStands for Numerical Time Protocol
    2. BDaemon calculates new time based on average of reported values
    3. CIn general, synchronising with stratum-k server makes you stratum-k+1
    4. DStratum-1 servers typically have direct access to a reference clock
  10. 10What issue is addressed by a vector clock?
    1. ALamport’s algorithm does not capture causality
    2. BSometimes messages are received out of order
    3. CSometimes messages are created at precisely the same time
    4. DSometimes events must be recorded before an event which occurred after it

Information

Description
CSSE4004 - Lecture 5
Author
tb22
Language
English
Views
56
History
Created on 7 Jun 2015 · updated on 4 Mar 2016
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?