To Exam Info

IT 238 -- Takehome Final Exam

Opens: Friday, Nov 12; Closes: Monday, Nov 22, at 11:59pm.

Include a document with this statement in your submission:
I completed the Takehome Final Exam by myself without the help of any other persons.
10 point penalty if this statement is not included.

Do not upload your source code files for this exam to the ectweb server.

Create a folder named THFSmith (replace Smith with your last name).  For each problem create a subfolder that contains the files needed to solve the problem.  Name the subfolders parta, partb, partc, and partd.  When you are finished, create a zipfile of THFSmith named THFSmith.zip to submit.  As you did for the class projects, for each part, separate HTML, CSS, and JavaScript code into files with extensions .html, .css, and .js, respectively. Remember, the onclick attribute is not allowed in HTML elements; instead, add the event listeners in the JavaScript file with document.addEventListener or by setting attributes such as onclick.

Part A: Short Essay Question. 15 points. Only answer one question out of three. For full credit, write in full sentences with paragraphs. Target your answers to someone that understands computer programming, but who is not an expert in web development.  Put your short essay in a word or text document into the parta folder. About one half to one page.

  1. Suppose that the body of your HTML page consists of the empty body defined by
    <body></body>
    
    Explain how to add content and styles to this body using JavaScript functions. How is this related to the DOM tree? Give examples.
  2. What is JSON? How is it used to represent JavaScript content, such as arrays and object literals. How is JSON data used in a web application.  Give examples.
  3. What are regular expressions? How can they be used used to validate the fields on web pages. Give examples.

Part B. Submission Form. 15 points.

Part C: Find the Errors. 15 points.

Part D: Translate jQuery Code. 10 points.