Notes:
- Regarding terms, you should know the definitions and concepts well enough to be able to answer "compare and contrast", "fill-in-the-blank", and "definition matching" questions.
- This is not meant to be an exhaustive list of possible questions for the exam. It is meant to give you a general idea of the possible types of questions that might be asked and an idea of the topics I think are most important.
- You should also study homework questions and problems that we've discussed during lectures.
- The final exam is comprehensive, so make sure to study the midterm study guide as well.
HTML
- Terms
- absolute links
- relative links
- frameset
- frame
- Is HTML a programming language? If not, what is it?
- In what directory do you typically store HTML files? What should be the permissions on that directory? The files inside the directory?
- How does HTML treat spaces? How do you intentionally add space in an HTML file?
- What is the format for HTML comments?
- How do you specify a link in HTML?
- How do you specify that a link should open in a new window?
- HTML frames are considered outdated. Why? What has taken their place?
- Given a snippet of HTML code, sketch the page that would result. (This HTML may include lists, tables, frames, etc.)
Color and Image Maps
- Terms
- How many bits are needed to represent 64 different colors?
- What are the base colors in the 3-D color space?
- What colors are represented by the following hexadecimal codes: #000000 #FF0000 #00FF00 #0000FF #FFFFFF?
- Is the color represented by #EE0000 lighter or darker than the color represented by #FF0000?
- What are the three shape types available for an image map?
- How is the rectangle shape type specified (ie, what coordinates are given)?
HTML Forms and CGI
- Is CGI a programming language? If not, what is it?
- What is used to define the layout for a form? What is used to process the data from the form?
- What is the purpose of the type input tag attribute?
- What is the purpose of the name input tag attribute?
- How is the particular script that will process the form data specified?
- What is the difference between using the get method of submitting a form and using the post method?
- Given the specification of a form that uses the get method, provide the URL that will be generated when the user presses the Submit button.
- Describe the process that occurs when the uses presses the Submit button.
- What is the purpose of the Reset button in a form?
- If you have a password input type, should you use the get method or the post method for submitting the form? Explain.
- Describe the process that occurs on the server when it receives a CGI request.
- What are two alternatives to using CGI-based scripting languages like Perl?
- What are the main differences between ASP and PHP?
CSS
- What are some advantages to using CSS for styling web pages?
- What are three ways to specify CSS definitions?
- How are CSS comments defined?
- What are the three parts of a CSS rule?
- Draw the CSS box model, specifying the content, padding, border, and margin.
- What is the difference between margin and padding?
- Given a CSS definition and an HTML snippet, describe how the page will look.
Javascript
- Is Javascript a programming language? If not, what is it?
- How is Javascript different than Java?
- Where does Javascript run (on the client or on the server)?
- What HTML tags have to surround embedded Javascript?
- How is an external Javascript file specified?
- How are comments defined in Javascript?
- What is the Javascript command to print information to the web page?
- What is the Javascript command to pop up a box on the browser?
- What are some common Javascript events and how can they be used?
- How is the id HTML attribute useful for Javascript?
- Given a Javascript embedded in HTML, describe what the user must do to cause the Javascript to execute.
- Given a Javascript embedded in HTML, describe what the script will do.
XML
- Is XML a programming language? If not, what is it?
- What does XML do?
- Does XML have pre-defined tags? Explain.
- What is the purpose of XML?
- Given an XML file, draw its tree structure.
- Are XML tags case-sensitive?
- What are two ways of styling the display of an XML file?
- What is the XMLHttpRequest object and how can it be used?
PHP and AJAX
- Is PHP a programming language? If not, what is it?
- Is AJAX a programming language? If not, what is it?
- What tags must surround PHP code that is embedded in HTML?
- Where does PHP run (on the client or on the server)?
- How can PHP be used with HTML forms (i.e., how is the particular PHP script specified)?
- Given HTML and PHP code, describe what the resulting page will look like.
- What technologies is AJAX based on?
- What object is the basis of AJAX?
- Given a code example using AJAX, describe the operations that will take place on the client and operations that will take place on the server.
Google Maps
- What language does the Google Maps API use?
- How do you specify the different map types (map, satellite, hybrid)?
- What is the importance of the GLatLng object?
- How do you add a point to the map?
- How do you specify the center point and zoom level on the map?
- What is geocoding?
Web Search
- Terms
- Googlebot
- deep crawling
- fresh crawling
- PageRank
- Wayback Machine
- What are the two main phases of any search engine? What tasks are required in each of the phases?
- What are the three main components of Google search?
Limiting Web Access
- What is '/robots.txt' and how can it be used?
- How can a webpage author, not the website owner, control robots?
- How can webpages be protected against public access?
- What file is used to specify the protection for a set of webpages?
P2P Systems
- Terms
- distributed hash table
- BitTorrent tracker
- BitTorrent torrent
- What is the main differences between a client-server architecture and a peer-to-peer architecture?
- What are three general methods used to locate content in a P2P system?
- What are the disadvantages to using a centralized directory?
- How are distributed hash tables used in P2P systems?
- Is Skype a P2P system?
PmWiki
- How are links specified in PmWiki?
- What two files are needed to specify a PmWiki skin? What is the purpose of each file?