0% found this document useful (0 votes)
264 views

Generation of Computer Language

ALL the information you need for generation of computer language is here. this is my original work. i have put great effort in producing this. i hope u people will like it and appreciate my work. THANKYOU! :)

Uploaded by

Farrukh Mehmood
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
264 views

Generation of Computer Language

ALL the information you need for generation of computer language is here. this is my original work. i have put great effort in producing this. i hope u people will like it and appreciate my work. THANKYOU! :)

Uploaded by

Farrukh Mehmood
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

GENERATION

OF
COMPUTER
LANGUAGE
Muhammad Faizan
Of
Class : 8 - S

GENERATION
OF
COMPUTER LANGUAGE

1. The first generation languages, or 1GL are low-level languages that are
machine language.

2. The second-generation languages, or 2GL are also low-level assembly


languages.

3. The third-generation languages, or 3GL are high-level languages such as C.

4. The fourth-generation languages, or 4GL are languages that consist of


statements similar to statements in a human language. Fourth generation
languages are commonly used in database programming and scripts.

5. The fifth-generation languages, or 5GL are programming languages that


contain visual tools to help develop a program. A good example of a fifth
generation language isVisual Basic.

Programming
Languages

A programming language is a formal


computer language or constructed
language designed to
communicate instructions to a
machine, particularly a computer.
Programming languages can be used
to create programs to control the
behavior of a machine or to express
algorithms.
The earliest known programmable
machine preceded the invention of the
digital computer and is the automatic
flute player described in the 9th century
by the brothers Musa in Baghdad,
"during the Islamic Golden Age ".

How Many Programming


Language
Are There ??
There Are 2 Types Of Programming Language : -

LLL ( Low Level


Language ) . It is
Difficult to
understand and to
read .

HLL ( High Level


Language ) . It is
Easy to understand
and to read .

LLL ( LOW LEVEL LANGUAGE )

In computer science, alowlevelprogramminglanguag


eis a programming
languagethat provides little
or no abstraction from a
computer's instruction set
architecturecommands or
functions in
thelanguagemap closely to
processor instructions.
Generally this refers to either
machine code or
assemblylanguage.

HLL ( HIGH LEVEL LANGUAGE )


Incomputer science, ahigh-level
programming languageis a
programming languagewith strong
abstractionfrom the details of the
computer. In comparison to
low-level programming languages, it
may usenatural languageelements,
be easier to use, or may automate (or
even hide entirely) significant areas of
computing systems (e.g.
memory management), making the
process of developing a program
simpler and more understandable
relative to a lower-level language. The
amount of abstraction provided
defines how "high-level" a
programming language is.

Difference Between Low Level


And High Level Language !!

The big difference between low-level and


high-level languages is how the code is
compiled into the binary form. Compiler
used for compiling Assembly code is
named assembler and as programmers
say, the code written is assembled into
binary form, not compiled (see under
compilers for more details).

Computer Language
Translators

Computer language translator is defined as a


computer program that converts instructions
written in a given computer language to
another.
The text that is translated is called the source
code .The language that the source code is
translated into is called the target language.
The product is sometimes called the target
code or object code.
There are various types of translator available.

ASSEMBLER

An assembler is a program which is used to convert


a program written in assembly language into
machine language and vice-versa.
An assembler is a program that takes basic
computer instructions and converts them into a
pattern of bits that the computer's processor can use
to perform its basic operations. Some people call
these instructions assembler language and others
use the term assembly language.

COMPILER

A compiler is a program that transforms the source code


written in high-level language into machine language
( object code ) that a computer can understand.

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 assembly
language is different from the one on which the compiler
runs, the compiler is known as a cross-compiler.

INTERPRETER

An interpreter is a program that translates the source


code into intermediate code and immediately executes
it line-by-line.

In computer science, an interpreter is a computer


program that directly program, i.e. performs,
instructions written in a programming or scripting
language, without previously compiling them into a
machine language program.

You might also like