Please enable JavaScript.
Coggle requires JavaScript to display documents.
logic & language (defensive design (types of validation check…
logic & language
defensive design
user input
-
-
when a program requires input from the user, how can it ensure that the user has not made a typing error
data validation
data validation routines can ensure that data entered is of the right type - for example, an integer
validation cannot ensure that the user has not entered a wrong value, or made a spelling mistake in the name
-
-
-
Translators
Compiler
-
-
-
-
Customers who have bought commercial software cannot see the code when they buy it so cannot copy it
Interpreter
An interpreter translates each line of source code and executes it immediately instead of producing object code.
If it reaches a line with a syntax error, it stops and displays an error message.
-
-
-
IDE
can be used for
-
Debug facilities to step through a program a line at a time, watching the values of specified variables, to help find logic errors
-
-
An editor, which allows you to write and correct your program and provides help in writing correct syntax
-
Interpreter
In computer science, an interpreter is a computer
program that directly executes, i.e. performs instructions written in a programming or scripting language, without requiring them previously to have been compiled into a machine language program