Programming language
Computer Languages
- Machine language - the 0 and 1 binary code
- Assembly language - readability, the symbolic machine language
- High-level language - similar to human language
Compiled languages: execution after reading all the code.
Interpreted language [JS]: read a line of code, one line of code. And so on, until all the code is completed.
Software development process:
- Software Initiative
- Requirements analysis and definition
- Software design (data structures and algorithms)
- Software Implementation
- test
- Operations and maintenance
Errors in development:
- Syntax error error without writing code in accordance with the format of writing caused -
- Logic error - should have some missing steps, or steps of order
- Runtime Error - after the reported fault code execution
Programming
program:
1. Data Structure: storage of data, such as variables and arrays.
2. algorithm: solve a problem of procedures and methods, not the narrow sense of mathematical algorithms.
algorithm
Algorithm features:
- Finite nature: an algorithm is a limited step, but not unlimited.
- Uncertainty: Each step is to determine, not vague.
- 0 to a plurality of input
- 1 to have a plurality of output
- Effectiveness (not to appear formula is: n / 0)
Fake code:
After the analysis of algorithms written in Chinese demand process for resolving complex issues.
flow chart:
Elliptical - the start and end frame
Rectangular - processing block (execution box)
Parallelogram - input-output block
Diamond - determination block
Arrows - flow line