Programming Worksheets - Create Printable Tests and Worksheets

Create printable tests and worksheets from Programming questions. Select questions to add to a test using the checkbox above each question.

The Programming questions below are in the following grade level(s): College Continuing Education
previous page 1 2 3 next page
  • What rules must a well-formed XML document conform to?
    • A well-formed document must conform to the following rules, among others:

      1. Non-empty elements are delimited by both a start-tag and an end-tag.
      2. Empty elements may be marked with an empty-element (self-closing) tag, such as <IAmEmpty />. This is equal to <IAmEmpty></IAmEmpty>.
      3. All attribute values are quoted with either single (') or double (") quotes. Single quotes close a single quote and double quotes close a double quote.
      4. Tags may be nested but must not overlap. Each non-root element must be completely contained in another element.
      5. The document complies with its declared character encoding. The encoding may be declared or implied externally, such as in "Content-Type" headers when a document is transported via HTTP, or internally, using explicit markup at the very beginning of the document. When no such declaration exists, a Unicode encoding is assumed, as defined by a Unicode Byte Order Mark before the document's first character. If the mark does not exist, UTF-8 encoding is assumed.
      6. Element names are case-sensitive. For example, the following is a well-formed matching pair:
  • What is a Class?
    • A Class is the blueprint from which individual objects are created.
previous page 1 2 3 next page