Basic Program Design

Source: Internet
Author: User

Program Design

Day 1

Chapter 1

1. Software: software is composed of programs and data. (The program is used to process data)

2. Development History of programming languages: 1. Machine language 2. assembly language 3. Advanced Language

The machine language is mainly composed of (0, 1 );

The assembly language is based on the machine language with an additional identifier.

Advanced Language: C language is the ancestor of a variety of advanced languages, such as Java, C ++, and javasrcipt. It is the oldest language and can also be called an intermediate language.

3. Basic methods and steps of Software Development: 1. analyze the problem and establish a mathematical model 2. Determine the data structure and algorithm 3. Compile the program 4. debug the program

Algorithms: Good algorithm standards (natural thinking)

Algorithms include: 1. Numeric algorithms 2. Non-numeric Algorithms

Basic Features of the algorithm: 1. Poorer 2. deterministic 3. Validity 4. Zero or multiple inputs 5. One or more outputs

4. Basic Structure of the flowchart: 1. Sequence Structure 2. Select structure 3. cyclic structure

5. coding implementation process: source code-target code-link compilation-executable code

6. Common Errors in debugging programs: 1. syntax errors (the software will prompt during compilation) 2. logic errors 3. Development Errors 4. runtime errors

Chapter 2:

Basic Components of programming: 1. character set (equivalent to English letters) 2. identifier (equivalent to a word in English) 3. statement (equivalent to a statement in English) 4. standard function library (equivalent to an article in English)

The identifier is divided into 1. System predefine (keyword) 2. User-Defined (can contain letters, numbers, and underscores, but cannot start with a number)

Measure the test taker's knowledge about the mian function.

C language is a process-oriented language in which the compilation process includes editing, compilation, connection, and running.

Chapter 3 (part 3)

Data Type: INTEGER (short, Int, long) floating point type (float, double, long double)

In the ascll table, a = 65, A = 97


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.