uniti the program in high-level language is called the source program the translated program in machine language is called the object program two methods are used for translationcompilation and interpretation compilera compiler is translator which converts the program written in high-level language into assembly code or into another form of intermediate code or directly into machine code compiler converts the whole source code at once into object code and then executes it socompiler is faster than interpreter interpreteran interpreter is translator which converts the source program into object or machine code the interpreter converts the source code line -by-line and executes it immediatelywhich results in less performance thusan interpreter is slower than compiler difference between compiler and interpreter comparison compiler interpreter input it takes an entire program at time it takes single line of code speed comparatively fast slower memory memory requirement is more due to the creation of object code it requires less memory as it does not create intermediate object code errors displays all errors after compilation ,all at the same time displays error of each line one by one department of csevishnu institute of technology