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
Why is tuple immutable?
What is hashing in cyber security?
what is the biggest advantage of linked lists?
What are the non linear data structure?
Explain set interface?
which is the simplest file structure? (Sequential, indexed, random)
Which method will arrange the element of an array in alphabetical order?
Provide an algorithm to reverse a linked list without using recursion.
Define ancestor and descendant ?
Explain pre-order and in-order tree traversal.
What is the purpose of tochararray ()?
What are arrays give example?
Is it possible to insert different type of elements in a stack? How?
How can you implement a stack?
What are the categories of avl rotations?