Networkimg Flashcards

1
Q

CIrcuit switch network

A

A route from source to destination is reserved.
Data follows the same route to its destination
The returning data follows the same route back to the source

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

Packet-switched network

A

The data to be sent is broken up into packets

Packet headers determine the destination and method of transmission

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

Properties of CIrcuit switch and Packet-switched network

3

A

dedicated/established route
Each packet take same/different route
Packets arrive in same/different order

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

Advantage of circuit switch

3

A

Dedicated path for transmission, with guaranteed bandwidth

Information is sent in a continuous stream; there is no need for intermediate nodes to store and retransmit information (reduce data corruption)

low overhead required for transmission

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

Advantage of packet switch

3

A

Only the sender needs to be ready before transmission begins

If any segment of the network is disrupted, data packets can be routed around the disruption through other segments of the network

Congested segments can be bypassed if other segments are available, enabling greater utilisation of the network

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

Client

A

Computers/ program used by the end-user

which sends requests to the server and receives a response

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

Server

A

Servers refer to dedicated computers or software running on a computer
which receives requests from a server and sends a response

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

Peer to peer

A

In the peer-to-peer model of communication:
All computers may initiate communication by sending a request, or responding to a request.
There is no central server which contains all information

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

Server client vs peer to peer

A

dedicated servers vs no dedicated server
expensive to build and maintain centralised server

Data is centralised and easier to control
Easier to ensure security of data since only server needs to be secure

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

Port numbers

A
The OS assigns each application a random (internal) port number, so that data packets can be passed back to the correct application
there are 2^16 port numbers
0 to 2^10-1
2^10 to 2^15 + 2^14 -1
2^15 + 2^14 to 2^16
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

IP addresses

A

4 numbers of 2^8 -1

127...* local host

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

MAC addresses

A

Each NIC is uniquely identified by a media access control (MAC) address, so that data packets from them can be differentiated

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

Application layer purpose

A

interacts with end user, create/format the data package

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

Transport layer purpose + contain

A

establish connection between applications of the sender and the receiver

determine how data is sent and divide data into packets
ensure data is snet to correct programme in correct sequence

TCP/UDP header containing source and destination port number

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

Internet layer purpose + contain

A

find the best route to deliver the data package

identify other computers and itself allowing data routing to be used

IP header containing
source and destination IP address

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

Link layer purpose + contain

A

Transform data package to electrical signals or radio waves and transmit to the physical devices

Frame header containing sauce and destination MAC addresses

17
Q

TCP vs UDP

A

Reliable
Ordered
Streaming

TCP is slower UDP is lossy

18
Q

Web app vs native

5

A
Update
Location
Platform
Security
Internet
19
Q

Well-known ports

A

0 to 2^10-1

Used by system processes that provide widely used types of network services

20
Q

Registered ports

A

2^10 to 2^15 + 2^14 -1

Assigned by the Internet Assigned Numbers Authority (IANA) by request

21
Q

Dynamic/ephemeral ports

A

2^15 + 2^14 to 2^16
Cannot be registered with IANA and may be used for any purpose
(usually temporary)