cs571_17sp-final-papa-s2-answers.pdf - Computer Science 571 2nd Exam Prof Papa Thursday May 4 2017 6:00pm 7:20pm Name 1 2 Student ID Number This is a

cs571_17sp-final-papa-s2-answers.pdf - Computer Science 571...

This preview shows page 1 - 4 out of 10 pages.

1 Computer Science 571 2 nd Exam Prof. Papa Thursday, May 4, 2017, 6:00pm – 7:20pm Name: Student ID Number: 1. This is a closed book exam. 2. Please answer all questions on the test Question Category Score High Performance Websites Questions JavaScript + AJAX Questions Web Security Questions JQuery Questions JavaScript Frameworks and Serverless Questions Cookies and Privacy Questions Secure Web Communication Questions Total High Performance Websites Questions [10 pts] Each question is worth 2 points. Q1. Among the 14 rules that were given for improving the client-side performance of a web page, one rule suggests placing items at the bottom of the web page. What rule is it? Q2. Consider the following HTTP response header:
Image of page 1
Q3. What does CDN stand for and how does it improve website performance? Q4. Why is it suggested to minimize re-directs? Q5. The lecture on high performance web sites listed 14 ways to improve the download performance of a website. List 4 of the ways that were presented by providing one sentence that describe “how” they improve performance. PLACE ALL ANSWERS BELOW. a. Make fewer http requests b. Use a CDN c. Add and expires header d. Gzip components e. Put stylesheets at the top f. Move scripts to the bottom g. Avoid CSS expressions h. Make JS and CSS external i. Reduce DNS lookups j. Minify JavaScript
Image of page 2
3 k. Avoid redirects l. Remove duplicate scripts m. Configure Etags n. Make AJAX cacheable JavaScript + AJAX Questions [10 pts] Above is a snapshot of a web page and below the corresponding source code. Some of the code is missing. Fill in the missing elements. Each answer is worth 2 points.
Image of page 3
Image of page 4

You've reached the end of your free preview.

Want to read all 10 pages?

  • Fall '07
  • Papa
  • Ajax

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture