CS101 Post Lab 4.1 1. A programming language is designed to be a human-readable (and -writeable!) way to tell computers what to do. Programming languages allow us to give computers instructions. Most computer scientists would agree that JavaScript is a programming language, but many would not consider HTML one. Discuss one similarity between JavaScript and HTML that suggests both might be programming languages. Discuss one difference between JavaScript and HTML that suggests only JavaScript is a programming language. Similarity - both are human-readable ways to tell a computer what to do Difference - JavaScript can perform calculations, HTML can't 2. Consider the concepts of input and output in the context of everyday devices. The telephone takes input via its dialing buttons (or dial, if you have a rotary phone) and the end of the handset you speak into. Phone output comes from the ringer and the end of the handset you listen to. Consider each the following everyday devices and describe their input and output as thoroughly as possible: television, portable CD player. Television Input - signal in, remote control commands Output - picture out, volume and channel changes CD player Input - button presses Output - music starts, stops, rewinds, etc... 3. Consider the short JavaScript program you work with in Parts 2 and 3 of this lab. Does this program have input, output, both? Describe the input and/or output. How about the currency converter program? Does this program have input, output, or both? The alert boxes are outputs. The currency converter has an input - the amount of currency that you wish to convert. The output is the converted amount.