Programming is the Chinese abbreviation of programming. It allows computers to solve a problem on their behalf and prescribe certain calculation methods for a computing system so that the computing system can run according to this calculation method, and finally obtain the corresponding results.
In order for computers to understand human intentions, humans must inform computers of the ideas, methods, and means of the problems to be solved through computers, this allows the computer to work step by step according to human instructions to complete a specific task. The process of communication between people and the computing system is programming.
I. Programming Language
1. Assembly Language
In order to solve a series of problems caused by the use of machine languages to write applications, people first think of using mnemonic numbers instead of machine commands that are not easy to remember. This mnemonic number indicates that the language of a computer instruction is called a symbolic language or an assembly language. In assembly languages, each assembly instruction represented by a symbol corresponds to one-to-one computer instruction. The memory difficulty is greatly reduced, which is not only easy to check and modify program errors, in addition, the locations where commands and data are stored can be automatically allocated by the computer. A program written in assembly language is called a source program. A computer cannot directly identify and process the source program. It must be translated into a machine language that the computer can understand and execute in some way, the program that executes this translation is called an assembler.
2. Machine language
In a computer system, a machine command specifies a specific action of a computer system. In hardware design and manufacturing, a series of computers use several commands to specify the basic operations that the series of computers can perform. These commands constitute the command system of the series of computers. In the early stages of computer application, programmers use the machine's command system to write computer applications, which are called machine language programs. For programs written in machine language, because each command corresponds to a specific basic action of the computer, the program occupies less memory and has a high execution efficiency. The disadvantages are also obvious, such as: Large programming workload, easy to make mistakes; dependent on a specific computer system, so the versatility and portability of the program are very poor.
3. Assembler
Assembler. Programmers still need to be very familiar with the hardware structure of computer systems when writing computer programs in assembly languages. Therefore, the program design itself is still inefficient and cumbersome. However, due to the close relationship between assembly languages and computer hardware systems, in some specific scenarios, such as core systems and real-time control programs that require high space-time efficiency, so far, the assembly language is still a very effective programming tool.
However, it has irreplaceable features. For example, some single-chip microcomputer or some programs that directly control hardware must use assembly languages.
4. Advanced Language
High-level languages are collectively referred to as programming languages that are close to human natural and mathematical languages. According to the starting point and method of program design, advanced languages are divided into process-oriented and object-oriented languages, for example, the Fortran language, C language, and Chinese programming language are all process-oriented languages. The object-oriented languages represented by C ++ and smalltalk are many different from process-oriented languages, these languages support "a program is a set of interrelated discrete objects", a new way of thinking in programming, with characteristics such as encapsulation, inheritance, and polymorphism.
According to certain syntax rules, advanced languages are composed of computing objects and calculation methods that express various meanings. Programming in advanced languages has the following advantages: relatively simple, intuitive, understandable, and error-prone programming. Advanced languages are independent of computers, therefore, computer programs written in advanced languages are universal and portable. Programs Written in advanced languages are called source programs, which cannot be directly understood and executed by computer systems, A language processing system must be used to convert the program into a target program that can be recognized and understood by a computer system before it can be executed by the computer system.
2. Learning advanced programming languages
Based on the interest in programming, continue to learn real code programming, which requires learners to have good self-learning ability. Of course, this process does not need to be based on graphical programming.
Recommended learning languages: Python, JavaScript, C/C ++, etc. Python has been included in the National Computer Level examination, and it is relatively simple compared to the traditional C language and other subjects. It is also rumored that python will be included in the college entrance examination. Learning JavaScript allows you to design webpages. It is difficult to learn C ++ and can participate in the noip Youth Computer informatics Olympics competition. There is also a hot AI learning.
We recommend that you learn code programming through regular channels.
For details about how to learn Python and JavaScript, refer to the following (SCAN code or click to view details ):
Others:
Children's programming-hardware Programming
Graphic programming for children
What is children's programming? Want to learn? How to Learn?
Code programming for children