FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Zuri has tried to run her program, but an error has occurred. She looks closely at her code and realizes that there are several misspelled instructions. What type of error did Zuri’s spelling mistakes create?
A
Logic
B
System
C
Syntax
D
Runtime
Explanation: 

Detailed explanation-1: -Syntax errors are mistakes in the source code, such as spelling and punctuation errors, incorrect labels, and so on, which cause an error message to be generated by the compiler.

Detailed explanation-2: -Definition: Debugging is the process of detecting and removing of existing and potential errors (also called as ‘bugs’) in a software code that can cause it to behave unexpectedly or crash. To prevent incorrect operation of a software or system, debugging is used to find and resolve bugs or defects.

Detailed explanation-3: -A “logic” error causes a program to produce unexpected results but it will not terminate the program from running.

Detailed explanation-4: -Compile-Time Errors: Errors that occur when you violate the rules of writing syntax are known as Compile-Time errors. This compiler error indicates something that must be fixed before the code can be compiled. All these errors are detected by the compiler and thus are known as compile-time errors.

There is 1 question to complete.