using python to interact with the operating system week 5 answers

Practice Quiz: Simple Tests

1. You can verify that software code behaves correctly using test ___.

  • Arguments
  • Cases
  • Loops
  • Functions

2. What is the most basic way of testing a script?

  • Let a bug slip through. 
  • Codifying tests into the software.
  • Different parameters with expected results.
  • Write code to do the tests.

3. When a test is codified into its own software, what kind of test is it?

  • Unit test
  • Integration test
  • Automatic test
  • Sanity testing

4. Using _____ simplifies the testing process, allowing us to verify the program's behavior repeatedly with many possible values.

  • integration tests
  • test cases
  • test-driven development
  • interpreter

5. The more complex our code becomes, the more value the use of _____ provides in managing errors.

  • loops
  • functions
  • parameters
  • software testing

6. In what type of test is the code not transparent?

  • White-box test
  • Test-driven development
  • Smoke test
  • Black-box test

7. Verifying an automation script works well with the overall system and external entities describes what type of test?

  • Regression test
  • Smoke test
  • Load test
  • Integration test

8. _____ ensures that any success or failure of a unit test is caused by the behavior of the unit in question, and doesn't result from some external factor.

  • Regression testing
  • Integration
  • Isolation
  • White-box testing

9. A test that is written after a bug has been identified in order to ensure the bug doesn't show up again later is called _____

  • Load test
  • Black-box test
  • Smoke test
  • Regression test

10. What type of software testing is used to verify the software’s ability to behave well under significantly stressed testing conditions?

  • Load test
  • Black-box test
  • Smoke test
  • Regression test

Devendra Kumar

Project Management Apprentice at Google

Leave a Reply