CS2550 Web Programming I
Study Guide for Test 1

The first test will cover Lessons 1 through 4. The test will have about 40 questions, with most or all questions being multiple-choice or short answer. No books, notes, or Web resources are allowed in the exam. The test will be an online test in Canvas, but a code is required so you will need to take the test in the testing center or, for an online class, make arrangements with the Office of Teaching and Learning for a proctor at another location.

To study for the test you should review the lesson notes, slides, and reading assignments for each lesson. Below is a list of topics that you should know for the test. This list is meant to be helpful, but it isn't an exhaustive list.

Lesson 1--HTML and Web Technology

• Web transactions and the HTTP protocol:
--Transactions initiated by the client
--HTTP stands for Hyper Text Transfer Protocol
--GET and POST are the most commonly used HTTP requests

• Purpose of HTML and HTML's relationships to SGML and XML
--SGML is the parent language of both HTML and XML

• IP addresses, domain names, and domain name servers
Example of an IP (version 4) address: 192.168.0.1
Example of a domain name: www.uvu.edu
Domain Name Service (DNS) translates domain names to IP addresses

• W3C, IETF
--W3C - World Wide Web Consortium
--W3C is an international organization responsible for standards for HTML, CSS, XML
--IETF - Internet Engineering Task Force

You should know the concepts, tags, and attributes listed in the following list:

  • definition of URL and parts of URLs
  • absolute and relative URLs
  • root tag pair <html>
  • <head> and <body>
  • <img> including the src, alt, width, and height attributes
  • <title>
  • link <a href="...">
  • <div>
  • headings <h1>, <h2>, etc.
  • comments <!-- -->
  • break <br>
  • horizontal rule (line) <hr>
  • lists (ordered and unordered) <ul>, <ol>, <li>
  • forms and input elements <form>, <input>
    --input, select, option, textarea, submit buttons
  • tables <table>, <tr>, <td>
  • Note that only opening tags are listed here even though most of these tags are used in opening-closing pairs.

    In addition to the tags and attributes listed above, be sure to read about the class and id attributes.

    Lesson 2--CSS

    Here are some CSS properties you should be sure to understand:
    • font-family, font-size
    • background-color, background-image
    • height, width
    • padding, border, margin (including -right, -top, -left, and -bottom properties)
    • color
    • float, clear, display, visibility
    • position, left, right, top, z-index
    • text-align, text-decoration, text-indent, vertical-align

    Lesson 3--Basic JavaScript

    Lesson 4--Object-Oriented JavaScript