128k views
3 votes
Under which of the following circumstances should a program terminate? A satellite's temporary power failure in a satellite monitoring program. An input file does not exist. A low account balance in a stockholder program. A high blood pressure reading in a heart monitor program. c++

1 Answer

3 votes

Answer:

An input file does not exist

Step-by-step explanation:

A program termination means that all activity relating to the reading of that outcome is stopped. So the first option of a temporary power failure in a satellite monitoring program, would mean that power is restored and a program will not terminate.

The third and fourth options include an everyday occurrence. A low account balance, and a high heart rate. Those situations happen extremely often, so there would be a huge problem if programs that run banking systems and hospitals crashed every time something like that happened.

User Jmlane
by
8.0k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.