Preview

Student

Satisfactory Essays
Open Document
Open Document
595 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Student
ESE/CSE 346 Computer Networks, Spring 2013, Prof. T.G.Robertazzi
Project TA: Kai Wang (kaiwang.sunysb@gmail.com) Project #1: Switching Element Problem To be submitted: Wednesday, March 5, 2013 Project Description In this project you will write a program to produce a discrete event simulation of a switching element with 10 inputs and 3 outputs as shown in Fig. 1. Time is slotted on all inputs and outputs. Each input packet follows a Bernoulli process. In a given slot the independent probability that a packet arrives in a slot is p and the probability that a slot is empty is (1– p). One packet fills one slot. For a switching element if three or less packets arrives to some inputs, they are forwarded to the switching element outputs without a loss. If more than three packets arrive to the inputs of the switching element, only three packets are randomly chosen to be forwarded to the switching element outputs and the remaining ones are discarded. p p p p p p p p p p In your discrete event simulation the program will mimic the operation of the switch and collect statistics. That is, in each time slot the program randomly generates packets for all

Switching Element

inputs of switching element and count how many packets can be passed to the output of the switching element (causing throughput) and, alternatively count how many packets are dropped (when the switching element has more than three input packets at a given time slot) .

Fig. 1. Switching Element

Your task is to collect throughput statistics for different values of p (p = 0.01,

0.02 up to 1.0 in steps of 0.01), by running the procedure described above for each value of p and for many slots (at least a thousand slots per value of p). The more simulated slots, the more accurate the results will be. Based on this statistics, plot two graphs: 1) the

average number of busy outputs versus p, and 2) the average number of dropped packets versus p. Note that you ARE NOT allowed to implement the model

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Nt1310 Unit 1 Case Study

    • 410 Words
    • 2 Pages

    43% of adults in the US receive fewer than 5 phone calls a day. In a random sample of 7 adults, what is the probability that the number receiving fewer than five calls a day is (a) exactly 3 (b) at least 3 (c) more than 3?…

    • 410 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Student

    • 1579 Words
    • 7 Pages

    BioMed manufactures prescription topical cream called DermaPlusTM which is used for treating certain skin conditions. The main buyers of DermaPlusTM are hospitals and pharmacies. The topical cream category is extremely competitive and has led to BioMed’s market share to be small. Due to the size of BioMed’s market share they are unable to influence the market price.…

    • 1579 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    Ba/301 Week 3 Quiz

    • 1726 Words
    • 7 Pages

    2. You are auditing account transactions. You develop a p-chart for the percent of accounts transactions that have at least 1 error. You examine 200 transactions every day for 20 days. In total, there are 180 account transactions that have at least 1 error. The…

    • 1726 Words
    • 7 Pages
    Good Essays
  • Good Essays

    a. What is the probability that one or more customers will be turned away on a given day?…

    • 5518 Words
    • 23 Pages
    Good Essays
  • Good Essays

    Student

    • 475 Words
    • 2 Pages

    Puck, instead of squeezing the flower juice on Demetrius and making him fall in love with Helena, he squeezed the flower juice on Lysander who was supposed to be in love with Hermia. When Lysander woke up, he saw Helena so that made him fall in love with Helena. This affects him because he said all of those things to her and was supposed…

    • 475 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Student

    • 838 Words
    • 4 Pages

    Before completing this assignment, please review Chapter 1, pp. 4-19. In Unit 1, we looked at change from several vantage points, including need, difficulty, and strategies for success. To complete this assignment, think carefully about change you have experienced in your personal life, and change in the world around you during your life.…

    • 838 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Student

    • 633 Words
    • 3 Pages

    Canada made many significant contributions to the winning World War II and one of the major contributions Canada made was the Royal Canadian Air Force. A significant contribution the air force made was they provided a place for allied pilots to train and supplied a large amount of money. The Air Force helped protect the convoys going across the Atlantic and helped develop new anti- naval weapons. Another contribution was defending Britain from German bombings and bombing Germany. For all these reasons, the RCAF made a very significant contribution to the victory of World War II.…

    • 633 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Math 533 Aj Davis Part B

    • 872 Words
    • 4 Pages

    In order to do the calculations by hand, we have p hat = (0.4*50)/50=0.4 and q=1-0.4=0.6 and n=50. P>0.4 mean that 21/50=0.42 then p > 0.42…

    • 872 Words
    • 4 Pages
    Satisfactory Essays
  • Powerful Essays

    Little Field

    • 1525 Words
    • 7 Pages

    The average arrival rate of the jobs per day was 3.06. This was taken as the initial throughput for the system. Applying Little’s law,…

    • 1525 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    Student

    • 1445 Words
    • 6 Pages

    The owners of Pro Performance, Inc. make a profit for the owners for the first time in their history and decide to pay themselves a dividend.…

    • 1445 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Ap Statistics Test 3

    • 727 Words
    • 3 Pages

    meet specifications. Every hour a sample of 18 chips is selected at random for testing. Assume…

    • 727 Words
    • 3 Pages
    Good Essays
  • Good Essays

    student

    • 492 Words
    • 2 Pages

    “The lottery” is a story that begins describing a village. The first descriptions that took my attention were “flowers were blossoming profusely” and “the grass was richly green”. After describing the village it passes to what people are doing. It says that they are getting together for an event, which is the lottery. All the heads of the family, who were men, had to drawn for their family. This had been going since before the oldest man in the village was born. We don’t really know the reason of this lottery until we get to the part where Old Man Warner starts mocking the young people around the other villages, who had stopped doing the lottery. He says “Used to be saying about ‘Lottery in June, corn be heavy soon.’ This shows that that’s their tradition of getting heavier fields with corn, and their tradition was to stone one person for everyone else to be happy.…

    • 492 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Student

    • 793 Words
    • 4 Pages

    Bang! The gun rang throughout the glistening Olympic stadium in Sydney. Marion Jones claimed her first gold in the 100m dash. After the exciting two week competition ended, three gold medals and two bronze medals glimmered around the neck of the beautiful and gifted athlete, Marion Jones. Everything seemed to click that year for the three-time Olympic champion, but her tremendous performances led critics to question whether she had used performance-enhancing drugs. After denying any allegation of taking illegal substances, in 2007, Marion Jones announced the she “unknowingly” took performance-enhancing drugs in 2000 and 2001. Along with the five medals, her pride and respect were infamously ripped from her. After gaining legendary status at the Sydney Olympics in 2000, similar to Hester Prynne in the Scarlet Letter, Marion Jones was shunned from society after admitting that she unknowingly took performance-enhancing drugs.…

    • 793 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    The average time to reach the port was averaged for each option 1 from the data given…

    • 1223 Words
    • 9 Pages
    Powerful Essays
  • Good Essays

    Student

    • 2701 Words
    • 11 Pages

    Unit 2 Information Progress Test Answer Key Part 1 Reading Task 1 8 points 1B 2E 3D 4C 5A 6D 7C 8A Task 2 7 points 1 upgrade 2 crashing 3 goes down 4 virus 5 deleted 6 palmtops 7 set up Part 2 Writing Task 1 Maximum 15 points See Guide to using the tests on how to mark. Task 2 5 points Possible answers: 1 Staff are reminded to sign in on arrival at reception. 2 If sales do not improve forthwith, our profits will be severely affected. 3 Some of our assets could be sold off with a view to alleviating our cash-flow problems. 4 It is imperative all machinery is switched off after use. 5 Your continued hard work is appreciated.…

    • 2701 Words
    • 11 Pages
    Good Essays