Defining input and output
We will begin this section by studying input and its definition, which, in turn, is used to provide a result, or output.
Input is what is put into a system or machine. In computers, we have input devices that the computer then interprets to provide a result, or output. As we look at the types of inputs and how we use input in algorithms, you'll see the output we get from those algorithms. Let's take a look at some examples of input devices:
- Keyboard: When we use a keyboard, the computer interprets the keys and uses that interpretation in various programs, such as document writing and search bars.
- Mouse: The mouse is used to navigate our physical screens, helping us click through content and scroll through pages.
- Joystick: A joystick can be used to play computer games.
- Microphone: In more modern machines, microphones are not only used to communicate through phone and video apps, but also to take verbal commands for Artificial...