Académique Documents
Professionnel Documents
Culture Documents
Sample Answers
Marks
This assignment is marked out of 10 and counts for up to 3% of your final mark.
Questions
1. Which phase in a software development process is cause of main cause for most bugs?
(1)
Answer: Specifications or Requirements
2. The sample chapter gives five rules for determining what is considered to be a bug in a
software product. Which of the following is not one of those five? (1)
Hint: the wording is changed to make you think.
Answer: (d) is best. An argument may be made for (b) or (c) so they are also accepted.
a. The product does not perform some functionality required by the specification.
Statement 1 in chapter
b. The product offers functionality beyond what is required by the specification.
Statement 3 or 4 in chapter, but open to interpretation
c. The product functions in a way that is different from what is described in the
specification.
Statement 3 in chapter, but open to interpretation
d. The product specification does not reflect the end-users needs or does not
solve the problem that motivated the development of the product.
not in chapter
e. The product fails to meet non-functional expectations such as performance,
learnability or usability.
Statement 5 in chapter
Page 1 of 4
COMP311 Assignment 1
Sample Answers
3. Which one of the five rules is left out of the list of options for the previous question? (1)
Answer: Statement 2 in chapter: The software does something that the product specification
says it shouldnt do. Also a case may be made for statements 3 and 4.
4. Philip Crosby, one of the pioneers of quality assurance coined the phrase Quality is free.
Clearly applying QA is not literally free because the company must pay salaries of QA
professionals and testers and cover the costs of following QA and test processes.
What did Crosby mean by claiming that quality is free? (2)
Answer: Quality more than pays for itself by saving on costs. The greatest saving is from
detecting and correcting defects early in the software development process.
Any answer that is based on revenue and stating that savings outweigh costs is accepted.
5. In the example of the Y2K bug, do you think that the hypothetical programmer Dave took
the wrong approach in storing years as only two-digits. If your group has divided
opinions, say so. (2)
Hint: Give a brief justification that shows deeper analysis than:
Dave was wrong because two-digit years caused the Y2K bug.
Answer: Any sensible answer is accepted.
Dave followed what was considered best practice at the time by saving storage that was
expensive in 1974. It would be unfair to criticize Dave for not anticipating how much the cost
of storage would fall over time or realizing that his programs might still be running 25 years
later.
On the other hand, Dave should have done something because he was aware of a potential
problem. For example, documenting where 2-byte years were stored would have been very
helpful in 1999.
6. Can you give other example of famous product recalls or notorious software bugs that
you learned about from the news or experienced personally?
Hint: You may search the Web if you give the URL of your main reference below.
Briefly describe the problem and the impact it had on the company that produced the
product and on users. If possible, apply the wisdom of hindsight to suggest how company
could have prevented or reduced the impact of the problem? (3)
Answer: Any real scenario not included in the chapter accepted.
See the next page for a list of the top 10 software bugs of 2012
Page 2 of 4
COMP311 Assignment 1
Sample Answers
Page 3 of 4
COMP311 Assignment 1
Sample Answers
5 US elections vote glitch. Computer problems drew complaints across the US during the 2012
elections, with numerous problems with voting machine glitches reported by voters. An example was
touchscreen errors automatically changing the vote from one candidate to another and not allowing
voters to reselect or correct the error.
4 Social networking giant IPO trading glitch. Technology problems affected trading in millions of
shares of a popular social media website, after software glitches caused a malfunction in the trading
systems design for processing orders and cancellations, meaning orders were processed incorrectly, if
at all. Trades in as many as 30 million shares were affected by the glitch.
3 IPO withdrawn because of technical failure. A stock trading business launching its initial public
offering on its own trading system was forced to withdraw its IPO after an embarrassing computer glitch
caused a serious technical failure on its own exchange. A system problem occurred as soon as the
exchange tried to open the ticker symbol of the stock, failing to roll into a continuous trading pattern as
it was supposed to, halting the trading on the stock before it had even started trading.
2 Software glitch costs trading firm $440million (273m) in 45 minutes. According to SQS, a trading
firms newly-installed software resulted in a $440 million loss after it rapidly bought and sold large
volumes of over a hundred different stocks in 45 minutes using a flawed software algorithm that bought
the shares at market price then sold at the bid price instantly losing a few cents on each trade. The
rapid trades pushed the price of the stocks up, resulting in spectacular losses for the trading firm when it
had to sell the overvalued stocks back into the market at a lower price.
1 Airline glitch strands passengers. For the third time in 2012, a computer glitch wreaked havoc on
thousands of travellers with a US airline, delaying flights for hours. A glitch in the dispatch system
software resulted in hundreds of delayed flights across the US and internationally. The two hour outage
held up 636 of the 5,679 scheduled flights and resulted in 10 flights being cancelled altogether.
Page 4 of 4