Networks - Protocols (TC/IP Model) Flashcards

1
Q

What is a protocol?

A

A set of rules for how devices communicate and how data is transmitted across a network

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

What do protocols do?

A

Cover how communication between two devices should start and end
How data should be organised
What the devices should do if data goes missing

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

How is data sent between networks?

A

Split into equal-sized packets
Each packet contains extra information such as the destination and source address and a checksum

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

What is a checksum?

A

It is used to find errors

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

How are network protocols divided?

A

They are divided into layers

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

What is the rule about the travel of data between layers?

A

Data can only be passed between adjacent layers

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

What is a layer?

A

A group of protocols which have similar functions

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

What are layers?

A

Self-contained - protocols in each layer do their job without needing to know what is happening in other layers

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

What do each layer do?

A

Each layer serves the layer above it (does the hidden work needed for the action above) - layer 4 triggers actions in layer 3 which triggers layer 2…

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

What are the 4 layers of the TCP/IP model?

A

Layer 4 - application layer
Layer 3 - transport layer
Layer 2 - internet layer
Layer 1 - link layer

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

What does layer 4 do?

A

The application layer provides networking services to applications - turning data into websites

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

What does layer 3 do?

A

The transport layer sets up communications between 2 devices - splits data into packets and checks packet are correctly sent and delivered

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

What does layer 2 do?

A

The internet layer adds IP addresses to data packets, directing them between devices and handling traffic - used by routers

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

What does layer 1 do?

A

Passes data over to the physical network and is responsible for how data is sent as electric signals over cables, wireless and other hardware and is responsible for interpreting signals using device drivers

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

What do device drivers do?

A

Act as a translator for signals between the OS and type device you are using

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

What are the advantages of using layers?

A
  1. Break down the communication into manageable chunks
  2. Layers can be changed without other layers being affected
  3. Having set rules for each layer forces companies to make compatible and universal software and hardware
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

How does breaking down networks into manageable chunks help?

A

It helps developers concentrate on only 1 area of the network without having to worry about the others

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

Why is having a set rules for each layer good?

A

It forces companies to make compatible and universal software and hardware so different bread can work with each other and will work in the same way

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

What is the application layer responsible for?

A

Files, email and data transfer

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

What are protocol examples of the application layer (layer 4)?

A

HTTP, HTTPS, FTP, SMTP and IMAP

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

What are protocol examples of the transport layer (layer 3)?

A

TCP and UDP

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

What is a protocol example of the internet layer (layer 2)?

A

IP

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

What are the protocol examples of the link layer (layer 1)?

A

Wi-Fi and Ethernet

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

What does HTTP stand for?

A

Hyper Text Transfer Protocol

25
Q

What does HTTPS stand for?

A

Hyper Text Transfer Protocol Secure

26
Q

What does FTP stand for?

A

File Transfer Protocol

27
Q

What does IMAP stand for?

A

Internet Message Access Protocol

28
Q

What does SMTP stand for?

A

Simple Mail Transfer Protocol

29
Q

What is HTTP used for?

A

Used by web browsers to access websites and communicate with web servers

30
Q

What is HTTPS used for?

A

A more secure version of HTTP
Encrypts all information sent and received

31
Q

What is FTP used for?

A

Used to access, edit and move files between devices on a network - access files on a server from a client computer

32
Q

What is IMAP used for?

A

To retrieve emails from a server

33
Q

What is SMTP used for?

A

To send emails and transfer emails between servers

34
Q

What are TCP and UDP?

A

Transport layer (layer 3) protocols which control the packaging or unpackaging of data

35
Q

What does TCP stand for?

A

Transmission Control Protocol

36
Q

What does UDP stand for?

A

User Datagram Protocol

37
Q

What does TCP do?

A

Establishes a connection between the sending and receiving devices
Splits the data into numbered packets - can be reassembled even if they don’t arrive in order
Communicates with the receiving device to make sure all the packets have been transferred correctly - if missing/corrupted they will be resent
Sending device gets confirmation when transfer is complete

38
Q

What does UDP do?

A

Splits data into packets without numbering them
The packets are read by the receiving device in the order they arrive (even if it’s wrong)
Only sends each packet once and doesn’t check
Saves time but no way of knowing if packets are missing in transmit

39
Q

What are the differences between TCP and UDP?

A

TCP - numbers packets (correct order), resends data if corrupt or missing, longer time to transmit
UDP - doesn’t number packets (wrong order), doesn’t resend data, shorter time to transmit

40
Q

What are situations where UDP would be more suitable?

A

Applications that need fast, efficient transmission - live streaming - better to have a hiccup in video quality than have a delay in the live stream

41
Q

What are situations where TCP would be more suitable?

A

When you need a reliable connection - downloading files - missing data packets can cause files to be corrupt and unusable and you wouldn’t want to have to re-download the whole file

42
Q

What does IP stand for?

A

Internet protocol

43
Q

What is IP used for?

A

It operates on the internet layer (layer 2) and establishes connections between routers and handles network traffic

44
Q

What are IP addresses?

A

Unique numbers assigned to every device connected to an IP network

45
Q

What does the IP do with IP addresses?

A

It adds them to the header of each packet in the internet layer

46
Q

What is IP responsible for?

A

Responsible for directing data packets to their destination across the internet or other IP networks via a process called packet switching

47
Q

What is packet switching?

A

An efficient use of the network because there are so many possible routes that each packet can take - packets can reach their receiving device quickly even if there is heavy traffic

48
Q

What happens in packet switching?

A
  1. Each packet is sent between a series of routers
  2. Each router uses the IP address to decide which router to send the packet next
    The way the data is sent depends on data traffic - packet can take different routes
49
Q

What happens if a router receives too many packets at once (packet switching)?

A

It may prioritise some packets over others

50
Q

What is Wi-Fi?

A

A family of protocols often used in WLANs that operates on the link layer

51
Q

What are frames?

A

Units of data sent on the link layers (instead of packets)

52
Q

What are the 2 frequency bands that Wi-Fi uses?

A

2.4 GHz
5 GHz

53
Q

What is good about using 2.4 GHz?

A

Has a greater range and is better and getting through walls

54
Q

What is good about using 5 GHz?

A

It is faster over short distances

55
Q

What happens to the bands?

A

They are split into numbered channels

56
Q

What is different about the channels in the 2.4 GHz bands?

A

They overlap

57
Q

What causes interference?

A

Networks using adjacent or overlapping channels

58
Q

What is Ethernet?

A

It also handles the transmission of data between devices but is specifically for wired networks