Back to marketplace

TCP/IP protocol

No description yet. This curated deck is ready for daily study.

Total cards: 24•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (24)

#1
Front (Question)

What are the layers of the TCP/IP stack from top to bottom

Back (Answer)

• application layer • transport layer • internet layer • link layer

#2
Front (Question)

Purpose of the application layer

Back (Answer)

Uses protocols designed to work with specific types of applications E.g. web browser uses HTTP, email client uses SMTP, IMAP and POP3

#3
Front (Question)

What is the purpose of the transport layer

Back (Answer)

Breaks the application data down into segments(TCP) and datagrams(UDP) Sequence numbers allocated, source and destination port numbers are added to header. For TCP, delivery acknowledged and lost segments retransmitted

#4
Front (Question)

Purpose of the internet/network layer

Back (Answer)

Encapsulates segments from the transport layer to create IP Packets. Source and destination IP addresses are added at this stage

#5
Front (Question)

Purpose of link layer

Back (Answer)

• Responsible for transporting IP packets across each individual link that make up path between client and server • Further encapsulates IP packets in Ethernet frames • At this level, networking protocols are used

#6
Front (Question)

Names of data block produced by each layer

Back (Answer)

Application- application data (HTTP, SMTP) transport - segments or datagrams Internet - Packets Link - Frames

#7
Front (Question)

What protocols does the transport layer use

Back (Answer)

Transmission control protocol and user datagram protocol

#8
Front (Question)

What does the TCP do

Back (Answer)

• keeps track of each generated segment, assigning a sequence number • at receiving end, TCP keeps record of incoming sequence numbers & acknowledges each segment • if sender doesn’t receive an acknowledgement, segment is resent

#9
Front (Question)

What does the UDP do

Back (Answer)

Transfers data at a fast rate

#10
Front (Question)

Uses of TCP compared to uses UDP

Back (Answer)

TCP - when complete data is required (reliable) UDP - when speed of data transfer is the most important criteria (unreliable)

#11
Front (Question)

What is a socket

Back (Answer)

A combination of an IP address and a port number. Persists throughout duration of the connection

#12
Front (Question)

What is the max amount of connections a server can keep track of

Back (Answer)

65, 534 per host

#13
Front (Question)

What does the socket facilitate

Back (Answer)

Asynchronous communication, meaning only one device can communicate at a time

#14
Front (Question)

What are the well-known port numbers

Back (Answer)

Port - protocol - use 20 - FTP(Data) - file transfer 21 - FTP(Control) - file transfer 22 - SSH - Secure remote access 25 - SMTP - Mail transfer 80 - HTTP - Website access 110 - POP - Mailbox access 143 - IMAP - Mailbox access 443 - HTTPS - Secure website access

#15
Front (Question)

What is a MAC address

Back (Answer)

Unique to a specific NIC Physically tied to hardware of computer often referred to as physical address

#16
Front (Question)

What does HTTP do

Back (Answer)

Requests web pages and linked resources from the web server

#17
Front (Question)

How does HTTP operate

Back (Answer)

Through requests and responses: - server waits and listens for requests - client sends HTTP request for web page to server - server receives the request - server sends HTTP response which encapsulates requested page - client receives response and displays web page in web browser

#18
Front (Question)

What are the extra steps for the HTTP operation for dynamic pages

Back (Answer)

• database may be accessed for up-to-date images and prices for online shopping • profile may be accessed for more personalised content • processing may happen on client-side

#19
Front (Question)

What are the HTTP request methods

Back (Answer)

GET - request data from resource POST - submit data, create new resource PUT - update/replace an existing resource DELETE - removes a resource from server HEAD - requests just header of data from server

#20
Front (Question)

What does HTTPS do

Back (Answer)

Encrypts data exchanged between client and server

#21
Front (Question)

How does HTTPS work

Back (Answer)

• Provides digital certificate containing public encryption key. • authenticity is checked automatically in browser through number of root certificates • your browser uses key to encrypt data • only the authorised server has corresponding private key to decrypt it

#22
Front (Question)

What does the FTP do

Back (Answer)

Used to move files between 2 devices

#23
Front (Question)

How does the FTP work

Back (Answer)

Client-server application: - client device runs FTP client software, responsible for initiation of all connections - another device runs the FTP server & has access to disk space to store the files

#24
Front (Question)

What can a user do once logged into the FTP client software

Back (Answer)

• access directories on FTP server & request list of files in directory • user can choose to download or upload file