13c Protocols Flashcards

1
Q

What is the tcp/ip stack?

A

It defines the rules for transmitting data packets across a network. It is made of four layers that group a variety of protocols to transmit data.

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

What are the four layers of tcp/ip (ordered)?

A

Application
Transport
Network
Link

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

What is the function of the application layer of tcp/ip?

A

Selects the appropriate protocol for communication.
Interacts with the user via application software e.g. web browser.

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

What is the function of the transport layer of tcp/ip?

A

Establishes end to end communication.
Message split into packets and numbered.
Destination port is chosen.
Deals with error control (acknowledgement)

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

What is the function of the network layer of tcp/ip?

A

Supplies destination and source IP address.
Involved with packet routing.
Figures out the best route.

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

What is the function of the link layer in tcp/ip?

A

Adds MAC addresses.
Moves packets between two internet hosts.
Adds frame and header packets.
Deals with the physical connection.
Includes network cards/drivers.

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

What does https do?

A

Hyper Text Transfer Protocol Secure allows web pages to be exchanged between a client and a server over the internet.

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

What does FTP do?

A

File Transfer Protocol is responsible for allowing clients to upload and download files from servers.

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

What does POP3 do?

A

Post Office Protocol allows emails to be downloaded onto a single device

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

What does IMAP do?

A

Internet Message Access Protocol allows users to access emails by storing them on a server meaning multiple devices can access the same email.

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

What does SMTP do?

A

Simple Mail Transfer Protocol is responsible for the sending of emails by relaying them through email servers.

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

What does SSH do?

A

Secure Shell allows you to securely log into computers remotely.

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

What does TCP do?

A

Transmission Control Protocol is responsible for establishing an end to end connection and keeping track of packets.

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

What does UDP do?

A

User Datagram Protocol allows packets to be quickly sent over the internet.
Less reliable than TCP
Good for streaming as you don’t have to wait for all data packets to arrive before using data.

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

What is IP?

A

Internet Protocol

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

What is MAC

A

Media access control

17
Q

What 6 protocols are included in the application layer?

A

HTTP
FTP
POP3
IMAP
SMTP
SSH

18
Q

What protocols are included in the transport layer?

19
Q

What protocol is included in the network layer?

20
Q

What protocol is included in the link layer?

21
Q

What is the client-server model?

A

Clients send requests for data to the server.
The server sends back the data.
The server is referred to as back end and the client front end.

22
Q

What are the crud statements for http?

A

Post
Get
Put
Delete

23
Q

What are the crud statements for SQL?

A

Insert
Select
Update
Delete

24
Q

What does rest / representational state transfer?

A

It’s an API that allows JavaScript to talk to a database server through HTTP. It translates the HTTP request into a language that can interact with the server.

25
Q

What do JSON and XML do?

A

Both are self describing languages that work with hierarchal values. They are used by lots of different languages to retrieve data from web servers for web applications.

26
Q

What are the differences between JSON and XML?

A

JSON is easier to read, more compact and can use arrays. It also doesn’t use end tags.
XML is more flexible and has more features.

27
Q

How are XML and JSON parsed?

A

XML - parsed with XML parser
JSON - parsed by the standard JavaScript function

28
Q

What is data parsing?

A

Changing data from one language to another.

29
Q

What is a thin client?

A

Software/device that relies entirely upon a server (cloud) for processing.