Basic I/O: Difference between revisions

wikademia>Augur
wikademia>Augur
Line 52: Line 52:
* remark type of inputs: no action and no calculation by the computer is done here
* remark type of inputs: no action and no calculation by the computer is done here
* declaring type of inputs: these inputs are preliminary to a calculation. You say here to the computer "Get ready!"
* declaring type of inputs: these inputs are preliminary to a calculation. You say here to the computer "Get ready!"
* conditional inputs: the computer is confronted to a choice. This is post preliminary input
* conditional inputs: the computer is confronted with a choice. This is post preliminary input
* variable inputs: the computer is starting to use a variable, the variable has first value as null and can get on secondary level a value.  
* variable inputs: the computer is starting to use a variable, the variable has a first value of null and can get a value on the secondary level.  
* calculation inputs: here the computer is confronted to a calculation. The computer got into this level in the result of declarations, choices, and variable with values. Now it is using these to prepare the output
* calculation inputs: here the computer is confronted with a calculation. The computer got into this level as the result of declarations, choices, and variables with values. Now it is using these to prepare the output.


  - Finally the output as an electronic level: all calculations are electrical signals. So the result <br>is at first coded as an electronic signals combination  
  - Finally the output as an electronic level: all calculations are electrical signals. So the result <br>is at first coded as an electronic signals combination  
Line 61: Line 61:


  - The output as machine language = the 8 or 16 bit value converted into machine language
  - The output as machine language = the 8 or 16 bit value converted into machine language
  - the output converted to coder language = here the result is in the memory according the <br> programming language used by the coder. Here I suppose the program is using <br> machine language and translates it into the programming language of the coder.
  - the output converted to coder language = here the result is in the memory according to the <br> programming language used by the coder. Here I suppose the program is using <br> machine language and translates it into the programming language of the coder.


On the next level we will see the output on user level.
On the next level we will see the output on the user level.
{{RoundBoxBottom}}
{{RoundBoxBottom}}


{{RoundBoxTop|theme=2}}
{{RoundBoxTop|theme=2}}
== Input Output on End User Level ==
== Input Output on End User Level ==
Here electricity becomes a letter on the screen, or the move of the arm of a robot, or a laser shot, or a car engine start.
Here electricity becomes a letter on the screen, or the move of the arm of a robot, or a laser shot, or a car engine start.