Basic I/O: Difference between revisions

wikademia>Augur
wikademia>Augur
Line 73: Line 73:
You must consider here that we use computers not only as personal computers but also in our cellular phones, in our televisions, robots, various children's toys, trains, airplanes, warheads, missiles, et cetera. Almost everything is a computer.
You must consider here that we use computers not only as personal computers but also in our cellular phones, in our televisions, robots, various children's toys, trains, airplanes, warheads, missiles, et cetera. Almost everything is a computer.


Maybe a fun example comparing to a personal computer will be the simple kitchen robots with many sort of knives to cut and get juice of vegetables and fruits.
Maybe a fun example comparing to a personal computer will be the simple kitchen robots with many sorts of knives to cut and get juice out of vegetables and fruits.


The input in kitchen robot is the fruit, and the output is the fruit juice.  
The input in a kitchen robot is the fruit, and the output is the fruit juice.  


In personal computer of the end user, the input may be the children age of school in Turkiye Istanbul, and the output may be the average age of these children as displayed on the screen or directed elsewhere (e.g. printer, file on hard disk).  
In a personal computer of the end user, the input may be the age of children in a school in Istanbul, Turkey, and the output may be the average age of these children as displayed on the screen or directed elsewhere (e.g. printer, file on hard disk).  


The input on an iron cutting machine will be the iron cutting style designed and recorded in the memory of the machine, and the output will be the laser movement so as to cut iron according the project.
The input on an iron cutting machine will be the iron cutting style designed and recorded in the memory of the machine, and the output will be the laser movement so as to cut iron according to the project.


The examples here are infinite. We can group inputs here as follows:
The examples here are infinite. We can group inputs here as follows:
* numeric or alphanumeric input as record (see previous lesson about record string and arrays).<br> Examples: entry of names, entry of birthrates, entry of age, of number of children etc.
* numeric or alphanumeric input as record (see previous lesson about record strings and arrays).<br> Examples: entry of names, entry of birthrates, entry of age, of number of children etc.
* graphic analog input example: GIF, BMP, JPEG
* graphic analog input example: GIF, BMP, JPEG
* graphic numeric input example: Drawing Programs, Cameras
* graphic numeric input example: Drawing Programs, Cameras
* mechanical input. This is for non-electrical computers: the paper with holes input<br> in a textile machine.  
* mechanical input. This is for non-electrical computers: the paper with holes input<br> in a textile machine.  
* biochemical input: This is the input done by taking a pill, or DNA changes, etc.   
* biochemical input: This is the input done by taking a pill, or DNA changes, etc.   
* mind input: So far the human brain is the most complex input/output existence on this world.
* mind input: So far the human brain is the most complex input/output device in existence on this world.
   
   
About the outputs there is also an infinite number of output possibilities. For example:
With the outputs there is also an infinite number of output possibilities. For example:
* numeric or alphanumeric output: example : display on PC screen of the list of children names<br> in Istanbul, Turkey
* numeric or alphanumeric output: example : display on PC screen of the list of children's names<br> in Istanbul, Turkey
* graphic analog output: example: JPEG picture
* graphic analog output: example: JPEG picture
* graphic numeric output: example: CAD screen output of museum plan
* graphic numeric output: example: CAD screen output of museum plan
Line 102: Line 102:


{{RoundBoxTop|theme=2}}
{{RoundBoxTop|theme=2}}
== Last Words About I/O ==
== Last Words About I/O ==
Input/output can be electric or non-electric signals. It can be mechanical, biological or even abstract.  
Input/output can be electric or non-electric signals. It can be mechanical, biological or even abstract.