COMP311Asign1

pdf

School

Centennial College *

*We aren’t endorsed by this school

Course

397

Subject

Computer Science

Date

Jan 9, 2024

Type

pdf

Pages

4

Uploaded by ChefPorcupineMaster87

Report
COMP311 Assignment 1 Questions based on Chapter 1 of Software Testing by Ron Patton Instructions Work in teams of maximum two students. Read the sample chapter handed out. Then discuss and answer the following questions together. Marks This assignment is marked out of 10 and count toward about 2% of your final mark. Questions 1. Which phase in a software development process is cause of main cause for most bugs? (1) Answer: The phase in which most bugs are caused is in the “Specification” phase. Could be also referred to as the “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. a. The product does not perform some functionality required by the specification. b. The product offers functionality beyond what is required by the specification. c. The product functions in a way that is different from what is described in the specification. d. The product specification does not reflect the end-users needs or does not solve the problem that motivated the development of the product. e. The product fails to meet non-functional expectations such as performance, learnability or usability. COMP311 Assignment 1 3. Which one of the five rules is left out of the list of options for the previous question? (1) “The software doesn’t do something that the product specification doesn’t mention but should.”
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) In my point of view, I see Crosby saying that it is “free” to find the bugs, problems, any nuisance the software might have the first time. He is implying that if developers, programmers, testers all work to the best of their ability to find and correct most problems that the software faces, customers won’t have to endure and experience said problems. Thus, making the company not spend any unnecessary money for distribution for a fix. An example can be the Lion King game that the Chapter mentioned. If Disney only spent a little amount of money on testing on PC’s that were popularly used at the time instead of testing on a small market amount of PC’s, they wouldn’t have to spend millions distributing a fix for their faulty game product. 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.” I say he was correct at the time, I feel as if Dave would have known this would cause a problem years down the road he would have made caution for future programmers or even taken it into his own hands. At the time he did the two-digit year filing, it was absolutely needed. He needed any extra bytes he could get and if he kept using the four-digit, the task he needed to complete wouldn’t have seen the finish line. In conclusion, he isn’t in the wrong. It is just unlucky and unfortunate that what happened with it happened. If Dave knew this was gonna happen, maybe something would change. He was just trying to complete the difficult task at hand and needed to cut corners somewhere. 6. Can you give other example of famous product recalls or notorious software bugs that you learned about from the news or experienced personally? DO NOT RECYCLE examples from the chapter! Present in class. 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 the company could have prevented or reduced the impact of the problem? (3) When I was working at my Co-Op placement at the Ministry of Health Ontario as a Programmer. I was put into a team that handled the development of the COVID-19 vaccination app that the nurses use to keep track of the patients they vaccinate in a day. My team and I were working on new updates and functionalities that the nurse could use and make their job a little easier. The week before the new distribution of the app on iPads, the team and I found a bug that completely crashes the app when a new patient is added in the iPads database. The app was updated already on some iPads so it was crucial at the moment. Some people needed to go to vaccination clinics before they opened to revert the update. Luckily no nurse used the new app update and it was quickly fixed and shipped on the nurses iPads, ready for vaccinations.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Name of software failure: Nest ‘smart’ thermostat (owned by Google) freeze. (2016) Description of failure: The fault was due to a December 4.0 firmware update. When software was updated, it forced the batteries to drain out, which dropped the temperature leaving the users in cold. Impact on company: Company was not much impacted due to their unfair service agreement called “Disputes and Arbitration,” which prohibits consumers from suing the company. Impact on users: 99.5% consumers were affected. They have to stay in cold due to the drop in temperature due to which, user was able to heat their homes. Solution: Later company released 4.0.1 software update. URL 1: https://www.cigniti.com/blog/37-software-failures-inadequate-software-testing/ URL 2: https://www.nytimes.com/2016/01/14/fashion/nest-thermostat-glitch-battery-dies- software-freeze.html URL:_____________________________________________________________________ Page 2 of 2