Program soul-algorithm, program soul-Algorithm

Source: Internet
Author: User

Program soul-algorithm, program soul-Algorithm

Nikilaus Wirth formula: program = Algorithm + Data Structure

The textbook holds that: program = Algorithm + Data Structure + programming method + language tools and environment.

Concept of Algorithms

An algorithm is a computer solution to a problem.

Algorithms are classified into numerical algorithms and non-numerical algorithms.

Algorithm features

Poor

Validity

Certainty

Zero or multiple inputs

One or more outputs

Use flowcharts to represent Algorithms

Traditional Flowchart

N-S flow chart

Three basic structures

Sequential Structure

Select Structure

Loop Structure

Structure Programming Method

Top-down, gradual refinement, modular design, and machine programming

From bottom up, gradually increase, modular design, Structured Programming

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.