Science, asked by aadityavyas6825, 1 year ago

A ___________ error does not cause the program to abort, but produces incorrect results.

Answers

Answered by ekta16
1
A command errrors does not cause the program to abort, but produces incorrect result.....
Answered by probrainsme102
0

Answer:

Logic Error

Explanation:

A logic error (or logical error) is a mistake in the source code of a program that results in a mistake or unexpected behavior. This is a type of runtime error that simply produces the wrong output or it can also lead to a program crash while it is running.

Many different types of programming mistakes can lead to logic errors. For example, assigning a value to a wrong variable can cause many unexpected program errors. Where there is a need to add two numbers, multiplying them can also give the opposite result.

Whereas small typos that do not cause syntax errors can also lead to logic errors. Below is a PHP code as an example, in which an if statement can cause a logic error because it should have a double equal sign (==) instead of a single equal sign (=), which creates a logic error.

#SPJ3

Similar questions