Possible Quiz Questions: For January 21st Quiz #1

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 4

Possible Quiz Questions

For January 21st Quiz #1 (SOLUTIONS)

The following is a list of possible questions for the quiz on January 21st. Some
of the questions will not be asked in the quiz. All the questions that will appear in
the quiz will appear exactly as shown below (however, parameters may be
changed). The quiz is closed textbook, note and closed neighbors. Note that the
questions, which did not appear in this quiz, still may appear in the exams.

#1: What is the most fundamental goal in data communication?

To exchange information between two agents

Grading Criteria: something similar is acceptable – does not have to be exactly the same.

#2: If only two agents are involved in communication, what is the name of this communication?

“Peer-to-peer communication” (this should be exactly the same)

#3: Why we want “networks” instead of “peer-to-peer” communication? Please explain with an
example.

“Network” is better than peer-to-peer communication mainly due to scalability. Example:

if we have n host, then n( n  1) links are required for peer-to-peer communication,


2
while only (n-1) links are required for network communication.

Grading criteria: something similar acceptable, but some kind of quantification (formula)
should be presented.

#4: What is a protocol? A protocol is:

(1) a set of rules


(2) that governs communication between two hosts
(3) Implemented as software

#5: What is an interface? Interface is:

(1) A set of rules


(2) That governs communications between two protocol layers that are directly facing
each other

#6: What is “layered structure” for a protocol?

Group functions with similar purpose, and put them on top of each from bottom to top.

#7: Why we want “layered structure” for a protocol? Please name the three benefits (please
mention those we discussed in the class – you do NOT have describe them).

(1) abstraction
(2) flexibility
(3) easy maintenance

#8: “Encapsulation” is essential to layering. Please describe why “encapsulation” is essential to


layering.

A header and payload data in the upper layer will be handled simply as payload and a
header will be added to the payload data. Without this scheme, layering is impossible.

Grading Criteria: Something similar will be fine. However, the underlined part (or
something equivalent) should be mentioned.

#9: What are the four options for designing a protocol (please name the four options discussed
in the class)?

(1) Direct and indirect


(2) monolithic and layered
(3) symmetric and asymmetric
(4) standard and non-standard
#10: What are the six functions performed by a protocol (please name the nine functions
discussed in the class)?

(1) Encapsulation
(2) Segmentation and re-assembly
(3) Connection control
(4) Ordered delivery
(5) Flow control
(6) Error control
(7) Addressing
(8) Multiplexing
(9) Priority control

#11: Name each layer of OSI seven-layer model (from low level to high level).

(1) Physical layer


(2) Data-link layer
(3) Network layer
(4) Transport layer
(5) Session layer
(6) Presentation layer
(7) Application layer

#12: What is the purpose of physical layer (please describe it using at most two sentences)?

#13: What is the purpose of data-link layer (please describe it using at most two sentences)?

#14: What is the purpose of network layer (please describe it using at most two sentences)?

#15: What is the purpose of transport layer (please describe it using at most two sentences)?

#16: What is the purpose of session layer (please describe it using at most two sentences)?

#17: What is the purpose of presentation layer (please describe it using at most two sentences)?

#18: What is the purpose of application layer (please describe it using at most two sentences)?
___________________________________________________________________________
CS 447-Data Communications, created for Quiz #1, January 21, 2003

You might also like