subject
Mathematics, 14.06.2021 20:10 cadeedmiston

During this class, you will be working to create the testing phases for a game of bowling. You are designing software for an automatic scoring system in a bowling alley. This system consists of a sensor that determines how many pins a bowler has knocked down, a class that keeps track of a bowler’s results, and a display system that shows bowlers’ scores. Right now, you are working on the BowlingGame class, which records and stores a single player’s scores through a bowling game. Here are some things you might need to know about the game of bowling:
A bowling game consists of 10 frames. Each frame contains one set of 10 pins, which the bowler tries to knock down.
In each frame, a bowler gets to roll the ball (up to) twice, trying to knock down the pins.
If the bowler knocks down all 10 pins with the first ball, this is a strike. The bowler does not roll a second ball that frame, since no pins remain standing.
Otherwise, the bowler rolls a second ball, trying to knock down any pins not knocked down by the first ball. If the bowler knocks down all the remaining pins with the second ball, this is called a spare.
If any pins remain standing after two balls, then the bowler moves to the next frame anyway.
The tenth frame has special rules:
In some cases, the bowler is allowed to bowl three balls in the tenth frame.
If the bowler gets a spare in the tenth frame, then the pins are reset and the bowler gets to bowl one extra ball (still within the tenth frame) for extra points.
If the bowler gets a strike in the tenth frame, then the pins are reset and the bowler gets to bowl two extra balls at those pins. If the bowler gets another strike, the pins are reset again for the bowler’s third (and final) ball. If the second ball is not a strike, though, the pins are not reset, and the bowler’s third ball aims only at whatever pins were not knocked down by the second ball.
If the bowler does not get a strike or spare in the tenth frame, then the bowler gets no extra balls and the game is over.
For this assignment, you're going to create a requirement traceability matrix for a bowling alley. Columns in the matrix should include the business requirements number, module name, role, and description of the item; however, you are welcome to add additional relevant columns if needed. At least 10 business requirements should be included. The example below gives an example of the chart with one business rule included.
Business Rule Module Name Description
#B1 StartGame Create a new BowlingGame, test that frame and ball are both 1

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 12:40
The price of a particular stock is represented by the linear equation , where x represents the number of weeks the stock has been owned and y represents the price of the stock, in dollars. if this relationship continues, what is the price of the stock after it has been owned for 12 weeks? $92.55 $94.37 $100.52 $114.39
Answers: 3
question
Mathematics, 21.06.2019 15:30
Aiden drives to school and back each day. the school is 16 miles from his home. he averages 40 miles per hour on his way to school. if his trip takes 1 hour, at approximately what speed does aiden drive home?
Answers: 1
question
Mathematics, 21.06.2019 20:40
Sh what is the value of x? ox= 2.25 x = 11.25 ox= x = 22 1 (2x + 10) seo - (6x + 1) -- nie
Answers: 3
question
Mathematics, 21.06.2019 22:30
Tommy buys a sweater that is on sale for 40% off the original price. the expression p -0.4p can be used to find the sale price of the sweater, where p is the original price of the sweater. if the original price of the sweater is 50, what is the sale price?
Answers: 1
You know the right answer?
During this class, you will be working to create the testing phases for a game of bowling. You are d...
Questions
question
Social Studies, 13.07.2019 07:00
question
Social Studies, 13.07.2019 07:00
question
Biology, 13.07.2019 07:00
question
Mathematics, 13.07.2019 07:00
Questions on the website: 13722363