The Status Update Protocol

In order to make social situations easier, a Social Expert has defined a ‘Status Update’ protocol for use between two people, an Initiator and a Friend.

Status Update Protocol

CONVERSATION START

Initiator: “Hello I am <initiator_name>”

Friend: “Hello <initiatorname> I am <friendname>”

Initiator: “How are you <friend_name>”

Friend: “I am (<good>|<bad>|<ambivalent>) <initiator_name>”

Initiator: “(<Good for you>|<I’m sorry<|<I see>|<Interesting>)”

Friend: “Thank you <initiator_name> goodbye”

Initiator: “Goodbye <friend_name>”

CONVERSATION TERMINATED

Notes

The statuses ‘good’, ‘bad’ and ‘ambivalent’ prompt a response of ‘Good for you’, ‘I’m sorry’ and ‘I see’ respectively from the initiator.

If the status is not one of those three values (‘good’, ‘bad’, ‘ambivalent’, the initiator replies with ‘Interesting’.

If one party fails to adhere exactly to the defined protocol, the other party will respond with “I have to go goodbye” and terminate the conversation.

The challenge

Now look at the following conversation:

CONVERSATION START

Alice: “Hello I am Alice”

Bob: “Hello Alice I am Bob”

Alice: “How are you Bob”

Bob: “<RESPONSE>

Alice: “I see”

Bob: “Thank you Alice goodbye”

Alice: “Goodbye Bob”

CONVERSATION TERMINATED

Questions

Question 1

What should the value of <RESPONSE> be?

Prerequisite Skills

lesson

What is a computer network?

Networks are made up of network nodes (endpoints, switches and routers) which use interconnections to communicate with each other and move…

Related Training Courses

course

Computer Networking Foundations

Understand how modern computer networks work.