Computer Science, asked by Majagolmei, 10 months ago

what do you mean by robustness of the program​

Answers

Answered by charlie1505
1

Answer:

Robustness describes how reliable your program is, especially under extreme conditions such as extreme workload and bad or unpredictable user inputs. Does your program crash on certain user inputs or under big stress? Does your program act strange given some specific control flow? Is your program fault tolerant?

Ideally, your program should never crash no matter what the user inputs. Even if the user enters invalid data, your program should handle it properly. The worse thing it can do is terminate the program gracefully.

At times this is hard to achieve; for instance, you expect the user to give a file according to a specific format. If file is completely out of accordance with that format, how do you process that file? One way to do this is to check the validity of the file before you process it; if the file is improperly formatted, output an error message and terminate the program. Another way is to do the checking while processing it.

Similar questions