You are on page 1of 3

M.Sc.

(IT) 3rd Semester MSIT-3B Internet Programming (IP)

Assignment TA

marks 25

Each question carries TEN marks. Answer ALL questions

1. Write and execute a CGI script to display server information. 2. Write and execute a CGI script to execute a UNIX command selected by the user. 3. Write and execute a CGI script to accept the user name and flash it back with a greeting message. 4. Write and execute a CGI script for displaying access count of a HTML page. 5. Write and execute a CGI script that displays a greeting based on the system time of the accessing computer.

M.Sc.(IT) 3rd Semester MSIT-3B Internet Programming (IP)

Assignment TB

PART - A

1. The common applications that are designed using CGI are ___________, __________ and ______________. 2. The three types of perl variable are ___________, ____________and __________. 3. Status code ____________ indicates that the request is processed successfully and response is included in the content. 4. With GET method, the form data are sent as part of __________ and are saved in the ________ environment variable. 5. How do make the field hidden? 6. State any two SSI environment variables. 7. The __________ directive inserts the last modification date and time for a specified file. 8. CGI, Pm supports ___________ interface and ________ interface. 9. What are the two different methods CGI.pm uses for returning HTTP headers. 10. Mention the reasons for using HTML templates. 11. CSS stands for __________ 12. Mention any two advantages of XML. 13. ____________ option is used to enable perls taint mode.

PART - B

1. a) What is CGI ? Explain with diagram b) Why PERL is used for CGI programming? List the advantages. 2. a) Explain the variable type hash with the functions to access the contents of the hash. b) Write a perl program, which does the same as the UNIX cat command on a certain file. 3. a) What are the benefits of server redirections ? Explain with diagram. b) What for the forms are used in CGI applications? 4. a) With a neat diagram, explain the steps involved in form interaction with CGI. b) Explain the following SSI directives: i) fsize ii) include iii) flast mod 5. a) Explain the different applications of SSI. b) Explain http, https, self-url. 6. Explain the syntax of HTML : Template 7. a) What is DHTML ? Explain. b) What are the design goals of XML ? 8. a) What are the security threats associated with browser? b) What are the different modules available for creating graphs?

*******

You might also like