Descriptive Type Questions
@ Answer the following
1. Differentiate between a compiler and an interpreter,
2. What do you mean by source code and object code?
3. What are the three types of computer language?
4. Write the names of fore high-level programming languages,
5. Write any two points about machine language,
Application-Based Questions
Write the following points in the appropriate column.
1. It produces faster object progam,
Hi, It produces slower object progam.
fii. It translates a program written in a high-level language into machine language, one li
at a time,
iv. It translates an entire program written in a high-level language into machine languag
a time,
Compiler
Interpreter
Hands On
Answers
Answer:
1.
Interpreter translates just one statement of the program at a time into machine code. Compiler scans the entire program and translates the whole of it into machine code at once. An interpreter takes very less time to analyze the source code.
2.
Source code is generally understood to mean programming statements that are created by a programmer with a text editor or a visual programming tool and then saved in a file. Object code generally refers to the output, a compiled file, which is produced when the Source Code is compiled with a C compiler.
3.
There are three main kinds of programming language:
Machine language.
Assembly language.
High-level language.
4.
Ultimately, programs written in a high-level language must be translated into machine language by a compiler or interpreter. The first high-level programming languages were designed in the 1950s. Now there are dozens of different languages, including Ada, Algol, BASIC, COBOL, C, C++, FORTRAN, LISP, Pascal, and Prolog.
I know till here
hope it helps
please mark me as brainliest..