1. A bit string, 011111101111101111110, needs to be transmitted
at the data link layer. What is the string actually transmitted
after bit stuffing? Underline the additional bits you insert.
2. When should a selective repeat protocol be used versus a
go-back-n protocol.
3. Specify the fields that make up a Point-to-Point protocol [PPP]
frame.
4. Provides a simple parametric formula to quantify the size [in
bytes] of a PPP frame.
5. A 100-km-long cable runs at the T1 data rate. The propagation
speed in the cable is 2/3 the speed of light in vacuum. How many
bits fit in the cable?
Q1
Bit Stuffing is used to distinguish data bits with the flag bits
Flag is 01111110 i.e(one 0 followed by 6 1's and last is 0)
so In bit stuffing if any data has continous 6 1's then we get confuse that either they are flag bits or data bits so we introduce a bit 0 after every 5 consecutive one and then transmit our final data
So given data is
011111101111101111110
Transmitted Data is ----> 011111010111110011111010
so we need to stuff 3 bits that are bolded
Q2
We use selective repeat over go-back n because of the following reasons
1. In Go-Back N we retransmits all the frame after the frame which gets lost whereas in selective repeat we only retransmits the lost frames
2. Due th above problem more bandwidth is wasted in retransmitting frames again and again in Go-Back N ARQ where as less bandwidth is needed in Selective Repeat
Because of these two reasons selective repeat is better
Q3
Fields in PPP frame are
Flag (1 byte) It is used to marks the beginning and the end of the frame.The bit pattern of the flag is 01111110.
Address (1 byte) which is set to provide the Ip address of the destination , If all are 1's that means it is abroadcast address
Control (1 byte ) is set to a constant value of 11000000.to show that frame doesn't contain any sequence number
Protocol − (1 or 2 bytes)---It define the type of data that will be present in the payload field.
Payload − This carries the data from the network layer. The maximum length of the payload field is 1500 bytes
FCS----->It is a 2 byte or 4 bytes frame check sequence for error detection. The standard code used is CRC (cyclic redundancy code)
These are filelds present in a PPP frame
Q5.
Propagation Delay = Length / speed
Propogation speed = 2/3 * 3 *10^8 m/sec = 2*10^8 m/sec = 2*10^5 km/sec
Propogation delay is 100/ 2*10^5= 0.5 *10 ^ - 3
Now
In One data rate data transfered = RTT *Data Rate
RTT= Round trip time --->2* Propogation Delay
RTT= 2*0.5 * 10^-3 = 1/1000 sec
So Total data carry by the cable = RTT * T1
= 1/1000 * T1 * 8 bits
here T1 the data rate and 1Byte = 8 bits
Thank You
If u like the answer please upvote it and if u have any doubt kindly comment on the answer before rating it .
1. A bit string, 011111101111101111110, needs to be transmitted at the data link layer. What is...
(a) A data link with a 1 Gigabits/sec capacity is used to transmit packets made up of 1400 bytes of data and 100 bytes of protocol control information. Each packet is acknowledged by a short frame of size 150 bytes. The propagation speed in the transmission medium is 200,000 km/sec. Consider the buffering and processing time in the nodes to be negligible. A node A communicates with a node B, with a distance between nodes A and B of 16...
Please answer this 2 part question! Please show all work (15 points) The bit stream 1110 0111 1010 is transmitted using the standard CRC algorithm described in the book. The generator polynomial is r + x + x + 1. Show the actual bit string transmitted. Suppose that the THIRTEENTH (13th) bit from the left in the transmitted message is inverted during transmission. Show that this error is detected on the receiver's end. Show every step in your calculations for...
help with computer network questions 1. What is the difference between circuit switching and packet switching? 2. What are the different layers in today’s Internet? Why do we create layers? 3. Suppose there is a 10 Mbps microwave link between a geostationary satellite and its base station on Earth. Every minute the satellite takes a digital photo and sends it to the base station. Assume a propagation speed of 2.4 * 10^8 meters/sec. a. What is the propagation delay of...
show all work. 1) Assume that string of bits 1010... is the data that needs to be send from computer X to computer y in a LAN. The transmitted signal (signal leaving computer X) for this data is represented in the figure below. Assume a periodic signal. Identify the fundamental frequency of this signal, and the frequency values for the first seven harmonics that are actually present in the signal Amplitu Answers a) Fundamental Frequency b) Harmonics 2 3 4...
Please answer me as soon as possible Quiz Question 1 (1 point) Saved What metric is used to measure bandwidth? Question 1 options: a. msec b. bit/sec c. bytes d. number of packets/sec Question 2 (1 point) Saved Ethernet is one of access network technologies. Question 2 options: True False Question 3 (1 point) Saved Consider two hosts, A and B, connected by a single link of rate R bps. Suppose that the two hosts are separated by m meters,...