100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

COE 768 Midterm Solution-v1

Rating
-
Sold
-
Pages
7
Grade
A+
Uploaded on
30-09-2025
Written in
2025/2026

Q1. For each of the following questions, circle T (true) or F (false). (10 marks) T/F Stop and wait protocol can be implemented in the application layer. T/F HDLC uses bit stuffing to prevent occurrence of flag inside the frame. T/F The longer the frames or the shorter the propagation time, the higher link efficiency can be achieved in CSMA/CD. T/F In CSMA/CD, the amount of time that it takes to detect a collision is never greater than the propagation delay. T/F When using CSMA/CD technique, if the medium is busy, the station continues to listen until the channel is sensed idle and then transmits immediately. Q2. Multiple choices (10 marks) 1. If a network uses CSMA/CD, we require transmission delay Tf >2Tc (propagation delay) because: (a.) Tc is the round-trip time from a source to the destination and back again. Therefore, it must be at least twice the one way propagation delay. (b.) Otherwise, the signal would degrade too much along the wire making it difficult to detect collisions. (c.) The sender needs to determine that a frame encountered a collision before it finishes transmitting the frame. (d.) In any network (regardless of whether we use CSMA/CD or not) the transmission time of a frame is a function of both the bit rate, and speed of propagation along the wire. 2. After the kth consecut

Show more Read less
Institution
Revision
Module
Revision









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Revision
Module
Revision

Document information

Uploaded on
September 30, 2025
Number of pages
7
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Q1. For each of the following questions, circle T (true) or F (false). (10 marks)

T/F Stop and wait protocol can be implemented in the application layer.
T/F HDLC uses bit stuffing to prevent occurrence of flag 01111110 inside the frame.
T/F The longer the frames or the shorter the propagation time, the higher link efficiency can
be achieved in CSMA/CD.
T/F In CSMA/CD, the amount of time that it takes to detect a collision is never greater than
the propagation delay.
T/F When using CSMA/CD technique, if the medium is busy, the station continues to listen
until the channel is sensed idle and then transmits immediately.

Q2. Multiple choices (10 marks)
1. If a network uses CSMA/CD, we require transmission delay Tf >2Tc (propagation delay)
because:
(a.) Tc is the round-trip time from a source to the destination and back again. Therefore, it must
be at least twice the one way propagation delay.
(b.) Otherwise, the signal would degrade too much along the wire making it difficult to detect
collisions.
(c.) The sender needs to determine that a frame encountered a collision before it finishes
transmitting the frame.
(d.) In any network (regardless of whether we use CSMA/CD or not) the transmission time of

a frame is a function of both the bit rate, and speed of propagation along the wire.
2. After the kth consecutive collision, each colliding station waits for a random time chosen
from the interval-
(a) (0 to 2k) * 2Tc
(b) (0 to 2k-1) * 2Tc
(c) (0 to 2k-1) * Maximum Propagation delay
(d) (0 to 2k-1) * Maximum Propagation delay

3. The Cyclic Redundancy Check (CRC) used on frames of Ethernet provides:
(a) very powerful error detection
(b) very powerful error correction
(c) very powerful error detection and error correction
(d) none of them
4. Routers and switches are different because:
(a) routers operate at the network layer, while switches operate at the data link layer
(b) switches operate at the network layer, while routers operate at the data link layer
(c) routers are for wired networks, while switches are for wireless networks
(d) switches are for wired networks, while routers are for wireless networks




1

This study source was downloaded by 100000899606396 from CourseHero.com on 09-30-2025 02:14:25 GMT -05:00


https://www.coursehero.com/file/176357135/Midterm-2022-Solution-v1pdf/

, Q3 (5 marks)
If the TCP server supports n simultaneous connections, each from a different client host, how
many sockets would the TCP server need?

Solution: n+1

Q4 (5 marks)
The following bit stream is to be inserted into an HDLC frame that uses bit stuffing. Show the
resulting frame including the beginning and ending flag (01111110)
11111101 01111101 11111011 11000001 01111110

Solution:




Q5. (10 marks)
A bit stream 10011101 is transmitted using the standard CRC method. The generator
polynomial is x3 + 1.
Show the actual bit string transmitted.

Suppose that the third bit from the left is inverted during transmission. Show that this error is
detected at the receiver’s end.




2

This study source was downloaded by 100000899606396 from CourseHero.com on 09-30-2025 02:14:25 GMT -05:00


https://www.coursehero.com/file/176357135/Midterm-2022-Solution-v1pdf/

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Abbyy01 Exam Questions
Follow You need to be logged in order to follow users or courses
Sold
91
Member since
3 year
Number of followers
33
Documents
1121
Last sold
3 weeks ago

3.5

13 reviews

5
5
4
2
3
3
2
1
1
2

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions