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: 88% (9 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...
-
Camp Manufacturing turns over its inventory eight times each year, has an average payment period of 35 days, and has an average collection period of 60 days. The firms annual sales are $3.5 million....
-
The following transactions occurred during April 2010, for Sandy Salon Products, Inc.: Requirement 1. Journalize the April transactions for Sandy Salon Products, Inc. Omit explanations. Apr 3...
-
A-Rod Fishing Supplies had sales of $2,500,000 and cost of goods sold of $1,710,000. Selling and administrative expenses represented 10 percent of sales. Depreciation was 6 percent of the total...
-
Define what "opportunity cost" is. Discuss what the opportunity cost of attending college is for you, noting that the concepts of opportunity (implicit, indirect) cost and explicit monetary cost are...
-
On July 1, 2019, North Inc., based in Alberta, ordered merchandise from an American supplier for US$600,000. Delivery was scheduled for the month of October, with payment to be made in full on...
-
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...
-
The following data were taken from a firms bank reconciliation statement: book balance, $7,910; deposit in transit, $150; NSF check from a customer, $200; outstanding checks, $5,000; bank service...
-
Assume that an economy starts at long-run equilibrium, where there is no output gap. The Government decides to provide a package of tax cuts to workers. Assume there is no change in labour supply....
-
After working for IBM, Ann quits her job in order to open her own consulting business. At the time she left IBM, Ann was earning $50,000 per year. In order to start her business, she withdrew $20,000...
-
The amount of environmental pollution by mercury is to be measured with neutron activation analysis. Neutron absorption in the mercury isotope -196, present with 0.15% abundance, activation...
-
1. Leann, with a $300,000 bequest from her father and a business degree from Athabasca University, is considering opening a gift shop in North Edmonton. If her shop is highly successful, she expects...
-
You will evaluate economic problems and opportunity costs to make informed economic decisions to effectively use scarce resources. You will also examine factors that affect production possibilities...
-
Figure 9.19 shows the cross section of a heat exchanger used to cool a bank of electronic devices. Ethylene glycol at 77°F flows in the shaded area. Compute the volume flow rate required to...
-
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?
-
How does SWIFT ensure the confidentiality, integrity, and authenticity of financial messages transmitted across its network through the use of cryptographic techniques, message authentication codes...
-
Net Zero Products, a wholesaler of sustainable raw materials, prepares the following aging of receivables analysis. Accounts receivable Percent uncollectible Total 0 $ 122,000 $ 82,000 1 to 30 $...
-
What challenges and opportunities arise from the increasing adoption of ISO 20022 messaging standards within the SWIFT network, including the harmonization of messaging formats, data richness, and...
Study smarter with the SolutionInn App