Why can you get so many errors in code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why can you get so many errors in code?

To many errors

18th Jul 2016, 2:55 PM
Caitlin Snively
Caitlin Snively - avatar
2 Answers
0
errors can occur due to two main reasons. first is syntactic error. which means the coffee you've written contains syntax error. e.g.. print ('hi' will throw error as the closing braces is no given which is part of the python syntax. The second type of error is semantic error. which is issue in the program logic. though you've written a syntactically correct program you might get semantic error. in other words you will get output but the answer will be wrong. hope this helps!
18th Jul 2016, 3:56 PM
Karthikeyan Shanmugam
Karthikeyan Shanmugam - avatar
0
syntax errors , declaration errors, memory errors,etc
18th Jul 2016, 5:17 PM
Ranjith kumar
Ranjith kumar - avatar