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

  Design a program that models the worm behavior

Design a program that models the worm behavior

  Initiate a compaction of free memory

In this exercise, we simulate a memory allocation (we just want to see the effect of fragmentation and of compacting memory fragments into larger ones). For this, we manage a list of memory segments in our program:typedef struct segment { int star..

  Develop a boolean expression for the truth table

Develop a Boolean expression for the truth table shown below. Express the answer in both the complete and simplified SOP formats. Use an apostrophe to indicate the use A' for A

  Moral dilemma and the decision made

Write a 2-3 page paper that describes a personal experience involving an ethical or moral dilemma and the decision made. What were the implications.

  Explain least two social media and networking technologies

Analyze how the university might integrate at least two social media and networking technologies to accomplish their goals. Your analysis must cover the advantages and disadvantages of social networking. The president of the university also needs ..

  Support skills-file management

A+ Support Skills: File Management Take a screenshot of the Jellyfish picture in the search results box. Take a screenshot of the C:\ drive when logged in as Bobby.

  Write a function named daycount() that accepts a month

Write a function named daycount() that accepts a month, day, and year as its input arguments.

  The result is in the domain n

Find the truth set for the following predicates: Hint: answer should be a { set } A) 8/x where x is an integer,the result is in the domain N

  Create three integer variables and initialize them

Create three integer variables and initialize them to whichever value you'd like. ? Create three functions: ? A function that accepts two integers as parameters and subtracts the second from the first.

  Security management in global environment

This is the third section of your Research Project paper. The major research question or hypothesis is derived from the problem statement. The research question or hypothesis is almost always broken down into applicable and manageable sub-questions o..

  Determine if a number is factor or not

Implement a program to count the frequencyofwords in a text file. Thetext file is partitioned intoNsegments. Each segment is processed by a separate thread that outputs the intermediate frequencycount for its segment. The main process waits until ..

  Unit integration and system testing

Create a testing plan that includes unit integration and system testing. Ensure the criteria is carefully documented. Explain the installation process and include guidelines for all concerned.

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