What is the definition of computer language?

王林
Release: 2024-01-22 12:54:10
forward
839 people have browsed it

What is the definition of computer language?

What is a computer language

Computer language is a medium for transmitting information between people and computers, and is used for communication between people and computers. It is a special language used to write programs to guide the computer to complete specific tasks. Through computer language, people can convey instructions and data to the computer to control and operate the computer.

The development of computer programming languages ​​has gone through the process from machine language, assembly language to high-level language.

Computer languages ​​are mainly divided into three categories:

- Low-level language

-High level language

-Specialized language

1. Low-level language

- Machine language, assembly language and symbolic language.

- The assembly language source program must be assembled, generated into an object file, and then executed.

2. High-level language

- BASIC (True basic, Qbasic, Virtual Basic), C, PASCAL, FORTRAN, intelligent languages ​​(LISP, Prolog), etc.

- High-level language source programs can be executed in two ways: interpretation and compilation. Usually the latter one is used.

The C language we use uses the latter.

3.Specialized language

The drawing language in the CAD system and the database query language of the DBMS.

What languages ​​are there for computers?

1. Machine language Electronic computers use binary numbers composed of "0" and "1". Binary is the basis of computer language.

2. Assembly language In order to reduce the pain of programming in machine language, people have made a useful improvement: replacing the binary string of a specific instruction with some concise strings of English letters and symbols.

3. High-level language

There are hundreds of high-level languages. The ones with greater influence and common use include F O RT R A N, A L G O L, C O B O L, B A S I C, L I S P, S N O B O L, P L / 1, P a s c a l, C, P R O L O G, A d a, C, V C, V B, Del p h i, J AVA, etc.

Generally refers to assembly language, such as: C language, C language, VB language, etc.

Internet development such as: C#, ASP. NET,PHP

There are also many popular JAVA and so on!

What is a computer programming language

1. Programming is the Chinese abbreviation of writing a program, which is the process of letting the computer use a certain programming language to write program code to solve a certain problem, and finally obtain the corresponding result.

2. In order for the computer to understand human intentions, humans must tell the computer the ideas, methods, and means of the problem to be solved in a form that the computer can understand, so that the computer can work step by step according to human instructions. , to complete a specific task. This process of communication between humans and computers is programming.

3. Programming: Designing a "controllable system" with logical flow [Note: Programming does not necessarily refer to computer programs, any system with logical computing power can be considered programming]

4. Programming language: assembly language, machine language, assembler, high-level language

5. Computers cannot directly recognize, understand and execute source programs other than machine language. They must be converted into ones that computers can directly execute in some way.

This will be advanced

MINIPRO PROGRAMMING HARDWARE

There are two ways to convert a source program written in a programming language into a machine target program: interpretation method and compilation method.

In the interpretation mode, the computer interprets and executes the source program written in a high-level language, and cannot form object files and executable files.

In the compilation mode, the source program is first processed through a compiler corresponding to the programming language used, and the processed program is processed through the stages of lexical analysis, syntax analysis, semantic analysis, code generation and code optimization of the source program. The source program is converted into a target program represented by binary code, and then the function calls, system function calls, etc. used in the program are embedded into the target program through linker processing to form a binary execution file that can be executed continuously. Calling this executable file can realize the corresponding functions specified by the programmer in the corresponding source program file.

What are computer languages

a lot of

Computer languages ​​are divided into three categories.

1-It is machine language. You can basically give up on this. It is all machine code, either a combination of 1 or 0.

2-It is an intermediate language, which mainly refers to assembly language. This assembly language is actually very important. Computer programming requires a deep understanding of its CPU composition and assembly methods. It is relatively difficult and not suitable for novices.

In fact, there can be a language between intermediate and high-level languages ​​(I think so), that is c language, because it has some characteristics of intermediate and high-level languages. Personally, I think this is the beginning of your learning computer language. .

There are too many high-level languages; there are java, vb, c, c#, fortran, and so on. My personal suggestion is that if you don't want to learn C, you can start with VB, which is simple to use and powerful (that's for sure, it has strong support from Microsoft).

The following are common programming languages ​​divided into categories for you: Basic class: GW-Basic, Quick Basic, Turbo Basic, Visual Basic, Visual Basic.net C class: C, C, C#, Java Pascal class: Pascal, Delphi Others: FORTRAN, MATLAB... According to incomplete statistics, there are more than 2,500 computer programming languages.

The above is the detailed content of What is the definition of computer language?. For more information, please follow other related articles on the PHP Chinese website!

source:docexcel.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template