Lab 4.1 Post Lab Questions
1.
Both HTML and Javascript use letters (or words) to tell the computer what to do.
Javascript can be better considered a programming language because it enhances web pages by
providing instructions ...html
basically just says how content would look on a page-it is a markup language.
2.
Tellevision: The signal from the studio is input, the remote control functions as output.
Portable CD Player: The cd is the input, the sound that the user hears is the player's output.
3.
The short JavaScript program from parts 2 and 3 has both an output and an input.
Once a user visits the site,the program outputs the various alerts, requiring input from the user
in the form of clicking the "okay" button.
The currency converter program has both an input and output. The input would be the number
that the user would provide to be converted. The output would be the translated value in the other
currency, as provided by the program.