Comp 150 exam 2 study guide Dordal Exam is Wed, Apr 12
The exam will cover the following material:
1. HTML and CGI
AE 4.3: Anatomy of a [web] Page
AE 4.4: Essential HTML
These two sections cover web-page basics
AE 4.5: Information Structures
Web-page lists (
), tables (), and frames
AE 4.6: XML: Tags of your own
You should understand the goals of XML (to provide content-level tagging),
AE 4.7: XSL: Processing XML
How XSL defines conversions from XML to HTML
AE 5.3: Pots and Pans: Forms
"Forms" on web pages. Ignore the (client-side) javascript stuff.
The rest of chapter 5 is too focussed on javascript to be of much use.
However, you should familiarize yourself with lab 8, and how we used
*server*-side python programs to produce dynamic (ie in response to forms) html.
The python fact.cgi file, simplified a bit, is below.
You should be familiar with
cgi.FieldStorage(...)
form.getfirst(name)
form.getfirst(name, defaultvalue)
form.getlist(name)
You should understand the correspondence between the "name" variable above,
a string, such as "num1", and the attribute NAME="num1" inside the HTML
5. How would the html above appear on the user's screen?
6. Write a