network protocols Flashcards

1
Q

what is a network protocol?

A

A protocol is 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

how is data sent in a protocol?

A

data sent between networks are split into equal-sized packets. Each packet contains extra information eg. the destination and source addresses and a checksum used to find errors.

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

how are network protocols organised?

A

network protocols are divided into layers.

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

what is a layer?

A

A layer is a group of protocols that have similar functions.

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

how many layers are in the TCP/IP model?

A

there are four layers of

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

what is layer 1 called and what is its function?

A

layer 1 is called the link layer.
it is used to pass data over to the physical network

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

what protocols may be used in layer 1?

A

wi-fi and ethernet

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

what is the name of layer 2 and its function?

A

layer 2 is called the internet layer
— it is used to add IP addresses to data packets, directing them between devices
—They are used by routers.

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

what protocol may be used in layer 2?

A

IP

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

what is layer 3 called and what is its function?(2)

A

layer 3 is called the transport layer
— it is used to set up communication between a sender and a receiver
— IT is also used for splitting data into smaller pieces

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

what is layer 4 called and what’s its function? (1)

A

layer 4 is called the application layer
— it is used for providing networking services to applications — eg. turning data into websites.

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

what protocols are used in layer 3?

A

TCP and UDP

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

what protocols are used in layer 4?

A

HTTP, HTTPS, FTP, SMTP, IMAP

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

what are the advantages of using layers?

A

it breaks network communication into manageable pieces. Which helps developers concentrate on only one 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
15
Q

what is the advantage of layers being self-contained?

A

layers can be changed without affecting the other layers.

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

advantage of layers having set rules

A

having set rules for each layer forces companies to make compatible, universal hardware and software, so different brands will work with each other and always work in basically the same way.

17
Q

what else is the application layer responsible for ?

A

files, emails and data transfer

18
Q

what does HTTP stand for and what is it used for?(2)

A

it stands for Hyper Text Transfer Protocol.

governs communication between a web server and a client (the web browser)

19
Q

what does HTTPS stand for and what is it used for?

A

stands for Hyper Text Transfer Protocol Secure. It is a more secure version of HTTP as it encrypts all information sent and received.

20
Q

what does FTP stand for and what is it used for? (2)

A

stands for File Transfer Protocol.
—Used to transfer files like documents, music, or data across a network or the internet

21
Q

what does IMAP stand for and what is it used for?(2)

A

Internet Messaging Access Protocol.
—It is used to retrieve emails from a server.

22
Q

what does SMTP stand for and what is it used for?

A

Simple Mail Transfer Protocol.
— It is used to send emails

23
Q

what else does the transport layer do?

A

controls the packaging and unpackaging of data

24
Q

what does TCP stand for and what is it used for?

A

Transmission Control Protocol.
Controls the packaging and unpacking of data using numbered data packages so that no data is lost.

25
Q

what does UDP stand for and what is it used for?

A

User Datagram Protocol.
controls the packing and unpacking of data without numbering data packets so it is unreliable and data may be lost.

26
Q

what is UDP best used for?

A

Gaming and live video streaming as TCP would take too long to deliver the packets and it is much preferred to have speed rather than 100% reliability when gaming or streaming.

27
Q

what is TCP best used for?

A

downloading files as it is preferred to have a reliable connection. Missing data packets can cause files to be corrupted and unusable, but you wouldn’t want to have to redownload the whole file.

28
Q

what does IP stand for and what is it used for?

A

Internet protocol.
to deliver data packets from one device to another. they use ip addresses to give a unique name to each packet which directs it to the correct router.

29
Q

what is Wi-Fi?

A

Wi-Fi is the standard set of protocols for wireless LANs
— wi-fi is a family of protocols commonly used in WLANs — units sent on the link layer are called frames instead of packets

30
Q

what two radio frequency bands do wi-fi use?

A

2.4 GHz and 5 GHz

31
Q

what are the benefits of both frequencies?

A

2.4 GHz has a greater range and is better at getting through walls and other obstructions whereas 5 GHz is faster over short distances

32
Q

how are the radio frequency bands split up?

A

they are split in to channels that each cover a small frequency range.

33
Q

what happens when channels overlap

A

it can cause interference

34
Q

what is the ethernet used for

A

handling the transmission of data between devices on LANs, specifically for wired connections.