1) HTML and JavaScript each specify certain instructions to the computers. HTML and Javascript have particular syntax rules
that code for specific instructions which result in functions. But Javascript is considered a programming language, thus we will never see
a javascripts program by itself. It can be thought of as an extension to HTML.
2) The buttons on a remote control is the television's input. The buttons may include to power the tv on/off or even change the channels or control the
volume. The output is the display on the television screen. On a CD player the buttons can switch songs, pause, or change the volume. The output of a cd player
is what one hears such as a song.
3) The JavaScript program in parts of lab 4.1 had only output. The code told the computer to display an alert which was text.The Currency converter program has both input and output.
The input is from the user of the currency program.The output is the result of the function. (which the function is based on the exchange rate calculation)