• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 9 pages
Exam (elaborations)

INF 115 Midterm Review Questions With Verified Correct Answers

Document preview thumbnail
Preview 2 out of 9 pages

When do quality activities happen in software development? How has our view of this changed over time? - Answer Quality activities (validation & verification) happen iteratively throughout the software development process over time, more regular and constant checks of the software were encouraged. for example, the trash waterfall model didn't really allow for quality activities throughout the process but only really the end. the opposite of this would be a processes like spiral and agile validation vs verification - Answer - Validation: "Are we building the right product?" - Verification: "Are we building the product right?" tip: a comes before e, validation comes before verification. you check to see if you're building the right product first, before checking if you're building the product right fault vs error vs failure - Answer - fault: static flaw in a program (a "bug") - error: a bad program state that results from a fault (not every fault produces an error) - failure: an observable incorrect behavior of a program a program as a result of an error (not every error ever becomes visible) how to expose a fault with testing (remember: rip) - Answer - reachability: the test much *reach* the fault - infection: the fault must actually *corrupt* the program state and cause an error - propagation: the error must persist and cause an incorrect output (a failure) differential testing - Answer comparing the output of the software with existing software with the same or similar functionality test case - Answer One execution of the program, that may expose a bug test suite - Answer a set of executions (test cases) of a program, grouped together oracle - Answer a mechanism for deciding whether a test case execution succeeds or fails - dictionary, calculator, another human, etc.; difficult to automate in some cases test plan - Answer how to approach testing this problem (will you use partitions, differential testing, etc? -- how to decide how to test) black box v white box testing - Answer - black box: cant see code, dont take it into account; focuses more on higher level; tends to be more manual; *functional* - white box: can see code, structural testing (coverage criteria); focuses on the small details, easier to automate; *structural* Why not exhaustively test, or fully prove for correctness? - Answer in some cases testing every possible output is impossible also Dijkstra quote - "Program testing can be used to show the presence of bugs, but never to show their absence!"; we cant ever fully prove anything to be bug-free types of testing - Answer manual, automatic, whitebox(structural), blackbox(functional); can obviously overlap


Document information

Uploaded on
October 24, 2023
Number of pages
9
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$11.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Grademasters
3.8
(46)
Sold
118
Followers
68
Items
2591
Last sold
1 week ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

Whoops! We can’t load your doc right now. Try again or contact support.