CT 310 Questions in Lecture, May 5th 2009
Your Name __________________
Circle Question Answered?
1. What does the acronym URL stand for?
2. Which web browser came first, Mosaic or Internet explorer?
3. Get a two or three sentence definition of packet switching.
4. In common parlance, is a typical laptop a web client or a Web server?
5. Explain W3C validation.
6. What are the first four characters in a valid X. HTML document?
7. Explain the difference between the tags <dt> and <dd>.
8. What language defines how content is presented on the web?
9. Have you ever seen a horse drinking beer - why do I ask?
10. Tables are deprecated as a means of _______ (fill in the blank).
11. What 2 style directives cause a div to be centered?
12. Explain the difference between margins and padding.
13. What do Arial and Helvetica have in common?
14. Explain the most basic way of saying "white" in a CSS style directive.
15. Divisions in closing a floating division must entirely contain the float (true/false)?
16. Explain the difference between specifying a style using "id" versus "class".
17. Explain the purpose of: text-decoration:none.
18. How does one register a division with respect to the bottom right of the page?
19. What practical use is the attribute "target" when specifying an anchor?
20. Does XHTML itself provide a means of building off templates?
21. Is it possible to specify the type of a PHP variable?
22. PHP strings enclosed in single quotes do variable substitution when?
23. The CT 310 website uses 2 common includes to start a page, why?
24. What does "$_SERVER['HTTP_USER_AGENT']" tell a PHP program?
25. Arrays in PHP must be indexed starting at zero (true/false)?
26. Can a reverse DNS lookup be performed directly within PHP?
27. Which is more private for passing form data, GET or POST?
28. Why does Google pass form data as part of the URL?
29. When is "foreach" a better choice than "for"?
30. What is the fourth optional argument to the PHP Mail command?
31. PHP programs can only see files directly visible to website's file tree (true/false)?
32. Explain the relative merits of GIF, JPEG and PNG image files.
33. What does "hamster dance" mean to an early user of the web?
34. Where was the use of "natural join" first illustrated in CT 310?
35. Explain what is meant by "MySQL injection"?
36. What is important to know about port 443?
37. Why do people discussing JavaScript always talk about the DOM?
38. What is the value of understanding ".innerHTML"?