Control structure algorithm of postgraduate examination in computer science

Source: Internet
Author: User

Any calculation problem can be accomplished by performing a series of operations in a specific order. The problem-solving process (procedure) is called an algorithm (algorithm), which includes:

1. Action performed (action)

2. Sequence of actions performed (order)

The following example shows how important it is to correctly specify the order in which operations are performed:

Consider the "Sunrise algorithm" for everyone waking up to work in the Morning: (1) getting Up, (2) undressing, (3) bathing, (4) dressing, (5) having breakfast, (6) Taking a ride to work.

The president can come to the office in this order and in a leisurely manner. Suppose to change the order slightly: (1) Get Up, (2) Take Off the Pajamas, (3) dress, (4) Bathe, (5) have breakfast. (6) Get a ride to work.

If so, the president has to go to work with soapy water. Specifies that the order in which computer programs execute statements is called Program control (program

Control), this chapter describes the controls for C + + programs.

English listening http://www.kyjxy.com/fushi/zhinan/of postgraduate examination
Graduate Examination of Mathematics review plan http://www.kyjxy.com/shuxue/ziliao/
Special-Shuo http://www.kyjxy.com/zhuanshuo/

Control structure algorithm of postgraduate examination in computer science

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.