







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
A comprehensive review of key concepts related to software development processes and quality assurance, focusing on the evolution of models, testing methodologies, and quality assurance principles. It includes multiple-choice questions and answers covering topics such as the 'v' process model, quality assurance activities, testing, and the 'oracle problem'. Valuable for students preparing for an inf 115 midterm exam.
Typology: Exams
1 / 13
This page cannot be seen from the preview
Don't miss anything!
The "V" process model introduced which idea to the prior "Waterfall model"? a. Variability of requirements b. Debugging as an iterative activity c. Iterative risk assessment d. Validation and verification e. Pairing development activities with testing activities - correct answer ✅e. Pairing development activities with testing activities Over the years, software development process models evolved, got more nuanced, and recognized more intricacies of real software development. What was one of those observed intricacies in regards to quality assurance (QA) activities? a. QA was recognized as having a role later and later in the lifecycle of software development. b. QA was recognized as a more expensive activity. c. QA was recognized as a less expensive activity.
d. QA was recognized as having a role earlier and earlier in the lifecycle of software development. - correct answer ✅d. QA was recognized as having a role earlier and earlier in the lifecycle of software development. According to Edsger Dijkstra, testing can only do what? a. Prove the correctness of the software. b. Prove the quality of the software. c. Increase confidence. d. Prove the reliability of the software. e. Prove the presence of bugs - correct answer ✅e. Prove the presence of bugs According to IEEE definitions, a "failure" is: a. A human action that produces an incorrect result. b. The runtime effect of executing a source code anomaly that causes an internal deviation from the expected behavior. c. An anomaly in the source code of a program that may cause a deviation from expected behavior. d. Externally visible output that deviates from the expected output.
correct answer ✅a. An anomaly in the source code of a program that may cause a deviation from expected behavior. According to IEEE definitions, a "error" is: a. The runtime effect of executing a source code anomaly that causes an internal deviation from the expected behavior. b. A human action that produces an incorrect result. c. Externally visible output that deviates from the expected output. d. An anomaly in the source code of a program that may cause a deviation from expected behavior. - correct answer ✅a. The runtime effect of executing a source code anomaly that causes an internal deviation from the expected behavior. What is a "test oracle"? a. An input (or group of inputs) and an expected output. b. A document describing the scope approach, resources, and goals of testing. c. The mechanism for determining the expected or correct behavior for any input.
d. A collection of {input, expected output} pairs. - correct answer ✅c. The mechanism for determining the expected or correct behavior for any input. Which of the following is a good example of the "oracle problem"? a. To compute the exact trajectory to land a rocket on the moon, we have to compute a set of very complex calculations that takes into account many variables. Testing if the computed trajectory is equal to the expected trajectory is difficult, given that we needed to write a computer program to compute the trajectory in the first place — that is, it was too complicated of a calculation to perform manually. b. Testing if software has bugs can only demonstrate that there is a bug if a test failure is found. But, testing can never say that a program is free of bugs because if all test cases pass, that may be a sign that we simply did not test enough. That is, perhaps there are bugs still unfound in the code, and if only we had tested more, we would have found them. c. Validation is more expensive than verification because it requires human effort and cann - correct answer ✅a. To compute the exact trajectory to land a rocket on the moon, we have to compute a set of very complex calculations that takes into account many variables. Testing if the computed trajectory is equal to the expected trajectory is difficult, given that we needed to write a computer program to compute the
For the partition "7 < x < 10" that describes the integer variable x, 10 is a boundary value for this partition... True or False? - correct answer ✅FALSE For the partition "7 < x < 10" that describes the integer variable x, 11 is a boundary value for this partition... True or False? - correct answer ✅FALSE For the partition "7 < x < 10" that describes the integer variable x, 9 is a boundary value for this partition... True or False? - correct answer ✅TRUE For the partition "7 < x < 10" that describes the integer variable x, 8 is a boundary value for this partition... True or False? - correct answer ✅TRUE
For the partition "7 ≤ x < 10" that describes the integer variable x, 11 is a boundary value for this partition... True or False? - correct answer ✅FALSE For the partition "7 ≤ x < 10" that describes the integer variable x, 10 is a boundary value for this partition... True or False? - correct answer ✅FALSE For the partition "7 ≤ x < 10" that describes the integer variable x, 9 is a boundary value for this partition... True or False? - correct answer ✅TRUE For the partition "7 ≤ x < 10" that describes the integer variable x, 6 is a boundary value for this partition... True or False? - correct answer ✅FALSE
g. Visibility - correct answer ✅d. Redundancy Which quality assurance principle says that it is better for the software to fail quickly when a bug is encountered? a. Restriction b. Partitioning c. Redundancy d. Visibility e. Feedback f. Carefulness g. Sensitivity - correct answer ✅g. Sensitivity Which quality assurance principle says that it is good to make choices that make certain classes of problems (e.g., bugs) unlikely or impossible? a. Redundancy b. Sensitivity c. Feedback
d. Carefulness e. Restriction f. Visibility g. Partitioning - correct answer ✅e. Restriction Which quality assurance principle says that it is good to allow internal state (of the program or of the development process) to be accessible and observable? a. Redundancy b. Sensitivity c. Feedback d. Carefulness e. Restriction f. Visibility g. Partitioning - correct answer ✅f. Visibility Which quality assurance principle says learning from past mistakes can help avoid future mistakes? - correct answer ✅Feedback
(For this question, we can assume that the test case is written correctly.) a. No b. Yes c. Maybe - correct answer ✅b. Yes