The Basic Model Of Computation
The basic model of computations can be considered as a program executed step by step following with the instructions given by the user to solve a program at end.
We need to consider the following thing while or before computing a program.
Make sure the output of the program define the prerequisites for that program.
Declare the variable for that program and import necessary resource
Use necessary functions and methods to get the desired result at end.
An algorithm is a sequence of well defined instructions for completing a task.