answersLogoWhite

0

A console is simply another term for a computer terminal. All computer terminals have input and output devices but as console programmers we don't always have the luxury of knowing the specific details about those devices. All we can say for sure about any input or output device is that those devices are character streams. That is, we can extract characters from an input device and we can insert characters into an output device.

Most console programs accept input via a keyboard and present output upon a screen or monitor, however it is never safe to assume that that will always be the case. This is because console programs have two global devices known as standard input and standard output (stdin and stdout, respectively). If we make use of either of these devices then we can never really be certain what physical devices are attached to them because the user must always be free to decide that for themselves. However, because all console input and output devices are character streams, it really doesn't matter what physical devices are used, we can treat them all exactly the same.

A lot of new programmers often make the mistake of enforcing specific devices upon the standard input and output streams, but this is one of those cases where just because we can do something it doesn't mean that we should. Standard input/output devices must always be user-defined, never programmer-enforced.

A console program can make use of as many input and output devices as it needs in addition to the standard input and output devices. Thus if a program needs to extract information from a specific disk file then it is free to do so -- there is no need to redirect standard input to that file.

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

What is meant by output nerve cell and input nerve cell?

Input nerve cells is something u can see.


What is meant by double tuned amplifier?

An amplifier with tuned filters on both input and output.


What is meant by input processing output?

Input is the data entered to the computer using keyboard, mouse, etc. Then it is processed by the Central Processing Unit or CPU and displayed to the OUTPUT (Monitor, Printer, etc.).


What is meant by the input force and output force of a machine?

The input force is the force applied to a machine to make it work, while the output force is the force produced by the machine as a result of the input force. In simple terms, the input force is what you put into a machine, and the output force is what you get out of it.


What is meant by efficiency of a machine?

It is the output energy compared to the input energy. This will always be less than 100%


What is the formula for calculating efficiency of a mechabical system?

Assuming you meant mechanical, Energy output / Input x 100


What is meant by zero phase frequency?

The zero phase frequency is the frequency at which the phase of the input signal and the output signal match.


What is meant by non inverting amplifier?

There is no such thing as an inverting or a non-inverting op amp.All op amps have both an inverting input and a non-inverting input. Their operation is such that the output will go to whatever value is required to make both inputs be the same. This implies feedback from output to inverting input.


What is power gain of an amplifier having input gain 20watt and output of 20mwatt is?

The power gain of an amplifier having an input of 20W and an output of 20mW is 0.001. Expressed in decibels, that is a gain of -30db. (log2 0.001 * 3)If you meant an output power of 20MW (mega instead of milli), the gain is 1,000,000, or +60db.


Power gain of an amplifier having input gain of 20W and what is the output gain of 20mW?

The power gain of an amplifier having an input of 20W and an output of 20mW is 0.001. Expressed in decibels, that is a gain of -30db. (log2 0.001 * 3)If you meant an output power of 20MW (mega instead of milli), the gain is 1,000,000, or +60db.


What is meant by impedence?

To get all the voltage from a source to a target without loss you need voltage bridging, that is a relative low output impedance to a higher input impedance. Usualy the input impedance is more than ten times higher then the output impedance.An input impedance is called also a load impedance or an external impedance.An output impedance is called also a source impedance or an internal impedance.


What is meant by input stream?

An input stream is a character sequence device or buffer from which input can be gathered. The standard input stream is usually a keyboard, data file or the output stream from another program. The user of the program can normally decide where standard input may be redirected from when launching the program, typically defaulting to the keyboard.