Write and test a program to simulate the flow diagram of CSMA/CD in Figure 12.13. Figure 12.13
Question:
Write and test a program to simulate the flow diagram of CSMA/CD in Figure 12.13.
Transcribed Image Text:
Figure 12.13 Flow diagram for the CSMA/CD Station has a frame to send K= 0 Legend T Frame average transmission time Wait Tg K: Number of attempts R: (random number): 0 to 2* – 1 TR: (Backoff time) =Rx T Apply one of the persistence methods seconds Create random number R Done or Transmit Ifalse] and receive collision? [true] [true] Send a [truel jamming signal K< 15 ? Collision K = K+ 1 [false] detected? [false] Abort Success
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 87% (8 reviews)
The first program shows how we can simulate the behavior of the CSMACD protocol that is us...View the full answer
Answered By
Muhammad Umair
I have done job as Embedded System Engineer for just four months but after it i have decided to open my own lab and to work on projects that i can launch my own product in market. I work on different softwares like Proteus, Mikroc to program Embedded Systems. My basic work is on Embedded Systems. I have skills in Autocad, Proteus, C++, C programming and i love to share these skills to other to enhance my knowledge too.
3.50+
1+ Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
Write and test a program to simulate the flow diagram of CSMA/CA in Figure 12.15. Figure 12.15 Flow diagram of CSMA/CA Station has a frame to send K = 0 Legend K: Number of attempts T: Backoff time...
-
Write and test a program that simulates the byte stuffing and byte unstuffing as shown in Figure 11.2. Figure 11.2 Byte stuffing and unstuffing Data from upper layer Flag ESC Sent frame Stuffed Flag...
-
Write and test a program that simulates the bit stuffing and bit unstuffing as shown in Figure 11.4. Figure 11.4 Bit stuffing and unstuffing Data from upper layer 0001111111001111101000 Stuffed Frame...
-
Discuss the importance of asset allocation when developing a portfolio. In general, what is the conventional guidance in terms of allocating assets across the following three asset classes (equities,...
-
Alan inherited $100,000 with the stipulation that he "invest it to financially benefit his family." Alan and Alice decided they would invest the inheritance to help them accomplish two financial...
-
A new study provides some evidence that playing action video games strengthens a persons ability to translate sensory information quickly into accurate decisions. Researchers had 23 male volunteers...
-
Investment Associates, Inc. (IA)2 started as a small firm in 2001 with four employees plus its owner, Jim Tower. The company specialized in providing financial investment and tax advice to its...
-
Uncle Butchs Hunting Supply Shop reports the following information related to inventory: Calculate Uncle Butchs Hunting Supply Shops ending inventory using the retail inventory method under the FIFO...
-
Zina Chaburi has a full time job as a nurse in her local hospital. In her spare time she has a goat farming operation. The goat farm began in 2 0 2 1 , which resulted in a loss of $ 1 0 , 0 0 0 . She...
-
In the quantity discount model in Example 12.2, the minimum total annual cost is obtained by ordering enough to achieve the smallest unit purchasing cost. Evidently, the larger unit purchasing costs...
-
Explain why fragmentation is recommended in a wireless LAN.
-
Repeat the previous problem (Figure 15.24), but assume that the distribution system is also wireless. AP1 is connected to AP2 through a wireless channel. Show the value of addresses in all...
-
MacGyver Corporation manufactures a product called Miracle Goo. The viscous substance is sold in six-gallon drums. Two top-secret raw materials are used in the production of Miracle Goo; these are...
-
Creatively, what is important to alternative media use?
-
Use anova (. . . ) to re-compute the mean squares in Table 5.2. Use Bartlett's statistic (Exercise 18.9) to test the hypothesis that the residual mean squares have the same expected value at all time...
-
What do brands want to accomplish with guerrilla marketing?
-
How does a social media site represent a brand?
-
How can the unique visual and verbal solutions often found in alternative media vehicles help extend the life of the advertised message?
-
Why is the point-and-click method of cell referencing easier than typing references directly into worksheet cells?
-
Suppose that A is an m n matrix with linearly independent columns and the linear system LS(A, b) is consistent. Show that this system has a unique solution.
-
Given the following periods, calculate the corresponding frequencies. a. 5 s b. 12 s c. 220 ns
-
What does the amplitude of a signal measure? What does the frequency of a signal measure? What does the phase of a signal measure?
-
What is the relationship between period and frequency?
-
Can Bitcoin Be a National Currency? El Salvador Is Trying to Find Out. - WSJ https://www.wsj.com/articles/bitcoin-national-currency-el-salvador-11645026831 1. El Salvador adopted Bitcoin as a...
-
Income Statement and Balance Sheet On March 1, Amy Dart began Dart Delivery Service, which provides delivery of bulk mailings to the post office neighborhood delivery of weekly newspapers, data...
-
How does the foundational article written by Brandeis and Warren in 1890 (The Right to Privacy) influence health information privacy policy and law in the United State today? R Brandeis and Warren,...
Study smarter with the SolutionInn App