100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CSC 4332 Final correctly answered to pass graded A+ $16.99
Add to cart

Exam (elaborations)

CSC 4332 Final correctly answered to pass graded A+

 0 purchase
  • Course
  • CSC 4332
  • Institution
  • CSC 4332

CSC 4332 Final correctly answered to pass graded A+

Preview 2 out of 12  pages

  • March 20, 2025
  • 12
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • CSC 4332
  • CSC 4332
avatar-seller
maxiscore
CSC 4332 Final correctly answered to
pass graded A+

What are the steps in software testing? - correct answer ✔✔The first steps in software testing is
looking at our specifications. After looking at our specifications we can generate our partitions
and boundaries. We can then generate different test cases.



Next we can go ahead and write our tests. We will run these and they will fail. After this we can
implement our code until our tests passes. We made need to refactor our code if we find more
test cases or want better implementation.



After this we can move onto our structural testing. We can look at our source doe and identify
the non covered parts from testing, we can use code coverage to achieve this. We can then
implement more tests for this.



After this we can implement mutation testing, where we can use a library to implement a bug
into our code and run the test suite, we should ensure that our existing test could detect the
presence of our new bug. If not, we can working on fixing this.



All of these testing steps are iterative and continuous, so after doing one of these steps we may
need to go back and do another.



Where do we get test cases from? - correct answer ✔✔We get our test cases from identifying
partitions and boundaries that we generate from the requirements from our system. These
partitions and boundaries give us different inputs and outputs that produce different code
behavior, which is where we can generate our test cases from.



Additionally after, we can get more test cases by looking at our code coverage to see any code
that is not tested and implement tests for this code behavior.

, How does software testing fit into software engineering? - correct answer ✔✔Software testing
serves as a form of verification for software. It gives us assurance that components act as they
were designed to do so.



Software testing also reduces bugs in our software. Reducing these bugs in our software helps
save costs because bugs are expensive and can cause lost reputation.



In conclusion, software is performed at different stages in the software testing development
cycle and a necessary part of generating good software in software engineering.



Where do we draw the lines to stop testing? - correct answer ✔✔We can draw lines to stop
testing by looking at our requirements.



Some external applications may not be able to be tested because of slow speed, so we can use
mocks to have a clear thing to be tested.



Some things are less important than others, and may not need to be tested.



Sometimes there are too many different things to test. For example a linux kernal may have 300
boolean flags, it is not applicable to do 2^300 tests for this linux kernel, so we can look at the
actual use cases for this kernel to generate test cases.



When should we apply specification testing? - correct answer ✔✔We should use specification
testing when we have well defined requirements and documentation



What is specification testing and what does it entail? - correct answer ✔✔Specification testing
is looking at the specification documentation and deriving a test suite.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller maxiscore. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $16.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

71241 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 15 years now

Start selling
$16.99
  • (0)
Add to cart
Added