Skip to content

Latest commit

 

History

History
36 lines (32 loc) · 2.8 KB

README.md

File metadata and controls

36 lines (32 loc) · 2.8 KB

Advanced_Web_Programs

AWP lab programs MCA BU 5th sem

Note: Save all the perl/cgi programs in cgi-bin folder and all the php files in htdocs folder.

This repo will contain all the Lab programs.

Questions

  1. Develop and demonstrate a XHTML file that includes Javascript script to generate first n Fibonacci numbers.
  2. Develop and demonstrate the usage of inline and external style sheet using CSS
  3. Develop and demonstrate, using Javascript script, a XHTML document that collects the USN (the valid format is: A digit from 1 to 4 followed by two upper-case characters followed by two digits followed by two upper-case characters followed by three digits; no embedded spaces allowed) of the user. Event handler must be included for the form element that collects this information to validate the input. Messages in the alert windows must be produced when errors are detected.
  4. Develop and demonstrate, using Javascript script, a XHTML document that contains three short paragraphs of text, stacked on top of each other, with only enough of each showing so that the mouse cursor can be placed over some part of them. When the cursor is placed over the exposed part of any paragraph, it should rise to the top to become completely visible.
  5. Design an XML document to store information about a student in a college affiliated to BU. The information must include USN, Name, Name of the College, Brach, Year of Joining, and e-mail id. Make up sample data for 3 students. Create a CSS style sheet and use it to display the document.
  6. Write a Perl program to display a digital clock which displays the current time of the server.
  7. Write a Perl program to insert name and age information entered by the user into a table created using MySQL and to display the current contents of this table.
  8. Write a PHP program to store current date-time in a COOKIE and display the ‘Last visited on’ date-time on the web page upon reopening of the same page.
  9. Write a PHP program to read student data from an XML file and store into the MYSQL database. Retrieve and display.
  10. Write a Perl program to keep track of the number of visitors visiting the web page and to display this count of visitors, with proper headings.
  11. Write a CGI-Perl program to use a cookie to remember the day of the last login from a user and display it when run.
  12. Write a Perl program to display various Server informations like Server Name, Server Software, Server protocol, CGI Revision etc.
  13. Create a XHTML form with Name, Address Line 1, Address Line 2, and E-mail text fields. On submitting, store the values in MySQL table. Retrieve and display the data based on Name.
  14. Write a Perl program to accept the User Name and display a greeting message randomly chosen from a list of 4 greeting messages.