Web System Midterm SPRING 2005

(Dr. A. Ebrahimi)

 

Paste your answers to a word document.

Please answer each part of each question separately.

 

Q1a) What is Web System? Give two Examples.

Q1b) What is e-Commerce? Give two Examples.

Q1c) Why do you need a web server? Name two major servers systems.

 

Q2a) How do you get a domain name for your business? What is yours? Indicate two steps

Q2b) How do you get the web host for your business. What is yours? Indicate two steps

Q2c) Why CGI is better than ASP or JSP? Justify.

 

Q3a) Design an e-Commerce site by incorporating the major ten tags from the text book.

Q3b) Give two other alternatives in designing your business webpage by not using HTML.

Q3c) Indicate one advance for each of the above three including HTML.

 

Q4a) what is JavaScript or VBScript and why are they useful?

Q4b) Write a JavaScript program that search for the username (e.g. ebrahimia) and display an email (e.g. ebrahimia@oldwestbury.edu).

Q4c) Write a simple search engine for your web page by using JavaScript or any other languages (e.g. C++).

 

Q5a) What is CGI and what do you need to run a CGI program? Indicate five major steps. (A sample CGI in C++)

Q5b) Explain how does a CGI program work? How does the program get an input from the form,  process it  and output back to a form. You may want to use an example in the text book Show your work (at least three steps).

Q5c) Write a CGI program that takes an username and return an email.  Run the program with C++.

Q5d) Write the code for the form (index.html) for the above CGI.