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
How efficient is binary search?
What is time and space complexity of bubble sort?
Two linked lists are given, find out the sum of them without altering the linked list?
Define data type and what are the types of data type?
What is the minimum number of queues needed when implementing a priority queue?
How many types of data structure are there?
Define avl tree?
Define distributed query and linked server?
What do you mean by Runtime Error
What's difference between stack and queue?
What are the Differences between map and hashmap?
What is impact of signed numbers on the memory?
Explain the principle of quicksort. What is its complexity?
Can sets contain duplicates?
What is the space complexity of bubble sort?