HLL and LLL

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

LOW LEVEL LANGUAGE DISADVANTAGES

It is a complicated programs that requires the knowledge of complete computer circuity. It is difficult to understand and develop a program using machine language

LANGUAGE TRANSLATOR

A language translator is a system software which translates a computer program written by a user into a machine understandable form. Examples: Assembler, Compiler, Interpreter

PROGRAMMING LANGUAGE

A program is a set of instructions that are arranged in a sequence(step by step) that guides the computer to solve a problem. The process of writing a program is called programming. Programming languages can be used to write software. Programming languages can be classified into two categories namely; low level languages and high level languages.

ASSEMBLER

An ASSEMBLER translates assembly language into machine code. The processor cannot "understand" mnemonics and therefore assembler is used to translate it into machine code.

DIFFERENCE BETWEEN COMPILER AND INTERPRETER

COMPILER Scans the entire program first and then translate it into machine code. It creates an object file. Convert the entire program machine code, when all the syntax errors are removed execution takes place. Not easy to remove mistakes in source code(debugging) Execution time is less INTERPRETER Translate the program line by line. It does not create an object file. Each time the program is execute every line is checked for syntax error and then converted to equivalent machine code. Easy to remove mistakes in source code(debugging) Execution time is more.

Compiler

Compiler translate all the instructions of the program(written in high level language) into machine codes, which can be used again and again. The program, which is to be translated, is called the source program and after translation the object code is generated. The entire source program will be read by the compiler first and generates the object code. The compiler displays the list of errors and warning for the statements violating the syntax rules of the language.

LOW LEVEL LANGUAGE ADVANTAGES

Faster in execution since the computer directly starts executing

INTERPRETER

INTERPRETER is similar to compiler because it also translates high level language into machine code. But instead of converting all the statement in one go, the interpreter translates (converts) each statement of source program code and executes it immediately after, to be able to translate the next statement. It would not execute the next line unless the first one has no error.

High Level Language (HLL)

It is referred to as problem oriented language since the programmer needs only to concentrate on the solution to the problem, rather than the hardware of the CPU. High Level Language use simple English like statements thus making it easier for programmers to learn, write and debug(remove errors from code) programs.

HIGH LEVEL LANGUAGE (HLL) Disadvantages

Special rules has to be learn for each HLL. Extensive hardware supports are required. A program in high level language occupies a large memory space.

LOW LEVEL LANGUAGE (LLL)

The Machine Language and the Assembly Language together are known as LOW LEVEL LANGUAGE (LLL). LLL are referred as machine oriented language because the programmer needs to have knowledge of the CPU structure and the internal workings of the computer

HIGH LEVEL LANGUAGE (HLL) Advantages

The program written in HLL are independent of the structure of the computer Modification in the program can be done more easily The number of instructions are less compared to Low Level Language It is easier to understand and ten times faster to write program in HLL. The HLL resemble to commonly used English thus easier to learn and use.

LOW LEVEL LANGUAGE : MACHINE LANGUAGE

This is a sequence of instructions written in the form of binary numbers, consisting of 1, 0. It is a language that the CPU of a computer can " understand" and to which the computer responds directly. The binary language is known as Machine Language. Any instruction in this language is given in the form of 1s and OS. Where symbol 1 stands for the presence of electric pulse and 0 stands for the absence of electric pulse.


Kaugnay na mga set ng pag-aaral

Incorrect Exam FX Life Insurance Questions

View Set

HED510-FINAL EXAM QUIZ 2 QUESTIONS

View Set

Chapter 7- Small Business and Entrepreneurship

View Set

General Psychology - Chapter 2 Exam

View Set