Write a program to simulate for a given value of ?

Assignment Help Basic Computer Science
Reference no: EM131046350

Consider the following Ethernet model. Transmission attempts are at random times with an average spacing of λ slot times; specifically, the interval between consecutive attempts is an exponential random variable x = -λ log u, where u is chosen randomly in the interval 0 ≤ u ≤ 1. An attempt at time t results in a collision if there is another attempt in the range from t - 1 to t + 1, where t is measured in units of the 51.2-μs slot time; otherwise the attempt succeeds.

(a) Write a program to simulate, for a given value of λ, the average number of slot times needed before a successful transmission, called the contention interval.
Find the minimum value of the contention interval. Note that you will have to find one attempt past the one that succeeds, in order to determine if there was a collision. Ignore retransmissions, which probably do not fit the random model above.

(b) The Ethernet alternates between contention intervals and successful transmissions. Suppose the average successful transmission lasts 8 slot times (512 bytes). Using your minimum length of the contention interval from above, what fraction of the theoretical 10-Mbps bandwidth is available for transmissions?

Reference no: EM131046350

Questions Cloud

Express the available bandwidth as a function of n : Assuming the average packet size is 5 slot times, express the available bandwidth as a function of N.
How to commutate with teacher especially they were from usa : I learned how to commutate with them especially they were from USA. I was too scared because it's hard to speak or play with kids from another country.
Discuss how learning to perform the music of musical styles : For this essay, I'd like you to consider the various ways in which musicians (including yourself) have crossed the musical boundaries between cultures to learn how to perform or compose music in ways different from the cultures in which they grew ..
Issues related to the cost of capital : With respect to issues related to the cost of capital:Select one:a. an increase in the debt ratio will result in greater risk for debtholders but not equityholders.
Write a program to simulate for a given value of ? : Find the minimum value of the contention interval. Note that you will have to find one attempt past the one that succeeds, in order to determine if there was a collision. Ignore retransmissions, which probably do not fit the random model above.
Discuss how these identified anomalies may impact negatively : Using a wide range of quality literature, and referring to the video critically discuss how these identified anomalies may impact negatively on both the patient's care and the nurse's professional image
Write essay about the comparing of rene descartes vs spinoza : Write essay about the comparing of rene Descartes vs Spinoza on the mind and body argument .axplan each one brifly.
Examines both people and organizational considerations : Describe what needs to be done to foster a successful implementation of strategies - Examines both people and organizational considerations
Types of information the executives : Describe the types of information employees at an Apple store require and compare it to the types of information the executives at Apple's corporate headquarters require. Describe the links between these two types of information.

Reviews

Write a Review

 

Basic Computer Science Questions & Answers

  Develop a fact-finding plan including interviews

Design a questionnaire that will go to a sample of Kahuna Cleaning Supply customers to find out if they were satisfied with the sales and ordering process.

  Which approach do you favor and why

There are two primary approaches to measuring financial returns on IT investments: 1) Total Cost of Ownership (TCO) and 2) Return on Investment (ROI). Describe each of these approaches and analyze the advantages and disadvantages of each with a fo..

  Explain the importance of high-quality information

Explain the importance of high-quality information for political microtargeting?

  Define desk--physical considerations

The help desk is the point at which every frustration, every concern, and every mistake known to humanity is brought for resolution. Typically staffed by lower-level and often new personnel

  Justify five reasons not consider smartphone to computer

justify at least five reasons why you would or would not consider a smartphone and other cell phones to be computer systems

  Mesa community college can increase it''s green footprint

Please title the page appropriately. Please use Microsoft Word. Please double-space the Word Document. Be creative! Are we using Word to create all writing assignments?

  Security being a top concern for any organisation

Task Task: Security being a top concern for any organisation, choosing the correct security solutions is of utmost importance. Consider an area of information technology (IT) security, such as, network security, e-mail security, database security ..

  What can you do to overcome these challenges

In your opinion, what are the three biggest challenges in planning and designing a solution for a programming problem? What can you do to overcome these challenges? How would you apply these techniques to the programs in this class?

  How many clock cycles are needed

Indicate data dependency in the code below. Assuming there is no forwarding in the pipeline, howmany clock cycles are needed to finish the program? If full forwarding is used, how many clock cycles are needed?

  Explaining distributed music in physical cds and mp3 files

For some time, popular music has been distributed on physical CDs. It can now be distributed in MP3 files. Explain the nature of the similarity or difference.

  Write a program that displays the number of students

Write a program that displays the number of students that can still enroll in a given class. Design your solution using a multidimensional array. The first column can hold the computer course number.

  What ip range would an isp provide to a customer

Using the IP ranges below: a) What IP range would an ISP provide to a customer, if the customer wanted a range of Public IP's for use on theInternet? Explain your choice and why you feel the other choices are not adequate ?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd