function
A function is a rule which assigns exactly one output f(x) to every input x.
It is a bijective function.
There are many possible answers. One of them is Output = 6 - Input.
The amount of gas you put in a car is the input. The input is expended to produce a benefit in the form of an output which in this case is the number of miles traveled with the gas you put in.
There are infinitely many possible answers: Rule I: Output = 4 (whatever the input, the output is 4). Rule 2: Output = Input - 2 Rule 3: Output = Input/2 + 1 Rule 4: Output = (Input/3)2
There are lots of possible rules.The simplest is:output = input + 13However all the following will also work:output = 33 - inputoutput = 2.3 x inputoutput = 230 / inputoutput = 73 - 5 x inputoutput = 2 x input + 3The above is only a small number of the many, many, many rules which meet the criteria of input of 10 giving an output of 23.
A Function
The relationship is called a surjection or a surjective function.
Input = Keyboard Input = scanner Output = printer Storage Devices = Hard Drive Storage Devices = Thumb Drive
A function is any relationship between inputs and outputs in which each input leads to exactly one output. It is possible for a function to have more than one input that yields the same output.
There need not be any relationship.
what do you mean by input/ouput units?
A function.
A function is a rule which assigns exactly one output f(x) to every input x.
It is a injective relationship. However, it need not be surjective and so will not be bijective. It will, therefore, not define an invertible function.
a function
Hi, Input/output devices have been around since the inception of electronics, in one form or another. There would be no reasoning to having a device input, without having an output of some type, or a function for it to complete. In computerese, it's a device that has the capability ot either input data or output data on demand. Hope this helps to clear up some of the mystery. Cubby