Data on computer languages and computer

First, what is the computer language

  Computer language refers to the language of communication between people and computers. Computer language is the medium to transfer information between people and computers. Wherein the computer system is the largest by means of a command language communicated to the machine. Computer languages ​​include machine language, assembly language, high-level language. Machine language is represented by a binary code computer can directly execute and identifying a set of machine instructions.

  Machine language is the only way to identify computer language. In addition, on top of the machine language for the convenience of humans to read and use, and produces assembly language. After assembly language development, it has produced a high-level language. Commonly used high-level languages, including C, C ++, java and python and so on.

  They all belong to the high-level language, similar utility. As, C ++ is the "tape type C", the biggest difference is that, C ++ object-oriented, procedure-oriented plane C. Define a class, that is the definition of a class of objects. Examples of this class can be used to define the object. Each class object has its own properties and methods, methods like role in the function C. But it is tied to a specific object, and C, a function can be called in any process.

  C is the oldest language, it has been several decades of history, and even today it is still running the most efficient high-level language. With the emergence of object-oriented, C, C ++ and compatible appeared, and like C, after which only appeared in the Java compiler has a corresponding sense on a variety of platforms, it is still a pure object-oriented language the syntax is similar to C, but abandoned the complex design is criticized in C ++ and very popular. With respect to C ++, java programming language, development of a stronger, more flexible use of. Currently, the use of a wider range of java, to Taobao, Jingdong and other large sites are used as the basis of java programming.

Second, the data in the computer

  In computer science, data refers to all symbols for input into a computer medium and a computer program of processing a generic term for computer input processing, known as numbers, letters, symbols, and the like analog having some significance. Now the object computer storage and processing of a wide range of data representing these objects are becoming increasingly complex. And the data is a representation of the information carrier, may be symbols, words, figures, voice, images and video. Data and information are inseparable, the expression data information, the data information is a connotation. Does not make sense data itself, the data only when the impact on the real behavior become information.

  1. computers often use ASCII codes to encode characters. This has been the beginning of a contact in the process of c language learning. Commonly used standard ASCII code, it is a single-byte coding system represented by seven, mainly used to display English and other Western European language characters. There are also extended ASCII code, Unicode, UTF-8, GB-2313 life in common audio and image coding and coding.

  2. Due to solve some problems for computer data storage, and thus derived from the a discipline, data structure. The main object data structure is represented by the data, the data and the logical structure of data storage, and a method of operands. Common types collection data structure, linear structure, a tree-like structure, and FIG.

  3. The data structure is stored in the computer data, and these data algorithm is stored for processing. Algorithm has several features: contains input, output, having a finite resistance, certainty, feasibility.

  4. After storing the data to a computer, you need to be preserved, for future calls view, which has introduced a database. Within an organization database application logic for use consistent collection of related data. It is used to save the data by computer processing. The database can achieve data sharing to reduce data redundancy, maintain the independence of the data, the data centralized control, data consistency and maintainability, fault recovery.

Guess you like

Origin www.cnblogs.com/jkasd124/p/12050828.html