Please answer each of the following questions.
- Why is it important to create Web content from which computer programs can extract information automatically? Give several examples of things that the Web does for us today that would not be possible if such information extraction were not practical.
- ...your answer here...
- Briefly: what is the difference between a declarative and an imperative language? What does the The Rule of Least Power say about the advantage(s) of using declarative languages on the Web.
- ...your answer here...
- What is Turing-completeness? Name a Turing-complete language that is commonly used to create Web documents and applications. What is the important characteristic of Turing-complete languges that the finding discusses?
- ...your answer here...
- Name three Turing complete languages that you know how to use (or that you know of).
-
- ...answer...
- ...answer...
- ...answer...
- Name three declarative languages that you know how to use (or that you know of).
-
- ...answer...
- ...answer...
- ...answer...
- Should we ever use non-declarative languages for content sent to Web clients? Why or why not? If yes, then how should we choose which to use when?
- ...your answer here...
- Give a real-world example of a Web application that uses client-side JavaScript logic to navigate states. Explain how this application keeps track of states (to the extent you can tell)? Can you email links to states of the application to other users? Does the fwd/back button work within the application? (Extra credit: can you explain how the application is doing this? Which browser features is it using? To answer this, you have to know a lot about browsers and their APIs, so that's why this is extra credit.
- ...your answer here...