answersLogoWhite

0


Best Answer

There are number of compilers that are used . A compiler that executes and translates on statement at time is called interpreter. An interpreter is a compiler that executes one line at a time and if an error occurs it need to be corrected at the same point of time else the further execution will stop.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

For example some BASIC versions accept the following statement, others don't:

10 IF 2*2=4 THEN GOTO 20 ELSE SYNTAX*ERROR

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

CPU (but a modern CPU can execute two or more instructions paralel).

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

The Central Processor Unit (CPU)

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

Interpreter

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What converts and executes one statement at a time in computers?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Is there any chance a computer that convert the program into machine language is called as a interpreter?

No. Computers do not convert program source code into machine code, period. That job is the responsibility of another piece of software, known as the interpreter or compiler, a machine code program which effectively tells the computer how to perform the translation from source code to machine code. The computer cannot do this job by itself as computers only understand machine code and nothing else. An interpreter simply converts each statement of source code into the equivalent machine code and executes it, one statement at a time. This is extremely slow because subroutines that are called many times must be translated each time they are called, for instance. Thus the source code must always be executed within the interpreter software. A compiler, on the other hand, converts the entire source program into object code which can then be linked to produce the required machine code. Once linked, the machine code will execute without any further interpretation, and is therefore known as a standalone executable.


What is a compiler and an interpreter?

a compiler translates an entire program and then executes it while an interpreter translates and executes one line of a program at time


Which conversion strategy converts each location to the new system at a separate time?

Phased


A computer program that converts an entire program into machine language at one time is called?

A compiler.


What is the for loop in c plus plus?

In C, also in C++, the for loop executes zero or more times, until the test expression is false...for (init-expression; test-expression; loop-expression) statement;/* init-expression executed once, at beginning *//* statement executes zero or more times, until test-expression is false, test first *//* loop-expression evaluated at end of each iteration */

Related questions

Is a language translator that converts each statement in a programming language into machine language and executes statements one at a time?

It's called a compiler.


Is there any chance a computer that convert the program into machine language is called as a interpreter?

No. Computers do not convert program source code into machine code, period. That job is the responsibility of another piece of software, known as the interpreter or compiler, a machine code program which effectively tells the computer how to perform the translation from source code to machine code. The computer cannot do this job by itself as computers only understand machine code and nothing else. An interpreter simply converts each statement of source code into the equivalent machine code and executes it, one statement at a time. This is extremely slow because subroutines that are called many times must be translated each time they are called, for instance. Thus the source code must always be executed within the interpreter software. A compiler, on the other hand, converts the entire source program into object code which can then be linked to produce the required machine code. Once linked, the machine code will execute without any further interpretation, and is therefore known as a standalone executable.


Who translates and executes program at run time line by line?

interpreter


Does The Master Boot Record executes every time a computer boots up?

yes it does


What is the difference between 'switch' statement and 'if' statement?

we can use switch statement in multiple time but in if statement we can not use multiple time


The Master Boot Record executes every time a computer boots up?

yes.. whats the question?


How to use next in vhdl code?

In VHDL, the next statement or command or instance is generally selected using a clock pulse.clk'event and clk = '1'means rising edge of the clock.clk'event and clk = '0'means rising falling of the clock.The statement written after this line executes after the occurrence of a rising or falling edge of a clock.if (clk'event and clk = '1')The above statement makes the next statement or command to execute for every rising edge of the clock. By applying a clock pulse with minimum time period, we can make the next command to be called.


What is the time line for computers from 1936 - 2009?

there are no computers in the world at 1936 but starting from 1998 computers where invented


What is a compiler and an interpreter?

a compiler translates an entire program and then executes it while an interpreter translates and executes one line of a program at time


What financial statement covers a period of time?

The Income Statement and the Statement of Cash Flows. Both report information presented over a period of time.


Is the equation for power is distance multiplied by time a true statement?

No, it is not a true statement. It is a false statement.


What does a Deposits made which do not clear in time to appear on the current bank statement mean?

One or more deposits were made after the account was settled that month for statement processing, but before the statement could actually be processed and printed for mailing. This tends to be a rare event (and getting rarer as the delay between settlement and processing is shortened with better computers) and a bank would only show this information (or corresponding withdrawals) on your statement as a courtesy. Don't worry, those deposits will appear on the following month's statement.