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...
-
When calculating the present value of a bonds future cash flows, do investors use the coupon rate or market interest rate as the discount rate?
-
Tina Turner believes there are no significant differences in the flow of costs between job order cost accounting and process cost accounting. Is Turner correct? Explain.
-
Performance Auto Company operates a New Car Division (that sells high performance sports cars) and a Performance Parts Division (that sells performance improve ment parts for family cars). Some...
-
The December 31, 2020, balance sheet of Crane Company includes the following items: 8% bonds payable due December 31, 2029 Unamortized premium on bonds payable $5700000 153900 The bonds were issued...
-
assembly language ; 6. Temperature conversion between Celsius and Fahrenheit can be computed using ; ; ; the relationship C = (5 / 9) * (F - 32) where C and F are in degrees (signed integer). Celsius...
-
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...
-
Use the flowchart in Figure 3.11 to name each compound. (a) SO 2 (b) HClO 4 (aq) (c) CoF 2 Inorganic Nomenclature Flowchart Metal forms one type of ion only. name of cation (metal) IONIC Metal and...
-
For which of the following data sets would you expect a histogram to be skewed to the right? For which would it be skewed to the left? a. Annual incomes for residents of a town b. Amounts of time...
-
Explain, in your own words, the concept of humanitarian logistics.
-
Explain the concepts of community lifelines and provide three examples.
-
How easy or difficult is it to model the behavior of someone from another country? Select a country in which you have some interest and about which you can readily find information (e.g., Japan as...
-
What is a recovery strategy? Provide three examples.
-
Prove the property of cross products (Theorem 11). Property 3: a x (b + c) = a x b + a x c
-
For liquid water the isothermal compressibility is given by; where r and b are functions of temperature only. If 1 kg of water is compressed isothermally and reversibly from I to 500 bar at 60(C. how...
-
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?
-
Required information [The following information applies to the questions displayed below] Project Y requires a $336,000 investment for new machinery with a six-year life and no salvage value. The...
-
Exercise 17-5 (Algo) Product mix and plantwide rate versus activity-based costing LO P1, P3 Wess Company has limited capacity and can produce either its standard product or its deluxe product....
-
Check m Comparative financial statements for Weller Corporation, a merchandising company, for the year ending December 31 appear below. The company did not issue any new common stock during the year....
Study smarter with the SolutionInn App