Intro into communication systems

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/49

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

50 Terms

1
New cards

What is ASCII and what is it used for

  • American Standard Code for Information Interchange

  • It is a table which is used to convert characters into bits

2
New cards

What is Routing

  • The process of finding a path between a souce and destination. Uses routers which hold networks(e.g.the internet) together.

3
New cards

Give the difference between packet switching and circuit switching

Circuit switching - The source knows the path the message is going to travel. In addition the netork is made up of switches. The message is sent without stopping at any point.

Packet Switching - The source doesn’t know the path the message will take. The network is made of routers, and the message stops at each router to determine where it next travels.

4
New cards

How can we ensure reliable communication

  • We can use encryption to secure messages

  • We can use error detection at the destination

5
New cards

Define a “Protocol”

Protocol is set of rules/language that allows two devices to communicate with each other, without it devices cannot communicate with each other

6
New cards

Define a ‘Host’

Either a client(device) or a server

7
New cards

Define ‘frequency division multiplexing’

Where phone lines can carry multiple signals at different frequencies (upstream, downstrean, phone signals)

8
New cards

Define ‘Peer Linking’

Directly connecting routers to each other

9
New cards

What are ‘IXPs’

A third party service consisting of many switches that provide links to connect ISPs to each other

10
New cards

Define ‘Multi-homing’ & which ISPs cannot use multi-homing

Where an ISP can connect to 2 or more provider ISPs. Tier-1 ISPs can’t use it as they have no provider ISP

11
New cards

State a benefit of ‘Multi Homing’

If a connection between two ISPs fail there will be another one for data to still be sent/retrieved.

12
New cards

What is the purpose of the Application layer

To create the message. Puts the message in a format that can be sent

13
New cards

What is the purpose of the Transport layer

Splits the message into packets. It is also responsible for reliable data transfer

14
New cards

What is the purpose of the Network layer

Improves routing, Exists in the routers, source and destination

15
New cards

What is the purpose of the Data Link layer

Reduces the chance of multiple access occuring 

16
New cards

What is the purpose of the Physical layer

Converts sequences of bits into physical signals to be sent

17
New cards

What is the name for the packet in the transport layer & what does its header and payload contain

The segment, the header contains parity bits/error checking bits and the payload is just the message

18
New cards

What is the name for the packet in the network layer & what does its header contain & what is the name of the payload

The datagram. The header contains the IP address of where it should be sent next and the payload is just the segment

19
New cards

What is the name for the packet in the data link layer & what does its header contain & what is the name of the payload

The frame. The header contains bits to prevent multiple access and the payload is just the datagram

20
New cards

How many layers does the OSI model have and the TCP/IP model have

TCP/IP consists of 4 layers
OSI consists of 7 layers

21
New cards

Name the 2 layers in the OSI model which are dealt with in the Application Layer of the TCP/IP model & what they do in the OSI model

Presentation - Finds general solutions to things e.g. encryption, compression etc

Session - Manages connection between end users

22
New cards

Define a ‘process’

Where a program runs in RAM

23
New cards

What 2 conditions are needed to receive a message

  • Processes must have identifiers

  • The host device must have a unique IPv4 address(32 bits)

24
New cards

What do Identifiers contain that associate with the process on the host

  • IP addresses

  • Port number

25
New cards

Define a ‘Port Number’

A number given to a process to help identify a process in a host

26
New cards

What is the purpose of a socket

Acts as a door between the transport layer & application layer

27
New cards

What 4 services does the transport layer provide?

  • Reliable data transfer

  • Timing

  • Throughput

  • Security

28
New cards

Define ‘Persistent HTTPS’

Multiple objects can be sent over the TCP connection between the client and server

29
New cards

Define ‘Non-Persistent HTTPS’

Only one object can be sent over the TCP connection

30
New cards

Define RTT(Round Trip Time)

The time taken for a small packet to travel from the client to the server and back

31
New cards

Describe the application-layer to transport-layer flow for a persistent HTTP message.

  • Message is created & formatted in app layer

  • Sent to transport layer via socket

  • Sender & receivers transport layer creates a TCP connection

  • Message is sent across then pushed up the socket to the app layer

  • TCP is shut down

32
New cards

Describe the application-layer to transport-layer flow for a non-persistent HTTP message.

  • Message is created & formatted in app layer

  • Sent to transport layer via socket

  • Sender & receivers transport layer creates a TCP connection

  • Message is sent across then pushed up the socket to the app layer (One response per TCP connection)

33
New cards

State a downside to using non-persistent HTTPS compared to persistent HTTPS

non-persistent HTTPS requires 2 RTT per object, where as persistent HTTPS requires only 1.

34
New cards

State the 3 phases of transfer for SMTP

  • Handshaking

  • Transfer of Messages

  • Closure

35
New cards

Which devices are the transport layer protocols only implemented on

End-Systems

36
New cards

How does the transport layer work on end-systems

  • The source end-system breaks the message into packets & adds a header to create a segment

  • The destination end-system reassemtbles the segment into the original message

37
New cards

Give 2 differences between UDP & TCP

TCP

  • Provides reliable data transfer

  • Guarantees the message arrives in order

UDP

  • Doesn’t guarantee the order of the message will be delivered correctly

  • Doesn’t guarantee the message arrives in order

38
New cards

What differentiates UDP from TCP

UDP is connectionless whist TCP isn’t

39
New cards

Give advantages of UDP

  • No connection needed to be made in comparison to TCP which could cause delay

  • Doesn’t keep a connection state

  • Has a smaller header size, so processing time is shorter

40
New cards

Name 3 things that can go wrong when sending packets

  • Errors in the packet(bits flipped due to noise)

  • Packets may get lost due to overflow

  • Packets may get delayed if previous packets are stilll waiting to be transmitted

  • Packets arrive out of order

41
New cards

Explain how the parity bit technique works

For any sequence of bits if there’s an even number of 1s in the sequence, the parity bit will equal zero. I (no errors)

If there is an odd number of 1s, the parity bit = 1 (Meaning errors are present)

42
New cards

Explain how parity bits work between two devices

  • Calculate the parity bit for the packets payload & store it in the packets header

  • Send to destination

  • Repeat 1st step & compare the parity bit to the source parity bit

  • Match = No errors

  • No Match = Errors

43
New cards

Explain how parity bits work between two devices using checksum

  • Source breaks packet into equal size words

  • performs binary addition

  • Places checksum into header

  • Receiver checks if checksum = checksum field value

  • Match = No Error

  • No Match = Error

44
New cards

Define ACK & NAK

ACK(Acknowledgement) - Receiver tells sender tht the pkt has arrived with no errors

NAK(Negative Acknowledgement) - Receiver tells sender tht the pkt has arrived with errors

45
New cards

Explain the stop & wait operation process

  • Sender takes all bits packet (size L) into a channel at a rate R bits per second (t=L/R)

  • ACK is sent back to sender by receiver

  • Time from sending first packet to being ready to send the next [t = RTT + L/R]

  • U = Utilisation

  • U(sender) = (L/R)/(RTT + L/R)

46
New cards

Define ‘Pipelining’

Where the sender can send multiple packets without waiting for acknowledgement

47
New cards

Give two methods of Congestion Control

  • End to End

  • Network assisted

48
New cards

GIve features of end to end congestion

  • No explicit feed back from the network

  • Approach taken by TCP

  • End to end systems usually observe losses/delay

49
New cards

Give features of network assisted congestion control

  • Routers provide feedback to end systems

  • 1 bit indicates congestio

  • Explicit rate for sender to send at

  • Direct/Indirect feedback from routers

50
New cards

Give features of TCP congestion control

Additive increase - Increases window size by max segment size every RTT until loss is detected

Multiplicative increase - Cuts window size by half after loss