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 18:20
17. a researcher measures three variables, x, y, and z for each individual in a sample of n = 20. the pearson correlations for this sample are rxy = 0.6, rxz = 0.4, and ryz = 0.7. a. find the partial correlation between x and y, holding z constant. b. find the partial correlation between x and z, holding y constant. (hint: simply switch the labels for the variables y and z to correspond with the labels in the equation.) gravetter, frederick j. statistics for the behavioral sciences (p. 526). cengage learning. kindle edition.
Answers: 2
question
Mathematics, 21.06.2019 19:00
Prove that quadrilateral is a rhombus.
Answers: 1
question
Mathematics, 21.06.2019 22:10
Which expression and diagram represent “renee biked four times as far this month as last month”?
Answers: 1
question
Mathematics, 21.06.2019 23:30
Find each value of the five-number summary for this set of data. [note: type your answers as numbers. do not round.] 150, 120, 136, 180, 158, 175, 124, 162 minimum maximum median upper quartile lower quartile
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
Mathematics, 20.11.2020 20:20
Questions on the website: 13722366