Consider a CSMA-like protocol with n nodes. Assume that the length of a time step equals...

Consider a CSMA-like protocol with n nodes. Assume that the length of a time step equals twice the maximum propagation delay between any two nodes. Recall that if the medium is sensed busy, the node continuously monitors the medium until it becomes idle. When the medium becomes idle, the node sends the frame with probability p and defers it for a later slot with probability 1 − p. Assume that each node has an infinite number of frames to send, and that all frames are of the same size. Also, assume that each frame takes exactly one time step to be completely transmitted. Assume that when the medium experiences a collision during a current time step, it must stay idle during the next time step before it can proceed with transmission attempts again. But when the medium experiences a successful transmission during a current time step, nodes can immediately proceed with transmission attempts without needing to go idle for one time step. Also, assume that when a collision occurs during a time step, each node is able to detect it by the end of the time step during which the collision has occurred. Since the current state of the system depends only on its immediate past state, we can use Markov chains to model and analyze the performance of this system. For this, consider that the system has 3 states: idle i, colliding c, and transmitting t. All answers must be expressed in terms of p and n.

1. Draw the Markov state transition diagram and show the state transition probabilities?

2.Write the balance equation for each state, and derive the stationary probabilities for all states?

3.Derive the system throughput, defined as the average number of successfully delivered frames per time step?

4.Derive the system utilization, defined as the fraction of time the medium is being used for successful transmissions?

5.Drive the average waiting time, defined as the average time from when a frame is ready to be transmitted until the time the frame is transmitted successfully?

In: Computer Science

## Problem Description You are writing a small section of an ATM machine where you accept...

## Problem Description

You are writing a small section of an ATM machine where you accept a string that is a password and accept it or reject it. If the user tries more than three times with a bad password the card is blocked and no password will be accepted until the **resetFailedAttemptCounter** method is called. The password is provided at creation of the AtmPin. Security is a priority!

The class to implement this is referred to as **AtmPin** and consists of the following public methods:

**public AtmPin(String actualCode)** - Creates an AtmPin object with the provided code as the actual PIN

**public boolean verifyPinCode(String code)** - Accepts a string which represents the user's entry of their pin code. If the string matches the actual code provided in the constructor and the account is not blocked then the method returns true. Returns false when the code is bad OR when **isAccountLocked**() is true due to too many consecutive bad verification attempts. If an invalid code was passed or a valid code, but the account is blocked, the system will increment the number of bad password attempts.

**public boolean lastAttemptFailed()** - Returns true if the last invocation of **verifyPinCode** was unsuccessful. Underlying state is updated every time a password is passed to **verifyPinCode**. This method DOES NOT do the verification of the code, but simply is a record of whether the last attempt was successful. Note that you can submit a good password but have it rejected by the system since the account is locked (**verifyPinCode** returns false).

**public boolean isAccountLocked()** - If *more than* three consecutive attempts are made then the password is not accepted (**verifyPinCode** returns false) until **resetFailedAttemptCounter** is called.

**public void resetFailedAttemptCounter()** - Resets the number of failed attempts to zero.

Your **Program.java** should contain code to test your **AtmPin** object.

**Requirements:**

- You may not hard-code the pin in the AtmPin class, but must provide it as a constructor argument

- DO NOT STORE the user's code when attempting to verify

- **verifyPinCode** returns false when

  - code is bad

  - OR

  - when **isAccountLocked**() is true due to too many consecutive bad verification attempts

- **lastAttempt** failed should not do any comparison of actual pin to the tested pin (i.e. you cannot store the user's pin)

## Getting Started

Create the following files in the folder and add the appropriately named classes to them

1. Program.java

2. AtmPin.java

In: Computer Science

Question: Professional Experience #1 Due at the end of Week 1 (not eligible for late policy...

Question: Professional Experience #1 Due at the end of Week 1 (not eligible for late policy unless an appro...

Professional Experience #1

Due at the end of Week 1 (not eligible for late policy unless an approved, documented exception is provided)

*In the workplace, incomplete work is not accepted. The professional experience assignments are designed to help prepare you for that environment. To earn credit, make sure you complete all elements and follow the directions exactly as written. This is a pass/fail assignment, so no partial credit is possible. Assignments that follow directions as written will be scored at a 22. Assignments that are incomplete or do not follow directions will be scored at a zero.

Steps to Complete Professional Experience One:

Step One: Find an article about effective professional communication that was published in the last 18 months.

Step Two: Read the article and develop a 25 to 50-word summary. Summaries shorter than 25 words and longer than 50 will not receive credit.

Step Three: On the top of the page, there is a Link to One Drive – that link will take you to a document entitled "Professional Communication Table." Locate and click on this link.

Step four: The table requests that you provide a hyperlink to the article, your 25-50 word summary, and your name (in the employee section). Fill in the table with the requested information.

In order to receive your points for completing this task you must do the following:

Provide a viable link (not a URL) to the article.

Ensure your summary is no less than 25 and no more than 50 words.

Fill in the "Employee" section with your first and last name.

Copy the webpage link to the article you summarized and submit it to the Professional Experience 1 link in Blackboard.

In: Operations Management

What is civil war pension? how it work for veterans and their family members. What are...

What is civil war pension? how it work for veterans and their family members. What are the significant impact on veterans and their family members?

In: Economics

Discuss the parts of the pacemaker system, and give two examples of cardiac problems related to...

Discuss the parts of the pacemaker system, and give two examples of cardiac problems related to the disruption of the electrical communication between, at least, two components of the intrinsic conduction (pacemaker.)

In: Anatomy and Physiology

a 1.0 kg ball and a 2.0 kg ball are connected by a rigid massless rod....

a 1.0 kg ball and a 2.0 kg ball are connected by a rigid massless rod. The rod and balls are rotating clockwise about their center of gravity at 20 rpm. What torque will bring the balls to a halt in 5 seconds?

The correct answer is -0.28 N.m. I can't figure out how to get this answer. Please do not answer this question with an incorrect answer as it will be a waste of both our times.

In: Physics

the position vector of a mass 2.0 kg is given as a function of time, t,...

the position vector of a mass 2.0 kg is given as a function of time, t, as

r= (3.0 m) i + (4.0 m/s)t j.

What is the angular momentum of the particle about the z axis?

  • (a) 0 kg* m^2/s
  • (b) 24 kg*m^2/s
  • (c) -24 kg*m^2/s
  • (d) 32 kg*m^2/s
  • (e) -32 kg*m^2/s
  • (f) 40 kg*m^2/s
  • (g) -40kg*m^2/s

please explain and answer!

In: Physics

3) Answer the following questions about cultural communication. a. How in different cultures can decision-making can...

3) Answer the following questions about cultural communication.

a. How in different cultures can decision-making can be different?

b. What's the best way to communicate with someone when there's a language barrier?

c. What's the root of most communication challenges?

In: Psychology

Transfer Pricing, Idle Capacity Mouton & Perrier, Inc., has a number of divisions that produce liquors,...

  1. Transfer Pricing, Idle Capacity

    Mouton & Perrier, Inc., has a number of divisions that produce liquors, bottled water, and glassware. The Glassware Division manufactures a variety of bottles that can be sold externally (to soft-drink and juice bottlers) or internally to Mouton & Perrier’s Bottled Water Division. Sales and cost data on a case of 24 basic 12-ounce bottles are as follows:

    Unit selling price $2.85
    Unit variable cost $1.25
    Unit product fixed cost* $0.75
    Practical capacity in cases 560,000
    *$420,000/560,000

    During the coming year, the Glassware Division expects to sell 450,000 cases of this bottle. The Bottled Water Division currently plans to buy 97,640 cases on the outside market for $2.85 each. Ellyn Burridge, manager of the Glassware Division, approached Justin Thomas, manager of the Bottled Water Division, and offered to sell the 97,640 cases for $2.79 each. Ellyn explained to Justin that she can avoid selling costs of $0.12 per case by selling internally and that she would split the savings by offering a $0.06 discount on the usual price.

    Required:

    1. What is the minimum transfer price that the Glassware Division would be willing to accept? Round to the nearest cent.
    $----- per unit

    What is the maximum transfer price that the Bottled Water Division would be willing to pay? Round to the nearest cent.
    $----- per unit

    What would be the benefit (or loss) to the firm as a whole if the internal transfer takes place? When required, round your answer to the nearest dollar.
      $ -----

    3. Suppose that Mouton & Perrier’s policy is that all internal transfers take place at full manufacturing cost. What would the transfer price be? Round to the nearest cent.
    $----- per unit

In: Accounting

For this discussion, please answer the following questions: 1) Identify at least one influence on the...

For this discussion, please answer the following questions: 1) Identify at least one influence on the development of indigenous styles in Japan beginning in the Heian period. You could focus on religious (esoteric Buddhism), political or aesthetic developments. 2) Select an artistic medium unique to Japan and discuss why these technique were beneficial in the creation of works of art, i.e. dry lacquer sculpture, yosegi-zukuri or raigo-format of painting.

In: Psychology

Describe the chemical basis for the following interactions: hydrogen bonding and hydrophobic effect and sketch the...

Describe the chemical basis for the following interactions: hydrogen bonding and hydrophobic effect and sketch the interaction using appropriate amino acids side chains in an aqueous environment for each of the following intermolecular interactions.

In: Chemistry

The Territory Holiday Extravaganza Company Ltd had a bad year in 2016 when it suffered a...

The Territory Holiday Extravaganza Company Ltd had a bad year in 2016 when it suffered a net loss. Some of the measures of return deteriorated due to the loss. The management of the company are wondering how they can improve their ratios for the following year to keep their jobs and the banks and the shareholders happy. They have come up with the following ideas.

1 Borrow $100 million on long-term debt.
2 Buy back shares for $500 million cash.
3 Expense one-quarter of the goodwill carried on the books.
4 Create a new holiday planning division at a cash cost of $300 million.
5 Purchase a new travel app from “Where do we holiday now?” Ltd, paying $20 million cash.

Requirement
Write a short report to the management showing whether the ideas that they have suggested will cause the current ratio, the debt ratio and the rate of return on ordinary shareholders' equity to either increase, decrease or have no effect, giving your reasons for your decision.

Current ratio = current assets / current liabilities, Debt ratio = total liabilities / total assets Rate of return on ordinary shareholders' equity = net income / ordinary shareholders' equity.

In: Accounting

Find [H+] in 0.40 M NH4NO3 at 25 degrees Celsius given that Kb = 1.8 x...

Find [H+] in 0.40 M NH4NO3 at 25 degrees Celsius given that Kb = 1.8 x 10-5 for NH3 (aq).

In: Chemistry

Discuss with the aid of diagrams any three (3) particle size reduction equipment?

Discuss with the aid of diagrams any three (3) particle size reduction equipment?

In: Other

Two students take the same test which consists of 5 questions, each one with 5 answers,...

Two students take the same test which consists of 5 questions, each one with 5 answers, each one with only 1 correct answer. If the students respond the test randomly

i) What is the probability that both of the students get the same number of correct answers?

ii) Find the probability that both tests are the same (assume that each test is independent from each other)

iii) What is the expected number of correct answers for each student?

iv) What is the probability that both students pass the test if they have to get at least 3 correct answers to pass it?

In: Math