Answer:
a. 0.01
b. 0.001
c. The identification field of the packet fragment can be used to uniquely identify and collate the fragments lost in transmission.
Explanation:
The probability of losing a packet is 10% or 0.1, so the probability of losing the packet twice during transmission;
= 0.1 x 0.1 = 0.01
When any fragments have been part of the transmission, the probability of the packet is dependent on the fragments;
= 0.01 x 0.1 = 0.001
The identification field is a unique 16-bit value assigned to an IPv4 packet, when a packet is fragmented for transmission, its field is used to collate the unique fragments in the packet.
Answer:
twainQuotes = ['I have never let my schooling interfere with my education.', 'Get your facts first, and then you can distort them as much as you please.', "If you tell the truth, you don't have to remember anything.", 'The secret of getting ahead is getting started.', "Age is an issue of mind over matter. If you don't mind, it doesn't matter. "]
print(twainQuotes)
twainQuotes.sort()
print(twainQuotes)
twainQuotes.insert(1,'Courage is resistance to fear, mastery of fear, not absence of fear.' )
print(twainQuotes)
Explanation:
ok
Answer:
i am still a beginner in this but i hope it helps.
- add scanner object;
- declare string FavColour;
- print msg to ask user for input
- print msg (" your favourite colour is " + FavColour)