Revision Lecture Flashcards

1
Q

HTTP is a protocol at which layer of the 5 layer model?

A

Application layer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is ARP used for?

A

For mapping an IP address to a MAC address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The transport layer provides logical communication between hosts?

TRUE or FALSE

A

False.

The transport layer provides logical communication between processes, not hosts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

DHCP (Dynamic host configuration protocol) is used to assign IP addresses to hosts.

TRUE or FALSE

A

True.

It assigns all hosts an IP when it first connects to the network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the following layers are implemented by routers:

  • Link
  • Transport
  • Application
  • Network
  • Physical
A

Only the Network, Link and Physical layers are implemented by routers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In reliable data transfer, which, if any, of the following are pipelining techniques:

  • Border Gateway Protocol
  • Go-Back-N
  • Selective Repeat
  • First come, First served
A
  • Go-Back-N

- Selective repeat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Name the 5 layers in the Internet protocol stack. What are the primary responsibilities of each layer?

A
  • Application - provides network communication between applications.
  • Transport - provides logical communications between application processes running on different hosts.
  • Network - provides logical communication between different hosts.
  • Link - determines how the packets are sent over physical links.
  • Physical - (We did not go over this layer).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Give the explanation of the features that the UDP adds to the Internet protocol (IP).

(3 marks)

A
  • Encapsulates the datagram in a segment
  • Adds a port and the ability to multiplex
  • Has error checking capabilities using checksum
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Unlike TCP, UDP does not provide a reliable data transfer. Why would we use UDP over TCP?

A

It allows for efficiency, due to no handshaking, and has a smaller segment header.

It also allows for simplicity, no connection is needed between the sender and receiver.

Sometimes we do not mind losing some data in the name of faster, more efficient transfer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly