Technology has advanced to the point where programming has become an essential part of our lives. We use software and applications for communication, entertainment, education, and work, and these are all built on programming languages.

Basic Concept of Programming and GIGO

A computer performs task in the following concept

1. It takes input before proceeding form input devices
2. The computer perform necessary operation on data
3. The output is generated after the processing is completed

So while doing programming you must provide input and provide instruction to perform some operation. The output will be generated as your instruction and should be displayed or perform.

Gigo
Gigo is a term that defines about the performing procedure of a machine. It says that computer will produce the output not of your need, rather it will produce the output as according to the input provided. Garbage In-Garbage out, means that it will produce meaningless output, if you have provided wrong input. For example, the you want a program that produce the city name in alphabetical order but if you have provided the name of animals as input then the output will sort the name of animals in alphabetical order, not the name of cities.
Share:

No comments:

Post a Comment

If you have any doubt, let me know...

Translate

Wikipedia

Search results