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
  • 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

    Rsm333 Week 4

    • 2074 Words
    • 9 Pages

    Plugging in p = :119, and n = 50, we get a con…dence interval of 5:95 4:49, or…

    • 2074 Words
    • 9 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

    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

    • 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

    student

    • 694 Words
    • 3 Pages

    Merry Shelly’s Frankenstein shows how Victor ignores many things like his social life, family and most of all his own creation. Victor Frankenstein ignores the creature completely; he doesn’t give the creature any of his attention. The creature tries his best to get Victor’s attention by talking to him first, but when that doesn’t work on Victor; the creature changes his game to violence. Merry Shelly shows that you cannot ignore problems, you can either confront them positively or they will require your attention through negative responses.…

    • 694 Words
    • 3 Pages
    Satisfactory 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

    • 1057 Words
    • 5 Pages

    There are several reasons readers should familiarize themselves with Martin Luther King Jr.’s “Letter from Birmingham Jail” (also known as “The Negro Is Your Brother”) from our textbook called, "writing arguments." First and most significantly, it was written during “a critical turning point in the struggle for African American civil rights” and is, therefore, this document is generally considered the most important written document of the modern civil rights movement. Martin Luther King Junior's famous is one of the best pieces of writing I have ever read because of its ability to expound on ideas and create a thorough argument as to why what he was doing was just. Throughout this piece Dr. King used rhetoric to persuade his reader and craft a convincing argument. The use of logos, ethos and pathos were all present as he attempted to win over a group of clergymen who challenged his right to protest by calling him an outsider and extremist. So, the letter is also a brilliant example of the art of persuasion as it masterfully analyzes its dual audience: the eight clergymen who reacted to King’s nonviolent activities, and King’s fellow demonstrators. And like all well-crafted persuasive writing, it employs all the rhetorical methods of appeal - the appeal to reason, character, emotion, and style (such as metaphor, simile and other reasoning).…

    • 1057 Words
    • 5 Pages
    Good 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

    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