Question: 2 . Create an IPO Design / Algorithm describing the steps you would follow to re - calculate a baseball player s batting average on
Create an IPO DesignAlgorithm describing the steps you would follow to recalculate a baseball players batting average on the scoreboard as they play during one game.
Most people probably think that a batting average is calculated as the number of Hits a player has, divided by the number times a player has shown up at the plate Plate Appearances which is not correct. The Batting Average actually is calculated as Hits divided by At Bats where At Batsthe number of Plate Appearances minus Walks If a player had Plate Appearances, Walks and Hits, their Batting Average would be:
Hits divided by Plate Appearances Walks
Assume a player starts out with statistics from previous games of Plate Appearances, Walks and Hits and you are to calculate the players starting batting average and show it on the scoreboard initially, and then update their batting average on the scoreboard after each plate appearance during the game, with your algorithm reacting to what happened during their plate appearance and recalculating the batting average each time. To simplify this a bit, assume the only things that can happen during a plate appearance are a hit or a walk or a strikeout. Your algorithm will need to be able to recalculate the batting average after each plate appearance as part of that it will need to have steps related to determining what to do if a hit walk or strikeout occurs in each appearance. Assume plate appearances in the game.
This is NOT a oneline solution like just calculate the batting average think of the steps you would take to show the initial batting average on the scoreboard and then update the scoreboard batting average after each plate appearance, during one game.
Be detailed and think oflist the detailed steps that are involved. Points.
Create an IPO DesignAlgorithm for commands or questions you might say to a Virtual Assistant and what it has to doneeds to know in order to respond to you.
Virtual Assistants are basically devices that are programmed to respond to your requests by answering a question or performing an action. You may have heard of Siri, Alexa, Cortana, or the Google Assistant. Think about Virtual Assistants that you may have used on a mobile device or at home if not, review some articles about Virtual Assistants and a question you might ask it or a command you might give it Create an algorithm describing the steps the Virtual Assistant needs to take to respond to you; also describe what other data the Virtual Assistant might already need to knowalready have setup, or additional questions the Virtual Assistant might ask you, if it needs to clarify what you are looking for.
For example, Alexa how long is my commute to work going to take? this might result in Alexa asking you: When are you leaving? you answer: :am then Alexa can start Alexas response requires that Alexa already knows where you live GPS coordinates where you work GPS coordinates in order to determine what the route is via already knowing roads and maps in your area then Alexa needs to find out what the current traffic is via knowing mobile phone movement of current travelers on that route as well as the current time, to determine how long it takes or when you will arrive. There is quite a bit of activity and data gathering that goes on in order to respond to you.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
