The meaning of GL in computer _ essay

Source: Internet
Author: User

In the computer industry, there are usually several generations of languages to represent the development of language.

1GL or first-generation languages are languages that machine languages or machines can execute directly, that is, a string of 0 and 1. 2GL or second-generation languages are assembly language. A typical 2GL directive looks like this: The add12,8 Assembler converts assembly language into machine languages. 3GL or third-generation languages are "advanced" programming languages, such as Pl/i,c,java, which belong to this category.

In the computer industry, there are usually several generations of languages to represent the development of language. 1GL or first-generation languages are languages that machine languages or machines can execute directly, that is, a string of 0 and 1. 2GL or second-generation languages are assembly language. A typical 2GL directive looks like this: The ADD 12,8 Assembler converts assembly language into machine languages. 3GL or third-generation languages are "advanced" programming languages, such as Pl/i,c,java, which belong to this category. The following is an example of the Java language: public boolean handleevent (Event evt) {switch (evt.id) {case event.action_event: {if ("Try me". Equald (Evt.arg)) {The compiler converts a statement from a specific high-level programming language into a machine language. (In the Java example above, the output is called bytecode, which is then converted to the corresponding machine language by the Java Virtual machine that is part of the operating system platform.) To use 3GL requires a certain degree of programming knowledge. 4GL or fourth-generation languages are much closer to the natural language than 3GL. The language that accesses the database is often referred to as 4GL. The following is an example of a 4GL statement: EXTRACT all CUSTOMERS WHERE "PREVIOUS purchases" the total more THAN $1000 5GL or fifth-generation languages are programmed with visual or graphical interfaces to generate an original language, which The native language is usually compiled with a 3GL or 4GL language compiler. For example, Microsoft, Poland, IBM, and others have produced 5GL visual programming tools that can be used to develop applications in the Java language. Visual programming allows you to easily visualize the class dimension of object-oriented programming, and can assemble program components with some drag-and-drop icons [1]

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.