MIDTERM A -- Review Questions -- Winter 2007 Part A. Definitions. Define the following terms: Browser, Text Editor, Server, Host, Packet Switching, DNS, ARPANET, Bit, Protocol, HTML Tag, Attribute, Document-level style, Element, Property, Value, Attribute, Directory, Parent Folder, Home Folder, Parent Folder Part B. Short Answers. 1. For what purpose was HTML invented? 2. Who lead the team that invented the transistor? 3. Why is John Von Neumann important in the history of computers? 4. What does a DNS server do? 5. For which invention is Tim Berners-Lee noted? 6. Explain how to download an HTML file from students.depaul.edu. 7. You upload an HTML web page to the server and try to view it with a browser, but nothing appears. List some possible reasons. 8. Why are file permissions important for web pages displayed on a server? 9. What are the delimiting tags for an HTML page? 10. Which HTML tag denotes a linebreak? 11. What does mean? 12. Write code to display the web page title "My Web Page". 13. How do you make an image clickable? 14. Which file format is best for photographs? 15. What is the term for extracting a rectangular subimage from an image. 16. What items go in the head section of an HTML page? 17. What does   mean? Part C. Problems. Show your work for each problem. 1. How is the following HTML code displayed in the browser? >table border="2"< 2. Write an image tag that displays the image dog.jpg in the images folder. The images folder is a child folder relative to the current folder. 3. Redo Problem C assuming that the images folder is a sibling folder, relative to the current folder. 4. How would you get the following text to display in a browser? All's well that ends well. 5. Write an absolute address tag with link text "Disney Web Site" and address "www.disney.com". 6. Write a span tag with an inline style that displays the word Rumplestiltskin with these specifications: a) Helvetica font b) Dark green text color c) Font size 80% of normal d) Underlined e) Boldfaced 7. Write a document-level style that sets the style for the each paragraph of an HTML page with these specifications: a) Arial font b) Blue text color c) 10 point font size d) Background color beige e) First line indented by 10 millimeters 8. What is displayed by the following source code in the browser?
b r w
m x u
q y a
9. Write a document-level style that makes all table cells 2 centimeters wide. 10. Write HTML code that places the images dog.jpg and cat.jpg into a table with one row. 11. Redo Problem 11 with a table that places the images in one column. Part D: Write Hyperlinks and Image Tags Here is the navigation architecture for Problems 1 and 2. 0 public_html 1 a.htm 1 b.htm 1 c 2 d.htm 2 e.htm 2 f 3 g.htm 3 cat.jpg 1. Write hyperlinks according to the following specs: Current Page Target File Hyperlink Text ============ =========== ============== e.htm a.htm To Page A a.htm b.htm To Page B g.htm e.htm To Page E g.htm b.htm To Page B 2. Write image tags according to the following specs: Current Page Image File ============ ========== d.htm cat.jpg g.htm cat.jpg