Unit 6 - Lesson 4

60.1.1. Syntax Error

(a) A error is generally a bug in the program usually caused by the developer who develops the code.
(b) There are generally three types of errors.
(c) Syntax errors are mistakes that happen if the programs that are written do not use the correct format of the language.

60.1.2. Logical Errors



(a) Logical Errors are the most difficult errors. (b) Programs that have Logical Errors get compiled and executed but give wrong results. (c) Logical Errors can be caused by the usage of the wrong variable name.



60.1.3. RunTime Errors

(a) A program may exit unexpectedly during execution if it encounters a runtime error.
(b) A runtime error is a problem that was not detected when the program was parsed by the interpreter, but is only found out at a specific line execution.
(c) When a program exits when a run time error occurs, we say the program crashed.
(d) Division by zero is not a logical error.

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.