Computer Science, asked by arunkumar2373, 10 months ago

In which case a program is not expected to recover?

Answers

Answered by probrainsme102
0

Answer:

When any errors occurs in the program in that condition the program stopped working.

Explanation:

  • The any type of the error in the program leads to the end of the program.
  • Some time there is a logical error in the program, in that case the program will show the incorrect output but not stopped the codes.
  • When there is function error in the code and program not able to find function or variable in the code properly then the program stops working.

#SPJ3

Answered by aryansuts01
0

Answer:

Concept:

The practise of reacting to the occurrence of exceptions—anomalous or extraordinary events requiring special processing—during the execution of a programme is known as exception handling in computing and computer programming. The specifics of how this is done vary depending on whether it is a hardware and/or software exception and how the software exception is implemented. In general, an exception interrupts the usual flow of execution and executes a pre-registered exception handler. If offered, exception handling is made easier by specialized programming language structures, hardware features like interrupts, or IPC features like signals supplied by operating systems (OS). Some exceptions, particularly those related to hardware, may be handled so smoothly that execution can pick up where it left off.

Given:

Where upon it is not anticipated that a programme will recover?

Find:

Discover the response to the issue at question.

Answer:

If an exception occurs

  • In the event of an exception, a programme is intended to restart.
  • An error or unexpected occurrence that takes place while a programme is running is an exception. The flow of the programme is disrupted when an exception occurs. The software may continue to operate if it can manage and process the exception.
  • The programme might be forced to end if an exception is not handled.
  • Exceptions are supported by a wide range of programming languages, albeit their applications vary.
  • This exception spreads upward and outward, and a higher level will (or may) address it. Beyond the point at which the exception is thrown, your finally block will not be executed.
  • Methods that are called from a finally block may throw exceptions. The try block is abruptly terminated if such exceptions are not caught and handled.

#SPJ2

Similar questions