subject

Three computers, A, B, and C communicate using a protocol that implements Lamport logical clocks (they include their clock time stamp in messages). At the beginning of time, all three computers begin with their
logical clock set to zero. Later, the following sequence of events occurs:
A sends message M1 to B
C sends message M2 to B
B receives M2 before M1
B replies message M3 to C first, and then message M4 to A
After receiving message M3, C sends message M5 to A
After receiving message M5, A sends message M6 to B
After receiving message M6, B sends message M7 to A
The last message A receive is M4
1. Indicate the time included with the messages as they are sent at each step.
Send(M1, _ )
Send(M2, _ )
Send(M3, _ )
Send(M4, _ )
Send(M5, _ )
Send(M6, _ )
Send(M7, _ )
2. After all of these messages have been sent and received, what time (Lamport logical clocks)
does each computer think it is?
3. Name any one pair of causally connected events correctly identified by Lamport scalar clocks.
4. Can B sending M4 and C sending M5 be identified as concurrent events using Lamport’s scalar
clock? Explain why.
a. Yes
b. No

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:30
Awell-diversified portfolio needs about 20-25 stocks from different categories is this true or false?
Answers: 2
question
Computers and Technology, 22.06.2019 21:00
Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the two strings starting from index 0. for each match, add one point to userscore. upon a mismatch, exit the loop using a break statement. assume simonpattern and userpattern are always the same length. ex: the following patterns yield a userscore of 4: simonpattern: rrgbryybgy userpattern: rrgbbrybgy
Answers: 2
question
Computers and Technology, 23.06.2019 10:00
Hey i just logged on and one of the moderators deleted a bunch of my answers to questions, even though the answers were right and the people it doesn't make sense but if anyone wants to talk about anything just message me lol (this is super random lol)
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
The basic work area of the computer is it screen that you when you first fire up your computer
Answers: 1
You know the right answer?
Three computers, A, B, and C communicate using a protocol that implements Lamport logical clocks (th...
Questions
question
Mathematics, 04.02.2020 16:43
question
Mathematics, 04.02.2020 16:43
question
Spanish, 04.02.2020 16:43
Questions on the website: 13722363