The ques-7 solution is given below.
Solution:
Compiler:
1. Compiler translates a whole program from source code to object code if any wrong is not found in the code or program.
2. Compiler catches all wrong of a program together.
3. Lower execution time.
4. Requires higher program development effort and time.
5. It is more popular.
6. Compiler is used in PASCAL,C,C++ etc
Interpreter:
1. Interpreter translates and immediately executes each line of the program.
2. Interpreter catches the all wrong of a line together.
3. Higher execution time.
4. Requires less development effort and time.
5. It is less popular.
6. Interpreter is used in BASIC, DBASE,JAVA etc..
Solution:
Compiler:
1. Compiler translates a whole program from source code to object code if any wrong is not found in the code or program.
2. Compiler catches all wrong of a program together.
3. Lower execution time.
4. Requires higher program development effort and time.
5. It is more popular.
6. Compiler is used in PASCAL,C,C++ etc
Interpreter:
1. Interpreter translates and immediately executes each line of the program.
2. Interpreter catches the all wrong of a line together.
3. Higher execution time.
4. Requires less development effort and time.
5. It is less popular.
6. Interpreter is used in BASIC, DBASE,JAVA etc..
No comments:
Post a Comment