Академический Документы
Профессиональный Документы
Культура Документы
"
- a computer science acronym that implies bad input will result in
bad output.
Because computers operate using strict logic, invalid input may
produce unrecognizable output, or "garbage."
For example:
- If a program asks for an integer and you enter a string, you may get
an unexpected result.
- If you try to open a binary file in a text editor, it may display unreadable
content.
a universal computer science concept, but it only applies to programs
that process invalid data.
Good programming practice dictates that functions should check for
valid input before processing it. A well-written program will avoid
producing garbage by not accepting it in the first place. Requiring valid
input also helps programs avoid errors that can cause crashes and
other erratic behavior.
Characteristics
Interpreted
Dynamic constructs (open classes, message-style methods, etc)
Poor performance
Concise code
Flexible syntax (good for internal DSLs)
Hybrid paradigm (object-oriented and functional)
Advantages
Do more with less code
use English language words in a form which can be read and
generally interpreted by the average person with little to no
programming experience
Dis-advantages
Loss in performance and less freedom for the programmer
Most high-level languages are well defined, as are low-level
languages, but mid-level languages tend to be a bit difficult to
box.
It is more reliable to define the category by the size of application
the programmer would be willing to write using a given language.
It would have no problem writing and maintaining a large desktop
application in a mid-level language (such as Java), whereas to do
so in a low-level language (like Assembly) would lead to unending
pain.
This is really the level at which virtual machines start to become
common-place. Java, Scala, C# etc all use a virtual machine to
provide an execution environment. Thus, many mid-level
languages don’t compile directly down to the metal (at least, not
right away) but represent a blurring between interpreted and
compiled languages. Mid-level languages are almost always
defined in terms of low-level languages (e.g. the Java compiler is
bootstrapped from C).
Characteristics
The facts and figures which are necessary for developing the program.
The way in which the program will be designed
Also, the language in which the program will be most suitable.
What is the desired output and in which form it is needed, etc
Test Execution
The process of executing the program to find out errors or bugs is called
test execution. It helps a programmer to check the logic of the program. It
also ensures that the program is error-free and workable.
Debugging
Debugging is a process of detecting, locating and correcting the bugs in a
program. It is performed by running the program again and again.
Final Documentation
When the program is finalized, its documentation is prepared. Final
documentation is provided to the user. It guides the user how to use the
program in the most efficient way.
REFERENCES
https://techterms.com/definition/gigo
https://en.wikipedia.org/wiki/Computer_programming
https://www.khanacademy.org/computing/computer-
programming/programming/intro-to-programming/v/programming-
intro
https://en.wikipedia.org/wiki/Logical_machine
https://www.quora.com/What-are-high-level-low-level-and-middle-
level-programming-languages
https://en.wikibooks.org/wiki/C%2B%2B_Programming/Programming
_Languages#Low-level
https://en.wikibooks.org/wiki/Introduction_to_Computer_Information
_Systems/Program_Development