Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

CS 898n Final Exam: Web Tech, Perl, CGI, DB, Security, E-Commerce, XML, Exams of Computer Science

The final exam questions for a computer science course focusing on various web technologies, including dhtml, dom, sax, sgml, soap, xml, xsl, perl, cgi, internet databases, security, and e-commerce. The exam includes multiple choice questions and answers, as well as a semester project outline and xml practice instructions.

Typology: Exams

2009/2010

Uploaded on 02/25/2010

koofers-user-83f-1
koofers-user-83f-1 🇺🇸

10 documents

1 / 5

Toggle sidebar

Related documents


Partial preview of the text

Download CS 898n Final Exam: Web Tech, Perl, CGI, DB, Security, E-Commerce, XML and more Exams Computer Science in PDF only on Docsity! CS 898n - Final Exam - Name: Date: Wednesday, December 12, 2001, 7:40 - 9:30 PM Instructions to Examinees: • This is a close book and close note exam. • Honesty policy is strictly enforced. You could get zero because of dishonesty. • Please show all work on exam sheets. You can write on the backside of the exam sheets. • Time is limited. Please write the key points. • Any assumption made in answering questions should be stated. • Points for this paper total 200. Question 1 - Web Technologies (21 points) What do these terminologies stand for? 1. DHTML - Dynamic HyperText Markup Language 2. DOM - Document Object Model 3. SAX - Simple API for XML 4. SGML - Standard Generalized Markup Language 5. SOAP - Simple Object Access Protocol 6. XML - Extensible Markup Language 7. XSL - Extensible Stylesheet Language Question 2 - Perl and CGI (16 points) The following URL is typical of those observed when performing queries to a search engine: http://search.yahoo.com/bin/search?p=%22electronic+commerce%22 1. What is the difference between the GET and POST methods? 2. Can you tell which HTML form method is used from this URL? Give the reason for your answer. 3. What is the name of the CGI program which is executed by the Web server? What is the user input from the HTML form? 4. How does the CGI program access the data which is submitted when this URL is accessed? Ans: 1. The difference is how the data is retrieved by the CGI program. In GET method CGI data is formatted in two pieces, separated by a ? The formatted user input is placed in the environment variable QUERY_STRING, which is limited to 1024 characters. POST directs the formatted user input into the standard input buffer. 2. It was specified as GET because the query string is separated by a ?. 3. search is the CGI program. 4. The data is accessed through the environment variable QUERY_STRING. Question 3 - Internet Database (8 points) What are three components you need to provide online database access? Ans: The three components are: (1) A database that can be created in any computer. (2) A script or program to reside on the server that can access the data. (3) A CGI form or applet to send queries to the script or program on the server. Question 4 - Security and E-Commerce (25 points) 1. What is PGP? (5 points) 2. What is TLS? (5 points) 3. What is SET? (5 points) 4. What is a digital certificate? What information is contained in a digital certificate? (10 points) Ans: 1. Pretty Good Privacy (PGP) is a popular program used to encrypt and decrypt e-mail over the Internet. 2. TLS (Transport Layer Security) is a protocol that ensures privacy between communicating applications and their users on the Internet. 3. SET (Secure Electronic Transaction) is a system for ensuring the security of financial transactions on the Internet. 4. A digital certificate is an electronic "credit card" that establishes your credentials when doing business or other transactions on the Web. A digital certificate contains the following six pieces of information: (1) The owner’s public key (2) The owner’s identity (3) The issuer’s identity (4) A serial number (5) The issuing and expiration dates (6) The issuer’s digital signature Question 5 - XML Concepts (35 points) 1. How can XML be used? (10 points) 2. What are three parts of XSL? (10 points) 3. What is a well-formed XML document? (15 points) Ans: 1. (1) XML can separate Data from HTML. (2) XML is used to exchange, store, and share data. (3) XML can make your Data more Useful. (4) XML can be used to Create new Languages. 2. (1) A method for transforming XML documents (2) A method for defining XML parts and patterns (3) A method for formatting XML documents 3. (1) All XML elements must have a closing tag. (2) XML tags are case sensitive. (3) All XML elements must be properly nested. (4) All XML documents must have a root tag. (5) Attribute values must always be quoted. (6) Element names must follow naming rules. Question 6 - Semester Project (20 points) 1. Outline your semester project. (8 points) 2. Specify its main features, current shortcomings, and future development. (12 points)
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved