1 Computer Science 571 2 nd Exam Prof. Papa Thursday, December 7, 2017, 6:00pm – 7:20pm Name: Student ID Number: 1. This is a closed book exam. 2. Please answer all questions on the test Cookies and Privacy Questions [10 pts] Each question is worth 2 points. Q1: Mention two ways to Opt Out of cookies. A1: Q2: Cookies include a domain, path, a name/value pair and an expiration date. There are two other fields that may be included in a cookie. What are they and describe them briefly? A2: Q3: Define 3 rd party cookie? A3: Q4: Define Cross Site Scripting (XSS). A4:
2 Q5: Define Cross Site Request Forgery (CSRF). A5: Web Security Questions [10 pts] Each question is worth 2 points. Q1: What is a recent technique to construct highly secure passwords? A1: Q2: What functionality do PGP and S/MIME provide? A2: Q3: What is the main functionality of TOR? A3: Q4: Why are browser plugins inherently insecure? A4: Q5: Is it possible to send a virus in a cookie? A5: Yes [ ] No [ ] High-Performance Web Questions [10 pts] Each question is worth 2 points. Q1. What percentage of the end-user response time is spent in the front-end?
3 Q2. List 2 ways that reduce the number of HTTP requests? Q3. What 5 types of files should be GZIP-ed (i.e. compressed)? Q4. What 2 types of files should not be GZIP-ed? Q5. Where should CSS and scripts be placed in a HTML file? HTML5 Questions [10 pts] Each question is worth 2 points. Q1: The use of the <div> tag has been replaced by a number of new elements included in HTML5. Name two of them. A1: Q2: Which of the following capabilities are included in HTML5? A2: [ ] drag file in browser [ ] interactive canvas gradient [ ] editable content [ ] geolocation [ ] drag and drop [ ] storage [ ] ALL OF THE ABOVE [You must choose the correct choice or choices. There is no partial credit]
4 Q3: What is the purpose of the different “profiles” included in the H. 264 video standard?
You've reached the end of your free preview.
Want to read all 12 pages?