Answer:
Explanation:
The following program is written in Python. It simply creates an endless loop that continously asks the user for an input. If the input is not -1 then it outputs the same input, otherwise it exists the program correctly. A test output can be seen in the attached image below.
while True:
answer = input("Enter a value: ")
if answer != "-1":
print(answer)
else:
break
Answer:
just turn off your computer.
Explanation:
It can help ensure that everything is correct. Having an extra set of eyes can never hurt :)
Answer:
Source port number and destination port numbers for segment travelling from HOST B to HOST A are : Source port number is y , and Destination port number is x.
Explanation:
Because in problem statement it given that the TCP segments traveling from Host A to Host B have source port number x and destination port number y. So it is clear that that Host A has a port named x and Host B has a port named y and when segments travels from Host B to Host A the Host B's port becomes source and Host A's port becomes source.