Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 11 pages
Exam (elaborations)

WGU C857 Exam Questions and Answers Already Passed

Document preview thumbnail
Preview 2 out of 11 pages

WGU C857 Exam Questions and Answers Already Passed Testing Principles - Answers 1. A Necessary part of the test is a definition of the expected output or result 2. A programmer should avoid attempting to test his or her own program. 3. A programming organization should not test its own programs. 4. Any testing process should include a thorough inspection of the results of each test. 5. Test cases must be written for input conditions that are invalid and unexpected, as well as for those that are valid and expected. 6. Examining a program to see if it does not do what it is supposed to do is only half the battle; the other half is seeing whether the program does what it is not supposed to do 7. Avoid throwaway test cases unless the program is truly a throwaway program. 8. Do not plan a testing effort under the tacit assumption that no errors will be found. 9. The probability of the existence of more errors in a section of a program is proportional to the number of errors already found in that section. 10. Testing is an extremely creative and intellectually challenging task. Black-Box Testing - Answers -Data driven or input/output testing *What a program is supposed to do and who it is for -very minimal technical knowledge required -tests using not only valid inputs, but all possible inputs (incredibly time consuming) -System testing White-Box Testing - Answers -Logic Driven Testing -Examines the internal structure/logic of the program (and can sometimes neglect the programs specifications or input/output) -"Exhaustive Path Testing" -Even more time-consuming than Blackbox Code Walkthrough - Answers An informal meeting of 3-5 Developers (ideally) performs a review. One of which is the program author. Code Inspection - Answers A formal and rigorous testing technique where the programmer reviews source code -Typically a group of 4: *The Moderator* - Typically a QA Engineer, leads the session and ensures that all errors are identified and corrected. *The Programmer* - The programs designer/author *The Program Designer* - can often also be the author *The Test Specialist* - well versed in the most common errors and software testing Common Programming Errors - Answers -Data Reference errors

Content preview

WGU C857 Exam Questions and Answers Already Passed

Testing Principles - Answers 1. A Necessary part of the test is a definition of the expected output or
result



2. A programmer should avoid attempting to test his or her own program.



3. A programming organization should not test its own programs.



4. Any testing process should include a thorough inspection of the results of each test.



5. Test cases must be written for input conditions that are invalid and unexpected, as well as for those
that are valid and expected.



6. Examining a program to see if it does not do what it is supposed to do is only half the battle; the other
half is seeing whether the program does what it is not supposed to do



7. Avoid throwaway test cases unless the program is truly a throwaway program.



8. Do not plan a testing effort under the tacit assumption that no errors will be found.



9. The probability of the existence of more errors in a section of a program is proportional to the
number of errors already found in that section.



10. Testing is an extremely creative and intellectually challenging task.

Black-Box Testing - Answers -Data driven or input/output testing



*What a program is supposed to do and who it is for

, -very minimal technical knowledge required



-tests using not only valid inputs, but all possible inputs (incredibly time consuming)



-System testing

White-Box Testing - Answers -Logic Driven Testing



-Examines the internal structure/logic of the program (and can sometimes neglect the programs
specifications or input/output)



-"Exhaustive Path Testing"



-Even more time-consuming than Blackbox

Code Walkthrough - Answers An informal meeting of 3-5 Developers (ideally) performs a review. One of
which is the program author.

Code Inspection - Answers A formal and rigorous testing technique where the programmer reviews
source code



-Typically a group of 4:



*The Moderator* - Typically a QA Engineer, leads the session and ensures that all errors are identified
and corrected.



*The Programmer* - The programs designer/author

Document information

Uploaded on
May 15, 2025
Number of pages
11
Written in
2024/2025
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.
TutorJosh
3.5
(76)
Sold
495
Followers
16
Items
32850
Last sold
2 days 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