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

    code printed on the Final Test to make sure that they are the same. Tell the Final Test…

    • 2468 Words
    • 10 Pages
    Good Essays
  • Better Essays

    Service Request Sr Rm 004

    • 1582 Words
    • 7 Pages

    This phase requires the coordination and cooperation of many people. The system analyst cannot conduct all the work alone. The first step involves coding. Coding is process of converting writing computer language that tells the system the commands to perform when certain commands are given. As the coding process being, the process of testing is also taking place as well. When coding is written, it must pass validation or the computer will not understand the language and the expect program will not perform to standard. Many strategies are available for testing validation; the size of the system dictates which is best. Throughout the system development life cycle, software testing was taking place after certain events to ensure the preliminary creation was on track. During analysis the overall test plan was developed. In the design phase, the unit test, integration test plan, and a system test plan was developed. Inspections are formal group activities that perform manually to find obvious errors such as syntax and…

    • 1582 Words
    • 7 Pages
    Better Essays
  • Good Essays

    4) Compiler will not have any knowledge about unchecked exceptions which include Errors and sub classes of Run Time Exception because they happen at run time. Where as compiler will have knowledge about checked Exceptions. Compiler will force you to keep try-catch blocks if it sees any statements which may throw checked exceptions.…

    • 559 Words
    • 3 Pages
    Good Essays
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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

Related Topics