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

Answer Posted / vivek tiwari

Syntax Error-Errors in coding which do not follw language
syntax format. It can occur by human mistak in typing & due
lack knowledge of language .

EX - Ram are a boy. error
correct- Ram is a boy.

Logical Error- Here is correct, program will execute
properly but not give answer correct.

EX- Table is a boy syntax correct
but meaning is not

Runtime Error- overflow, underflow, out of memory capacity.

Is This Answer Correct ?    165 Yes 32 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a Stack? Explain with example?

541


Why use a tuple instead of a list?

451


Why is hashmap faster than treemap?

485


Model a data structure for a DFA that takes an event as parameter and performs a desired action.

693


What is example of data?

519






For addition and deletion. Which one is most preferred: array list or linked list?

505


Define a queue?

553


Is arraylist faster than array?

454


When should structures be passed by values or by reference?

564


Why entry interface is used in map?

495


What is the use of threaded binary tree?

566


What is sequential search?

534


What are binary search and fibonacci search?

504


Why we need cursor implementation of linked lists?

565


Which data structures are used in bfs and dfs algorithm?

551