Question

1. What is an Interpreter? What is a Compiler? What do they do that is similar? What do they do that is different? What is an Assembler?
0 0
Add a comment Improve this question Transcribed image text
Answer #1

The program written by the humans will be in the High level language which can't understand my the humans, so system will convert the given program to machine language to understand by the computer

Interpreter : Interpreter will translate the code (Hight level instructions) into intermediate form and executes the executes

Compiler : compiler will take the entire source and convert into object code or binary code and execute the the object code, Ex : C and C++

Compiler and Interpreter both will do similar things like converting source into tokens and building the parser tree

Difference is compiler will read the source code whole at a time where as interpreter will read line by line and executes , so interpreter is bit slow compare to compiler

Assembler :

the program whcih converto assembly code into machine code

Add a comment
Know the answer?
Add Answer to:
1. What is an Interpreter? What is a Compiler? What do they do that is similar?...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1. What is the difference between an interpreter and a compiler? 2 To a compiler or...

    1. What is the difference between an interpreter and a compiler? 2 To a compiler or interpreter, any logic is legitimate, even if it results in a bad program. Why can’t compilers and interpreters detect logic errors in a program? 3. What are the main elements to consider when purchasing ready-made software for an organization? 4 What is open-source software? To what does the word “source” refer? 5 Give three reasons why Linux has become a popular server operating system.

  • what is the opposite of a compiler? im just listing options, the below is not limited...

    what is the opposite of a compiler? im just listing options, the below is not limited to the real answer as i dont know what it is interpreter assembler assembler __ any answer you have that i did not inclide

  • Python: True or False Questions 1)A Python interpreter is a translator that translates program lines written...

    Python: True or False Questions 1)A Python interpreter is a translator that translates program lines written in other programming languages into Python, one segment at a time. 2)An interpreter executes machine instructions for program lines. s for program lines. 4)A compiler assembles different program lines into a single program, so it can be translated as a whole. 5)A compiler creates machine instructions for a whole program. 6)Translating an entire story from Chinese to English is analogous to compilation 7)An object...

  • Coercion (implicit and explicit) are important to understand in programming languages. Install a C/C++ compiler of...

    Coercion (implicit and explicit) are important to understand in programming languages. Install a C/C++ compiler of your choice for #1 below and a Java compiler of your choice for #2 below. For your C/C++ compiler, verify whether or not the cast of the integer257 to a char results in an error by stating Yes or No. Use explicit type conversion. Paste a screenshot of your compiler output into the Word doc. For your Java compiler/interpreter, verify whether or not the...

  • 5. Write a short technical note about Tiny C compiler. 6. What is the difference between...

    5. Write a short technical note about Tiny C compiler. 6. What is the difference between an empty string and empty ser 7. Debugger checks for errors in compilation process. True or False? Explain. (-2 for wrong answer) 8. Explain the term Regular Language. 9. Discuss the term Context-free grammar. 10. What is an Interpreter? Write hort notes about 2 of them.

  • 1. Using the bootstrapping concept, how do you build a F# compiler that runs on a...

    1. Using the bootstrapping concept, how do you build a F# compiler that runs on a given computer whose machine language is called M if we consider three subsets S1 and S2 and S3 of the F# language and assuming that we already build the compiler for F1 that runs on the computer whose machine language is M (assuming S1 is a subset of S2 and S2 is subset of S3). Show step by step for this process. You must...

  • Word Bank: a) python b) computer science c) algorithm d) program e) interpreter f) compiler g)...

    Word Bank: a) python b) computer science c) algorithm d) program e) interpreter f) compiler g) syntax h) semantics i) value J) variable k) operator l) operand m) expression n) statement o) input p)output q)call r) arguments s) library t) bug u) variable scope v) local variable w)global variable x) variable lifetime y) relational operators z) logical operators 1) Compares operands and results in a bool: 2) The duration of a variable's existence: 3) A list of instructions to solve...

  • 1. How do UPGMA and NJ similar? 2. How does the BLAST algorithm work? What is...

    1. How do UPGMA and NJ similar? 2. How does the BLAST algorithm work? What is a ‘word’? How are words derived from the input (query) sequence? Once words are identified from the input, what is searched? How does BLAST extend a match? 3. How do BLOSUM and PAM compare? What’s similar between the two? What’s different? How do sequence search algorithms (e.g., BLAST) and transition matrices (e.g., BLOSUM and PAM) relate?

  • please can you do all just true or false 15. Python interpreter cannot detect infinite loops....

    please can you do all just true or false 15. Python interpreter cannot detect infinite loops. 16. The opposite of 1 < x and x < 10 is 1 >= *OT =< x pue x 17. 3 // 5 == 0 is True. =D%3= 18. "New York" < "New Jersey" is True. 19. range (3, 8) generates the number sequence of [3, 4, 5, 6, 7]. 20. range (5) generates the number sequence of [1, 2, 3, 4, 5].

  • Assume that for a program, compiler A results in a dynamic instruction count of 8.0E8 and...

    Assume that for a program, compiler A results in a dynamic instruction count of 8.0E8 and has an execution time of 2.4 s, while compiler B results in a dynamic instruction count of 1.25E9 and an execution time of 1.8 s. a. [10] Find the average CPI for each program given that the processor has a clock cycle time of 2 ns. b. [10] Assume the compiled programs run on two different processors. If the execution times on the two...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT