Procedural abstraction is a method in which all sub tasks of a whole functionality must be created separately as method and each method/ procedure must be performing a distinct functionality. For example if we want to write a program to calculate and display result of students in class and create separate methods to get students record, to calculate grades to display results is a procedural abstraction approach. Here not only the methods created have distinctive function the administrative can vary the level of abstraction as well.
It is important in computer science for the following ways:
1) Increase the level of code readiness as all separate functionality tasks will have a separate methods.
There are way in separating mixtures of chlorides salts such as that of sodium chloride and ammonium chloride. It can be done by crystallization, filtration or sublimation. If we want to separate the mixture, we have to heat up to 330-350 degrees Celsius and collect the gas that will be produced.
The advantage for the above condition is as follows:-
Explanation:
If a user creates a defined constant variable and assigns a value on its and then uses that variable instead of the value, then it will a great advantage.
It is because when there is a needs to change the value of that variable, then it can be done when the user changes the value in one place. There is no needs to change the vale in multiple places.
But if there is a value in multiple places instead of a variable and there is no constant variable, then the user needs to change the value in multiple places.