jasvir...

Upload: vikas-rock

Post on 29-Oct-2015

112 views

Category:

Documents


0 download

DESCRIPTION

l;l;l;ld;l;f;ldslfl;dslf;ds;lfk;lsdf;kds;lf;lsldkfl;sd;lfkds;fk;dsf;ls;lkfllfklds;k;dskf;lkf;lsk;fkds;lfkds;lkf;ldkf;dlskfffffffffffffffffffffffffffffffffffffffffffffffffffffffdkd;ld;fkdskf;lds;lfk;ldsklf;lslf;kds;lf;s;fsd;f;ls;f;dslkf;ldslf;lsdlfkds;kf;s;f;ls;lf;lsf;lsdk;lfk;lslflds;lf;sd;kf;sfks;fks;dkf;slkf;ldsk;lk;lfk;lkfd;k;fkds;llfdsfds;kfkds;;fs;dkfsd;kfds;kf;lsdkf;kds;lk;dskf;fdsk;f;skd;lfkd;ks;lkf;lkf;lsdk;fds;lfks;ldkf;kds;fkd;fkdk;f;dsf;dsf;

TRANSCRIPT

Slide 1

COMPUTER LANGUAGES PRESENTED BY:- JASVIR M.B.A-I

LANGUAGES

Language is a means of communication. once a computer program has been planned , the next step in its development is to write the specific steps of the corresponding algorithm in a language acceptable to a computer system .A language acceptable to a computer system is called computer language. TYPES OF COMPUTER LANGUAGE Machine language Assembly language High-level language

MACHINE LANGUAGEThe low level language is called the machine language. The language that is understood by the computer only is called the machine language. it is difficult to understand the low level language for the user because this language is written in the form of 0 and 1.ASSEMBLY LANGUAGEA Language that allows instructions and storage locations to be represented by letters and symbols instead of numbers is called assembly language or symbolic language.For eg. Using ADD for the instruction to add, SUB for the instruction to subtract and so on.HIGH LEVEL LANGUAGE High level languages are the programming languages that use English like words so that to facilitate the user by eliminating the need to understand the binary codes. some of the characteristics are-They are easier to learn than assembly language.They require less time to write program codes.They are easier to maintain. LOW LEVEL LANGUAGE

Machine dependentDifficult to learn and use. very time consumingMore error prone HIGH LEVEL LANGUAGE

Machine independent easy to learn to use

less time consuming less error prone D/B LOW AND HIGH LEVEL LANGUAGELANGUAGE PROCESSORS (TRANSLATORS)Language processors are needed to convert the instructions written in one type of language into the other type. There are three types of language processors Compilers Interpreter AssemblerCOMPILERSA Compiler is a translator program that translates programs of high level language into the machine level language. The programs written in high level language is called source program and the program produced by the compiler after translation is called an object program. The main advantage of compiler is that it translates the whole program at once. INTERPRETERInterpreters are also used to convert a program,written in high level language to machine language. Interpreters translate the program line by line while the program is running. Thus , it has a greater speed of translation than that of compilers. ASSEMBLER Assemblers are also used to translates the assembly language instructions into machine language. The assembler can only translate programs written in assembly language . The assembler takes a source program of assembly language and converts into an object program. THANKS.