{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Exam3Spr2009-3pm - CS1315 Spring 2009 April 17 3pm Name DO...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
CS1315 Spring 2009 April 17 3pm Name_______________________ 1 of 5 DO NOT WRITE IN THIS BOX. FOR GRADING USE ONLY. Page Points Earned Points Lost Graded by: Page 2 (28 pts) Page 3 (24 pts) Page 4 (28 pts) Page 5 (20 pts + 1) Total (101)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2 of 5 HTML & WEB PAGE PROCESSING 1. <img src="me.jpg" width="100" height="100"> is someone's attempt at an image tag. If this is meant to be valid XHTML, what is missing? (a) depth attribute (b) alt attribute (c) closing slash / (d) 2 of the above are missing (e) none of the above are missing 2. A large heading is created by using this tag. 3. What the proper filename extension (ending) used for a style sheet for a website? 4. When using urllib to connect to a website from jython, which function below actually reads in the HTML content? 5. Which function should be used when your code is finished with the URL? (a) urllib.urlget(url) (b) urllib.close(url) (c) urllib.capture(url) (d) urllib.read(url) 6. javascript can be used to open up another browser window. (a) True (b) False 7. When using jython code to generate a web page, what will the following function do? def makeCode(name): return "<h1>" + name + "</h1>"
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}