answersLogoWhite

0

Ideally, none. In practice, however, a program may contain many errors. The language editor should help prevent common syntax errors through "intelisense" technology (similar to spell checking and grammar checking tools in word-processing software), as well as colour coding and auto-formatting. The compiler deals with compile-time errors while the linker deals with linkage errors. However, runtime errors are the most difficult to track down as these require extensive runtime testing to detect before they can be eliminated, which requires additional testing to ensure there are no breaking changes. Test-driven development can help minimise the amount of runtime testing required. This works on the premise that every function in a program can be tested, programmatically, to ensure the expected results prevail over the full range of possible inputs (including errant input). Static and non-static assertions can also be used to test our assumptions always hold true during debugging. Even with these safe-guards, we cannot guarantee that every error is eliminated. The larger and more complex the program code, the greater the likelihood that undetected errors will slip through the net. However, code that easy to read is also easy to maintain; sticking to best programming practices and making good use of RAII and exception handling mechanisms makes it much easier to trace runtime errors.

User Avatar

Wiki User

7y ago

What else can I help you with?

Related Questions

What is a source code in Visual BASIC?

In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.In Visual BASIC and other languages, source code refers to the code that you actually type when you are writing a program. Computers convert this code to machine code in order to be able to run the program.


The first part of the rebuilding program was called?

Writing a source code is the first part of the rebuilding a program.


In c language what is source program?

Source program or source code in any language is the code you write to make the program do what you want. Things like: #include <stdio.h> void main (); and so on are all pieces of source-code or source program


What are the similarities between compiler and interpreter?

Both compiler and interpreter are the language programs that translates source program into machine code or we can say object code. Both are used to find errors in source program.


Are source program and source code the same?

Yes.


What does a compiler do when you compile your program?

Coverts source code into object code


What is a program written in high level language called?

the program written in high level language is called "source program"


How do you change source code into machine code?

A program called a compiler, or sometimes an assembler (depending on the programming language) does this for you. You write the source code, then invoke the program that will convert this into machine language.


What type of a program is used in order to enter c source code?

What type of a program is used in order to enter C source code


What is the compiler that is used in C?

A program that translates source program into object code.


Can you give me the source code of sales in c language?

You can check various open source sites (SourceForge, etc.) to see if anyone has a program relating to sales, but if it is a proprietary (for sale) program you won't get the source code unless you pay for the source code license.


An assembler converts source program into?

An Assembler converts an assembly language source code into machine-specific code.