Computer Science, asked by amanagrawal7864, 7 months ago

Choose the correct option.
OPTIONS
A programmer tries to debug a code of 10,000 lines. It is known that there is a logical error in the first

25 lines of the code. What is an efficient way to debug the code?

1..Compile the entire code and check it line by line.
2..Use an interpreter on the first 25 lines of code
3...Compile the entire code and run it.
4..None of the above can be used to debug the code​

Answers

Answered by vinnsss
2

Answer:

3.Compile the entire code and run it.

Explanation:

Because compiling the code will show the errors present in it and after that running the program will check whether it is correct or not.

Thank you!! Hope this will help u!!

Answered by sourasghotekar123
0

Answer:

2. Use an interpreter on the first 25 lines of code

Explanation:

  • Debugging is a multi-step process that includes identifying an issue, pinpointing its source, and either fixing the problem directly or coming up with a solution in computer programming and engineering. The final step in the debugging procedure involves testing the patch or workaround to make sure it works.
  • When a developer is able to find and reproduce a code error in a computer programme, the debugging process in software development gets started. The software testing procedure and the full software development lifecycle both include debugging.
  • Common code mistakes include the following, as examples:
  1. syntax mistake
  2. Runtime blunder
  3. Semantic blunder
  4. logical flaw
  5. disregarding the coding standard's accepted conventions
  6. calling an incorrect function
Similar questions