Preview

SCI201-1404A-14 Environmental Science and Sustainability

Satisfactory Essays
Open Document
Open Document
442 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
SCI201-1404A-14 Environmental Science and Sustainability
Phase 3 Error Handling and File Input and Output (DB)
Steve Montgomerie
Phase 3 DB9-4-14
Brian Miller In this Discussion board you will know the advantages and disadvantages of testing for error conditions as compared to using exception handling when performing input or output. And the mystery of why almost all programmers, in almost all cases, moved to using exception handling input or output.
I will explain other situations other than input or output you might find exception handling useful. The advantages of automated testing is that the tests are reliable to the point that same test is ran precisely the same every time, so there is no room for human error. The software can run this test repeatedly with no problems. You can customize the tests to bring out hidden information from the application. This some high quality software that lets you run more tests in less time with fewer resources. The disadvantages of automated is that you have to be very proficient to write with automated test. Another issue would be debugging the test scripts. It can cause deadly consequences if any error is presented. The test maintenance is very expensive for playback methods. The reason programmers move to using exception handling because with java it helped them with bad data and common input files. It also allows them to create applications that can resolve exceptions.
The 2 ways they can deal with exception one to write code to elegantly handle the exception, in the section where an exception may occur. The other is to bypass the exception. It is useful to use exception when you tried to create a file and there was not enough space on a disk then it would be used to create that space. But also it is said that exception should never be accepted by a respectable programmer. It is expensive to use because the run time will unwind the stack until it finds an appropriate exception handler the can handle it. I

You May Also Find These Documents Helpful

  • Good Essays

    Brownfields

    • 547 Words
    • 3 Pages

    5. Let the tests remain in their designated areas for the appropriate amount of time; ensure that the tests are not disturbed by cars, human activity, etc.…

    • 547 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    11. To show what an attacker would have access to if they were in the system.…

    • 263 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    A person has to follow all the instruction to the latter. Failure in which this program shall not…

    • 879 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Every time you write code or introduce third-party services, you are introducing the possibility of failure into your system.…

    • 796 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Chi Square Essay Example

    • 1377 Words
    • 6 Pages

    The test procedure described in this lesson is appropriate when the following conditions are met:…

    • 1377 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    ArrayList

    • 801 Words
    • 4 Pages

    Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)…

    • 801 Words
    • 4 Pages
    Good Essays
  • Better Essays

    Gotterbarn says that since the early days, "computer practitioners sought immunity from blame for their failure to develop reliable systems" (108). He says that programmers that made mistakes in their programs called them "bugs" in the code instead of accepting responsibility for the error. Gotterbarn states that, "If the specifications are precise and the client cannot be used to exempt the developer from responsibility, the fact that ‘no program can be proven to be error free' is used to excuse critical system failures" (108).…

    • 1358 Words
    • 6 Pages
    Better Essays
  • Good Essays

    Developers, managers, and customers usually have good reasons for making the decisions they do, and the seductive appeal of the classic mistakes is part of the reason these mistakes have been made so often. But because they have been made so many times, their consequences have become easy to predict, and they rarely produce the results that people hope for.…

    • 4203 Words
    • 17 Pages
    Good Essays
  • Good Essays

    Incremental Development

    • 481 Words
    • 2 Pages

    * After each iteration, regression testing should be conducted. During this testing, faulty elements of the software can be quickly identified because few changes are made within any single iteration.…

    • 481 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Pharma industry growth

    • 6976 Words
    • 30 Pages

    reason why we focus on a successful case and not failures is that there are already…

    • 6976 Words
    • 30 Pages
    Powerful Essays
  • Powerful Essays

    A failure occurs when the user perceives that a software program ceases to deliver the expected service.…

    • 16417 Words
    • 66 Pages
    Powerful Essays
  • Better Essays

    6.10 Unit Testing Case Study

    • 2294 Words
    • 10 Pages

    Tested by representative group of end users at the developer’s side and sometimes by Independent team of testing.…

    • 2294 Words
    • 10 Pages
    Better Essays
  • Powerful Essays

    Tester. Step-by-step instructions teach you how to record an automated performance test, enhance the test using built-in data-driven techniques, play-back the test as part of a performance schedule, and evaluate real-time reports to determine the root cause of a performance problem. The maximum estimated running time for the tutorial is three hours.…

    • 5723 Words
    • 23 Pages
    Powerful Essays
  • Powerful Essays

    References: [1] B. Beizer. “Software Testing Techniques.” Van Nostrand Reinhold, 2nd edition, 1990. [2] B. Korel, “Automated Software Test Data Generation,” Conference on Software Engineering, Vol 10, No. 8, pages 870-879, August 1990. [3] L. A. Clarke, “A System to Generate Test Data and Symbolically Execute Programs,” IEEE Transactions on Software Engineering, Vol. SE-2, No. 3, pages 215-222, September 1976. [4] L. J. Morell. “A Theory of Error-Based Testing,” PhD thesis, University of Maryland, College Park MD, 1984, Technical Report TR-1395 [5] M. J. Gallagher and V. L. Narsimhan, “ADTEST: A Test Data Generation Suite for Ada Software Systems,” IEEE Transactions on Software Engineering, Vol . 23, No. 8, pages 473-484, August 1997. [6] Neelam Gupta, A. P. Mathur and M. L. Soffa, “Automated Test Data Generation using An Iterative Relaxation Method,” ACM SIGSOFT Sixth International Symposium on Foundations of Software Engineering (FSE-6), pages 231-244, Orlando, Florida, November 1998. [7] Offutt A. Jefferson, J. Pan and J. M. Voas.“Procedures for Reducing the Size of Coverage-based Test Sets.” [8] Offutt A. Jefferson, Z. Jin and J. Pan. “The Dynamic Domain Reduction Procedure for Test Data Generation,” Software Practice and Experience,29(2):167-193, January 1997. 7…

    • 3228 Words
    • 13 Pages
    Powerful Essays
  • Satisfactory Essays

    Psychology Personal Diary

    • 353 Words
    • 2 Pages

    However some situations can find solution for it, some cases I fail to find the solution.…

    • 353 Words
    • 2 Pages
    Satisfactory Essays

Related Topics