I'm adding the mock exams with answers on at the end. Good luck ✨⚡ (ps: spell check breaks on this page as it's so long, super sorry 😅)

    0                   1                   2                   3   
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |          Source Port          |       Destination Port        |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                        Sequence Number                        |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                    Acknowledgment Number                      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  Data |           |U|A|P|R|S|F|                               |
   | Offset| Reserved  |R|C|S|S|Y|I|            Window             |
   |       |           |G|K|H|T|N|N|                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |           Checksum            |         Urgent Pointer        |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                    Options                    |    Padding    |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                             data                              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

lmao good luck reading this but i don't think it'll be in the exam

We say the utilisation rate is 50%, as only half are used.

Exam / mock questions

Consider a communication channel with bandwidth B = 5000hz

  1. suppose S/N = 255, what is the maximum data rate of this channel?
  2. What is the minimum number of signal states M needed to achieve a data rate of 20000 bps? How many states to encode?

What is the name of a packet in each of the following layers?

  • Transport layer
  • Network later
  • Link Layer

Consider sending a 3400 byte datagram into a link that has an MTU of 500 bytes. How manyfragments are generated?

Suppose an application generates chunks of 160 byte of data every 30msec and each chunkgets encapsulated in a TCP segment and then an IPv4 datagram. What percentage of eachdatagram will be application data?

Compute the CRC bits defined by the generator 1101 and the data bit string 111101.