Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ ONLY!!! PLEASE ANSWER QUESTION THEN FILL OUT THE TABLE WITH DIFFERENT INPUT! Run the following code and explain in the test plan, using your

C++ ONLY!!! PLEASE ANSWER QUESTION THEN FILL OUT THE TABLE WITH DIFFERENT INPUT! image text in transcribed
image text in transcribed
Run the following code and explain in the test plan, using your own words, what is happening with each variable (w,x,y,z) (is there any influence on the result between using prefix or postfix operator?). Provide a snippet of the output. int main() i. intw=20,x=20inty=5,z=5 y=y+(x)z+=(wx) cout"x="xandy="yendi;cout"w="w"andz="++zendi; system("pause"); return 0 ; This test plan has only two test cases: x& y for the first test and w&z for the second test; there is no invalid input. In the test plan deseription provide a short but complete description of what should happen. After reading the question requirements, but before beginning any coding, create the test case table, below, completed through column Expected Output. Write your program then complete the test table with actual output results and include in your report, AFTER your source code - Every branch, loop, and output message should be tested. - Test for ID10T user input Copy/Paste your completed source code. You must always include standard "comment header" in your programs, even if code is provided. Run all tests in your test plan - If a test produces expected output, type that output into Actual Output column and enter Pass in final column - If a test doesn't produce expected output - If it's because you didn't understand what the computer would produce/do, then correct the expected output and complete test row as above - If it's because there was a logic/semantic error in your program, enter Fail, create a new test row (5a if test was 5). correct your program, test again - Include your completed test plan after source code - Paste in a snippet of output showing results for every listed test case, labeled with test \# Test Table

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design For Mere Mortals

Authors: Michael J Hernandez

4th Edition

978-0136788041

More Books

Students also viewed these Databases questions

Question

How do you retrieve an error message from an exception?

Answered: 1 week ago