Главная Обратная связь

Дисциплины:






Describe the view of compiled code



A compiled language is a programming language whose implementations are typically compilers (translators that generate machine code from source code), and not interpreters (step-by-step executors of source code, where no pre-runtime translation takes place).

 

The term is somewhat vague; in principle any language can be implemented with a compiler or with an interpreter. A combination of both solutions is also common: a compiler can translate the source code into some intermediate form (often called bytecode), which is then passed to an interpreter which executes it.

 

Some languages that are commonly considered to be compiled:

· C/C++/Objective-C/C# (to bytecode)/Java (to bytecode)/Pascal/Visual Basic/Visual Foxpro/Visual Prolog

 

A compiler is a computer program (or a set of programs) that transforms source code written in a programming language (the source language) into another computer language (the target language), with the latter often having a binary form known as object code. The most common reason for converting a source code is to create an executable program

The name "compiler" is primarily used for programs that translate source code from a high-level programming language to a lower level language (e.g., assembly language or machine code). If the compiled program can run on a computer whose CPU or operating system is different from the one on which the compiler runs, the compiler is known as a cross-compiler. More generally, compilers are a specific type of translator.

 

24..Explain Object-oriented languages.

 

Object-oriented language (OOL) is a high-level computer programming language that implements objects and their associated procedures within the programming context to create software programs.

Object-oriented language uses an object-oriented programming technique that binds related data and functions into an object and encourages reuse of these objects within the same and other programs.
Object-oriented language was primarily designed to reduce complexity in typical procedural languages through data binding and encapsulation techniques. In object-oriented language, the objects created provide limited or no access to other functions or methods within the program. This enables only authorized or inherited methods/functions to access a particular object. Java, C++ and Smalltalk are popular examples of object-oriented languages.

25.Explain Query languages.

Query languages are computer languages used to make queries in databases and information systems. Broadly, query languages can be classified according to whether they are database query languages or information retrieval query languages. The difference is that a database query language attempts to give factual answers to factual questions, while an information retrieval query language attempts to find documents containing information that is relevant to an area of inquiry.



Query languages
Query languages allow the user to ask questions about, or retrieve information from database files by forming requests in normal human language statements (such as English). The difference between the definitions for query language and for database management systems software is so slight that most people consider the definitions to be the same. Query languages do have a specific grammar vocabulary, and syntax that must be mastered, but this is usually a simple task for both users and programmers.

QL is a proprietary object-oriented query language for querying relational databases;

MDX is a query language for OLAP databases;
N1QL is a Couchbase's query language finding data in Couchbase Servers;





sdamzavas.net - 2020 год. Все права принадлежат их авторам! В случае нарушение авторского права, обращайтесь по форме обратной связи...