What do you mean by: Syntax Error, Logical Error, Runtime Error?

Answer Posted / prathap reddy

A logic error (sometimes called a semantic error) is a bug
in a program that causes it to operate incorrectly, but not
to terminate abnormally (or crash). A logic error produces
unintended or undesired output or other behavior, although
it may not immediately be recognized as such

A syntax error ( IPA: /ˈsɪntæks ɛrə(ɹ)/ ) refers to an
error in the syntax of a sequence of characters or tokens
that is intended to be written in a particular programming
language.For compiled languages syntax errors occur
strictly at compile-time.

A runtime error is a computer error that appears in the
form of a message box consisting of a particular code along
with its corresponding definitions. Usually, a user will
notice that the computer becomes noticeably slow before a
runtime error appears.


Is This Answer Correct ?    29 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is tuple immutable?

444


What is hashing in cyber security?

500


what is the biggest advantage of linked lists?

547


What are the non linear data structure?

472


Explain set interface?

565






which is the simplest file structure? (Sequential, indexed, random)

775


Which method will arrange the element of an array in alphabetical order?

1562


Provide an algorithm to reverse a linked list without using recursion.

512


Define ancestor and descendant ?

543


Explain pre-order and in-order tree traversal.

531


What is the purpose of tochararray ()?

466


What are arrays give example?

486


Is it possible to insert different type of elements in a stack? How?

525


How can you implement a stack?

587


What are the categories of avl rotations?

533