desk checking example for algorithm in a table format | #5
Автор: FirstClick
Загружено: 2020-06-21
Просмотров: 853
Описание:
Desk checking example shown here in this video for algorithm in an excel table should be the beginners pattern for coding any algorithm. Desk checking ought to be the one of the most important step in the development of a program. Its main purpose of desk checking the solution algorithm is to identify logic errors early and to correct them before writing or coding your computer program in your chosen language.
Many awful things can happen to your computer program if it contains bugs. A logic error can lead to countless amount of time debugging a code that should have been desk checked for correctness. A logic error may even lead to security breach in your application and hackers will have a field day stealing data from it.
The desk checking example shown here for algorithm in a table format is a programmers’ priceless jewel, especially for beginners.
Before coding, get yourself some test data and walk through your own code the same way a computer would; walk through each step in the solution algorithm to check that the instructions described in the algorithm will actually do what they are supposed to do.
As you walk through the logic of the algorithm, make sure to keep track of all major variables in a table format. I recommend the use of an excel table as shown in the video.
In summary, a solution algorithm after it has been constructed must be tested for correctness. Most logic errors occur during the development of the algorithm; if not detected, these errors would pass to the program and cause bugs that can lead to chaos in the system developed. It is much easier to detect errors in flowchart diagrams, uml diagrams or in pseudocode that to detect them in a programming language. Listen, it is often too difficult to step back and analyse the program as a whole after logic errors are discovered. As a result, many frustrating hours is then wasted during code testing; something that should have been avoided with some minutes of desk checking algorithms.
I hope that the desk checking example shown here helps someone realize his or her mistakes. If you have further questions to ask regarding desk checking examples, desk checking algorithm, let me know in the comments section.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: