TCP/IP Stack Flashcards

1
Q

what is the TCIP/IP stack

A

it defines the rules referring to tranmission of data packets

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

what is the role of the IP

A

controls the delivery of the packets

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

what is the role of TCP

A

keeps track of the packets and re-assembles them on receipt

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

how much layers are there

A

4

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

what is a protocol

A

a set of rules

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

what are the 4 layers

A

application
transport
network
link

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

give 2 roles of the application layer

A
  • selectes the appropraite protocol for communication
    interact with the user via appropriate application software
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

give 2 roles of the transport layer

A
  • established end to end communication
  • communication split into packets by transpor layer and re assemled by receiver
  • chooses a port number for client and destination
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

give 2 roles of the network layer

A
  • supplies appropriate IP addresses for source and destination
  • involved with packet routing
  • combination of IP address and port = socket
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

give 2 roles of the link layer

A
  • recieves packets from the network layer and adds MAC addresses
  • adds frame header and footer to packets
  • deals with physical connection
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

give the 6 protocols needed to know in the application layer

A

FTP (File Transfer Protocol)
HTTP (Hypertext Transfer Protocol)
HTTPS (Hypertext Transfer Protocol Secure)
POP3 (Post Office Protocol (v3))
SMTP (Simple Mail Transfer Protocol)
SSH (Secure Shell).

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

explain what HTTP does

A

enables the transfer of data between a client and a server

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

explain what POP3 does

A

email protocol used to retrieve emails from a mail server to a local client

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

explain what FTP does

A

used for transferring files between a client and a server over the internet or LAN

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

explain what SSH does

A

securely access and manage devices over a network

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

explain what SMTP does

A

sends emails from a mail client to a mail server or between servers

17
Q

explain the client server model

A
  • client sends a request to the server, server responds to request by replying with a response message to the client
  • the client is dependnt on the server to provide and manage the information
18
Q

explain what a web socket is

A

a set of rules that creates a persistent connection between 2 computers on na network to enable real time collaboration

19
Q

what does CRUD stand for

A

create, retrieve, update and delete

20
Q

how does REST map HTTP methods to SQL operations

A
  • GET - SELECT
  • POST - INSERT
  • PUT - UPDATE
  • DELETE - DELETE
21
Q

what does rest stand for

A

representational state transfer

22
Q

what does REST rely on to work in web applications

A

HTTP request methods

23
Q

how does REST connect a database to the browser

A

through HTTP methods handled by a REST API on the server

24
Q

what role does javascript play in a REST web application

A

sends the HTTP requests to the servers API

25
what formats can be used to send data between the server and browser in a RESR application
JSON or XML
26
give 2 advantages of JSON over XML
* easier for a human to read * more compact * easier to create * easier for computers to parse so therefore quicker
27
if a thin client is set up, how will this affect the hardware on both the terminals and the server
* higher bandwidth connection required * slower processor, reduced RAM on computer * sever must have alot of processors and increased RAM