1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Marina CMI [18]
4 years ago
6

How is an interpreter different from a compiler?

Computers and Technology
2 answers:
yulyashka [42]4 years ago
5 0

Answer:

An interpreter translates and executes code line by line, while a compiler translates all code at once so that it is ready to be executed at any time.

Explanation:

Some other differences between the both are:

* An interpreter always translates the program one statement at a time while compiler scans the entire programs and converts it into machine code as a whole.

*Interpreters are efficient because no intermediate object is created while compilers generate intermediate object code which further requires linking.

*Interpreters do not save the machine code while compilers store the machine code on the disk.

Tags: difference between interpreter and compiler

crimeas [40]4 years ago
4 0

Answer:

Option A is correct answer, which is, an interpreter translates and executes code line by line, while a compiler translates all code at once so that it is ready to be executed at any time.

Further Explanation

• Both, compiler and interpreter used to run program with few differences like interpreter executes line by line while compiler runs program at once.

• If there is no error in the program then compiler will convert source code into machine code which runs faster as compared to interpreters.

• Interpreters executes code run line by line if error occurs, it must be rectified before proceeding to next line while compilers runs whole code.

 Answer details  

Grade: Middle

Subject: Computers and Technology

Keywords: compiler, interpreter, code execution etc

You might be interested in
A. Calculate the diffusion coefficient for magnesium in aluminum at 450°C.
SIZIF [17.4K]

Answer:

a) D = 4.88 * 10^(-14) m^2 / s

b)   <em>t </em>= 1.1 hr

Solution:

a) Magnesium in Aluminum diffusion:

D = Do * exp(-Qd / RT)

  =  (1.2 * 10^(-4) m^2 / s) * exp ( - 130,000 / 8.31 * 723.15)

  = 4.88 * 10^(-14) m^2 / s

D = 4.88 * 10^(-14) m^2 / s

b) The composition remains same at say the distance Xo:

(Cx - Co) / (Cs - Co) = Constant

Xo^2 / D_{550} * <em>t </em>= Xo^2 / D_{450} * 15

D_{550} * <em>t </em>= D_{450} * 15

(1.2 * 10^(-4) m^2 / s) * exp ( - 130,000 / 8.31 * 723.15) * <em>t</em>

(4.88 * 10^(-14) m^2 / s) * 15

by, solving for <em>t </em>we get:

 <em>t </em>= 1.1 hr

So, the time required is 1.1 hr.

5 0
3 years ago
Why do you need to cite your sources? (check all that apply)
Shalnov [3]

the answer to this is  2 and 3

Hope this helped

-scav

4 0
3 years ago
How many pages is 2000 words double spaced 12 font.
Anna007 [38]

Answer: 8 pages

Explanation:

4 0
3 years ago
True or false word inserts text to the right Of the insertion point
uysha [10]
False.................................
3 0
3 years ago
"In Windows, what two terms describe the active partition on an MBR drive, and the location where the Windows operating system i
Oxana [17]

Answer:

Boot partition and system partition

Explanation:

System partition is the primary partition that is used as the active boot partition,it saves boot files and all files that will be used.  System partition is also known as the system directory or root directory and is usually given the identifier "c"

Boot partition is the disk partition that holds the files for the operating system files Windows operating system (either XP, Vista, 7, 8, 8.1 or 10), it works with the system partition and tells the computer where to look when starting. It given the identifier of letter "D" or "E"

5 0
4 years ago
Read 2 more answers
Other questions:
  • In a PowerPoint presentation, it is not possible to add notes that are hidden from the audience's view.
    9·1 answer
  • Write the DML statement to query the database for the following: Output the fname, lname, total_amount_owed of the student with
    5·1 answer
  • Write a program that calculates the occupancy rate for each floor of a hotel. The program should start by asking for the number
    10·1 answer
  • In India, the adoption of new telecommunication services was ____________ Select one: a. slow b. rapid c. frought with errors d.
    15·1 answer
  • Histogram 9AMAA 12/01/2021.
    9·1 answer
  • Janice’s grandmother stayed at home and took care of her family while her grandfather worked. Today Janice lives on her own and
    15·2 answers
  • Imagery functions as a coding system to help individuals acquire movement patterns. this describes
    6·1 answer
  • 8. What is the order of growth execution time of the push operation when using the LinkedStack class, assuming a stack size of N
    13·1 answer
  • A class researching the world’s population would like to include a graph that shows historical changes. They have information fr
    7·1 answer
  • A(n) Blank______ database model stores data in the form of logically related two-dimensional tables. Multiple choice question. w
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!