1.2 Algorithm - Strive to accurate

xiaoxiao2021-03-06  40

The test program can be implemented in a certain situation, a good way is to perform a few steps in accordance with the flowchart, this method is called Hand Simulation or Bench Testing, which is also used to find algorithms or program errors A good way (relying on this method, what is the simulation of what test, it is still very deep, in fact, the programming is used up every day). Computer professional error called bug, find errors and modify the error process is called tired or debugging. Several important features of the algorithm: 1. The instruction sequence will eventually abort. 2. Instructions and concise, each instruction will not be mixed, it only has an explanation. 3. Instructions are easy to execute, each instruction is responsible for performing a certain function, and the time spent is limited, such an instruction is called a valid instruction. 4. There is input and output. The algorithm description is called pseudococode in accordance with the formal programming language. Any interoperable calculation with computers is an algorithm, and any algorithm can be compiled as a program. Computation

转载请注明原文地址:https://www.9cbs.com/read-86154.html

New Post(0)