Flashcards
Error
Flashcards do conjunto (4)
- 1Syntax errorsIf any of these steps detects a problem, a syntax error is produced. A syntax error is an error that prevents the code from compiling-it is caused by something in the code that is not valid for that programming language
- 2Logic ErrorA Logic error is the hardest error to fix. In a logic error, no programming mistakes have been made, and the program runs to completion without any errors, but the output is not correct. The mistake is with the design, not the programming.
- 3Runtime ErrorsRuntime Errors are easy to fix with an interpreter but hard with a compiled executable.. There is no invalid code, so the program compiles. An error happens when the code tries to run.
- 4Brief Summary of AllA syntax error occurs when the code is not valid, usually the result of a typing mistake. Code with a syntax error will not compile or run at all. A runtime error occurs while a program is running, and is often the result of an unexpected user input. Runtime errors are usually easy to fix in interpreted languages, as the line that caused the error can be shown. A logic error is a mistake in the design. A logic error will not cause the program to break or halt, but will produce an unexpected output
Informações
- Descrição
- GCSE Computing FlashCards sobre Error, criado por sophie holbrook em 31-03-2021.
- Criado por
- sophie holbrook
- Visualizações
- 0
- Avaliação
Mais sobre Robust Programming and Testing