answersLogoWhite

0


Best Answer

Run time errors or syntax errors are most easy to locate, since the compiler will show you where the errors are. A logic error would be more difficult to locate, since the program runs but does not compute the desired result.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What Errors are relatively easy to locate and correct because the compiler or interpreter you use highlights every error?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How compiler differ form interpreter?

because the compiler convert whole of the sentence once into the machine langauge but the interpreter convert one by one


Which produces faster program execution a compiler or pure interpreter?

A compiled program would execute faster than an interpreter running the same code step by step.


Which one is better between Compiler and interpreter?

A compiler is a program that takes a programming language like that of java and then translates it into computer language for the software user. The interpreter just ( just like that of a human interpreter) takes the foreign language which would be that of the programming language and turns it into the machine code. Both of these programs take a high-level programming language and translates them into the machine code, but the interpreter is slower to translate than the compiler because of the fact it processes and interprets each statement many times.


How high level computer language works without assembler compiler and interpreter?

I do not know, ask your teacher.Why, for example Python, PHP, Pearl and JavaScript work without compiler; C, Pascal, Cobol and Fortan work without interpreter.None work "without assembler compiler and interpreter" so the question cannot be answered as asked because there is no answer.If we want to write a program without an assembler, compiler or interpreter; it is an easy answer. You hand assemble, that is where you manually enter the machine code. In the early days this was the only way to program a computer. Having done some hand assembly I have to things to say about it.1) it is not as hard as it might appear to be but it is painfully slow to do.2) why bother when there are excellent compilers available.


Why can't we use a keyword as a variable name?

It is because, the keywords are defined in the java language for a specific purpose. If we start declaring variables with the same name, the compiler would not know if you are trying to use a variable are trying to tell it to perform an action and hence keywords cannot be used as a variable name.

Related questions

How compiler differ form interpreter?

because the compiler convert whole of the sentence once into the machine langauge but the interpreter convert one by one


Which produces faster program execution a compiler or pure interpreter?

A compiled program would execute faster than an interpreter running the same code step by step.


Is jvm a compiler or an interpreter?

JVM is an Interpreter because it interprets the Java Byte Code which it is feed and then it executes it line by line.


Which one is better between Compiler and interpreter?

A compiler is a program that takes a programming language like that of java and then translates it into computer language for the software user. The interpreter just ( just like that of a human interpreter) takes the foreign language which would be that of the programming language and turns it into the machine code. Both of these programs take a high-level programming language and translates them into the machine code, but the interpreter is slower to translate than the compiler because of the fact it processes and interprets each statement many times.


Is there any programming language that does not use compiler or interpreter?

Not really. You need some program to interpret your source code. There is the "assembler", but that can be thought of as a simpler version of a compiler - simpler, because the assembler basically just converts the source code instructions one-to-one to machine instructions.


How high level computer language works without assembler compiler and interpreter?

I do not know, ask your teacher.Why, for example Python, PHP, Pearl and JavaScript work without compiler; C, Pascal, Cobol and Fortan work without interpreter.None work "without assembler compiler and interpreter" so the question cannot be answered as asked because there is no answer.If we want to write a program without an assembler, compiler or interpreter; it is an easy answer. You hand assemble, that is where you manually enter the machine code. In the early days this was the only way to program a computer. Having done some hand assembly I have to things to say about it.1) it is not as hard as it might appear to be but it is painfully slow to do.2) why bother when there are excellent compilers available.


Why can't we use a keyword as a variable name?

It is because, the keywords are defined in the java language for a specific purpose. If we start declaring variables with the same name, the compiler would not know if you are trying to use a variable are trying to tell it to perform an action and hence keywords cannot be used as a variable name.


What does not contain any program logic and are ignored by the language Processor?

User comments are ignored by the language, period. A comment may contain program logic but because all comments are ignored, all logic contained within them is also ignored. Comments are intended specifically for (human) readers, not the language processor.


What is a medical interpreter?

A medical Interpreter is somebody who translates everything the doctor says to the patient who speaks a different language from the doctor. The Medical Interpreter translates because the patient would get scared or frightened because they do not understand what the doctor is saying. The patient would stay calm if they understood what the Doctor was saying.


Is qbasic a high level language?

The QBASIC program actually comes in 2 different flavors... A> QBASIC interpreter program: QBASIC Version 1.1 B> QBASIC compiler program: QBASIC 4.5/or, QB64/or, -etc. ...so, the answer is that this programming language comes in both forms: 'interpreter/compiler' versions; and, you have to select which of these you would prefer to download and use. *NOTE*: The compiler version of the language tends to be much larger; whereas, the interpreter version of the language tends to be small/very compact, indeed; thus, the interpreter tends to take up far less disk space. Many people start off their programming career by using QBASIC version 1.1 'interpreter' program; in order to learn 'how to' program. The interpreter version of the program can only create plain text (.bas) files; the which code CANNOT be shared with others; (not unless the persons who you are sharing this type of code with do already have a copy of the QBASIC interpreter program installed on their own computer). Then, later on, down the line...when they have become fully capable programmers themselves; they go and download a QBASIC 'compiler' program version, instead; which will allow them to go and create stand alone (.exe) program files that they can share with anybody. This is because (.exe) program files can RUN/execute entirely independently of the QBASIC program itself.


What is true program for DLL files?

C++ editor and a dll compiler, but I wouyld go with codeblocks because it has a built in dll compiler with the dll tags hope it helps :)


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.