Defensive Programming

  • Handle Invalid Inputs
  • Assertion
  • Error Handling...
    View Complete Description
    ×

    Topic Summary

    • Handle Invalid Inputs
    • Assertion
    • Error Handling Techniques
    • Exceptions
    • Barricade your Program
    • Debugging Aids
20
Questions
Question Type Legends

Easy

Medium

Difficult

Multiple Choice Questions for Defensive Programming

  • 1 "If thermometer reading fails one time, the program might simply return the same value as last time" is an example of error handling technique for ______:
    1. Substitute the closest legal value
    2. Return the same answer as the previous time
    3. Return an error code
    4. Call an error-processing routine/object

Contact Us

support@subexpert.com
Write to Us View Help
Subject Expert Logo

Subject Expert

Learn and Evaluate

Follow Us
© 2020 - Subject Expert