3rd long exam Flashcards

(57 cards)

1
Q

is responsible for process-to-
process delivery—the delivery of a packet, part of a
message, from one process to another.

A

transport layer

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

3 types of data deliveries

A

node to node - data link
host to host - network
process to process - transport

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

T/F
a process on the local host (client) needs
services from a process usually on the
remote host (server)

A

True

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

T/F
Operating systems today support both multiuser and
multiprogramming environments.

A

True

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

___can run several server programs at the same time

A

remote computer

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

___can run one or more client programs at the same time

A

local computers

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

Whenever we need to deliver something to one specific

destination among many, we need an _____

A

address

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

At the Data Link layer, we need a ________ to choose one node among several nodes if the connection is not point to point

A

MAC address

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

A ____ in the data
link layer needs a destination MAC address for delivery and a
_____ for the next node’s reply.

A

frame

source address

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

At the Network layer, we need an _____ to choose one host among millions

A

IP address

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

A _____ in the network layer needs a destination IP address for delivery and a ______ for the destination’s reply

A

datagram

source IP address

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

____ address of processes running in the destination host

A

port number

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

T/F
in the Internet model, port numbers are 16-bit
integers that ranges from 0 to 65,532

A

True

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

____ chosen randomly by the transport layer software

running in the client host

A

ephemeral port number

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

T/F
ephemeral port number is n short-lived; created when there is a request for
available port

A

True

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

____ server process can not choose random numbers;

universal port numbers for servers

A

well-know port number

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

T/F
IP addresses and port numbers play different
roles in selecting the final destination of data.

A

True

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

The _____ defines the host among the different hosts in the

world.

A

destination IP address

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

After the host has been selected, the _____ defines one of the
processes on this particular host

A

port number

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

what does IANA stand for?

A

Internet Assigned Numbers Authority

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

IANA RANGES:

ranges from 0-1023, controlled and assigned by IANA

A

well-known ports

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

IANA RANGES:

1024 - 49,151, not assigned and controlled by IANA

A

registered ports

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

IANA RANGES:

49,152 - 65,536, neither controlled nor registered.

ephemeral ports

A

dynamic ports

24
Q

____ needs two identifiers, IP address and the port number, at each end to make a connection.

A

process to process delivery

25
The combination of an IP address and a port number is called a ______
socket address
26
____ selects one analog or digital input signal among several and sends the selection to the single-line output
multiplexer
27
_____ single input; sends the signal to one of the several output lines
demultiplexer
28
packets are sent from one party to another with no need for | connection establishment or connection release
Connectionless service
29
a connection is first established between the sender and the | receiver
connection-oriented service
30
difference between connectionless service and connection-oriented service
connectionless - packets are sen from one party to another with no need for connection establishment. Packets are not numbered; may be delayed or lost or may arrive out of sequence. No acknowledgement. connection-oriented - connection is first established between the sender and the receiver. Data are transferred. at the end, connection is released.
31
Reliable transport layer protocol
implements flow and error control at the transport layer
32
____ and ____ are connection-oriented and reliable
transmission control protocol (TCP) and stream control transmission protocol (SCTP)
33
___ application progrm uses its own flow and error control mechanism or it needs fast service
Unreliable Transport Layer protocol
34
______ is connectionless and unreliable
User datagram Protocol (UDP)
35
provide process-to-process communication instead of host-to-host communication.
User datagram Protocol (UDP)
36
T/F | UDP is a very simple protocol using a minimum of overhead.
TRUE
37
T/F If a process wants to send a small message and does not care much about reliability, it can use UDP.
TRUE
38
T/F | Sending a small message by using UDP takes much less interaction between the sender and receiver than using TCP or SCTP
TRUE
39
In UNIX, the well-known ports are stored in a file called _____
/etc/services.
40
Simple Network Management Protocol (SNMP) uses ____ port numbers
2 (161 and 162)
41
UDP jacket is called ____
User Datagram
42
T/F | UDP length = IP length – IP header’s length
TRUE
43
T/F UDP datagram is encapsulated in IP datagram. * At the UDP layer, the IP header is dropped
True
44
each user datagram can travel on a ____
different path
45
Only those processes sending ___ should use UDP
short messages
46
There is no error control mechanism in UDP except for the ____. ** means sender does not know if a messafe has been lost or duplicated
checksum
47
what is checksum?
sequence of numbers | and letters used to check data for errors
48
what will happen When the receiver detects an error through the checksum
user datagram is silently discarded
49
________ encapsulates and decapsulates messages in an IP datagram
UDP protocol
50
is a connection-oriented protocol; it creates a | virtual connection between two TCPs to send data
TCP (Transmission control protocol)
51
TCP uses ______ mechanisms | at the transport level.
flow and error control mechanisms
52
TCP SERVICES
process to process communication sream delivery service
53
provides process-to-process communication using port numbers.
process to process communication
54
___ allows the sending process to deliver data as a stream of bytes and allows the receiving process to obtain data as a stream of bytes.
stream delivery service
55
why do TCP needs buffers for storage?
Because the sending and the receiving processes may not write or read data at the same speed
56
T/F The IP layer, as a service provider for TCP, needs to send data in packets, not as a stream of bytes.
True
57
At the transport layer, TCP groups a number of bytes together into a packet called a _____
segment