Lab 4.1 Jessica Enlow 1. In the same way that you can write an HTML file and open it on a computer that’s completely disconnected from the Internet, you can write and run JavaScript programs on a non-networked computer. A JavaScript program will never be written by itself. Every JavaScript program is written as part of a webpage, and a web browser is used to run the programs. JavaScrips is a kind of extension of HTML. 2. Television: input is through the remote control buttons; output is the image on the screen and through the sound speakers. CD Player: input is the CD and various buttons such as play, pause, and forward; output is through the earbuds. 3. The JavaScript program has both input and output. The input is what the user types into the HTML page, and the output is the alert that the user sees. The currency converter has both input and output. The input is the dollar amount that the user enters, and the output is the exchange rate that the computer gives.