본문 바로가기

카테고리 없음

Unix Lab Programs Vtu

  1. Unix Lab Programs Vtu Download
  2. Unix Lab Programs Vtu Download
  3. Unix Shell Programming Lab Manual Vtu
Cse

Develop and demonstrate a XHTML document that illustrates the useexternal style sheet, ordered list, table, borders, padding, color, and thetag.2. Develop and demonstrate a XHTML file that includes Javascript scriptfor the following problems:a) Input: A number n obtained using promptOutput: The first n Fibonacci numbersb) Input: A number n obtained using promptOutput: A table of numbers from 1 to n and their squares using alert3. Develop and demonstrate a XHTML file that includes Javascript scriptthat uses functions for the following problems:a) Parameter: A stringOutput: The position in the string of the left-most vowelb) Parameter: A numberOutput: The number with its digits in the reverse order4.

A) Develop and demonstrate, using Javascript script, a XHTMLdocument that collects the USN ( the valid format is: A digit from 1 to 4followed by two upper-case characters followed by two digits followed bytwo upper-case characters followed by three digits; no embedded spacesallowed) of the user. Event handler must be included for the form elementthat collects this information to validate the input. Messages in the alertwindows must be produced when errors are detected.b) Modify the above program to get the current semester also(restricted to be a number from 1 to 8)5.

A) Develop and demonstrate, using Javascript script, a XHTMLdocument that contains three short paragraphs of text, stacked on top ofeach other, with only enough of each showing so that the mouse cursorcan be placed over some part of them. When the cursor is placed over theexposed part of any paragraph, it should rise to the top to becomecompletely visible.b) Modify the above document so that when a paragraph is moved fromthe top stacking position, it returns to its original position rather than tothe bottom.6. A) Design an XML document to store information about a student in anengineering college affiliated to VTU. The information must includeUSN, 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 todisplay the document.b) Create an XSLT style sheet for one student element of the abovedocument and use it to create a display of that element.7.

A) Write a Perl program to display various Server Information likeServer Name, Server Software, Server protocol, CGI Revision etc.b) Write a Perl program to accept UNIX command from a HTML formand to display the output of the command executed.8. A) Write a Perl program to accept the User Name and display agreeting message randomly chosen from a list of 4 greeting messages.b) Write a Perl program to keep track of the number of visitors visitingthe web page and to display this count of visitors, with proper headings.9. Write a Perl program to display a digital clock which displays thecurrent time of the server.10. Write a Perl program to insert name and age information entered bythe user into a table created using MySQL and to display the currentcontents of this table.11. Write a PHP program to store current date-time in a COOKIE anddisplay the ‘Last visited on’ date-time on the web page upon reopening ofthe same page.12. Write a PHP program to store page views count in SESSION, toincrement the count on each refresh, and to show the count on web page.13. Create a XHTML form with Name, Address Line 1, Address Line 2,and E-mail text fields.

Unix Lab Programs Vtu Download

On submitting, store the values in MySQL table.Retrieve and display the data based on Name.14. Using PHP and MySQL, develop a program to accept bookinformation viz. Accession number, title, authors, edition and publisherfrom a web page and store the information in a database and to search fora book with the title specified by the user and to display the search resultswith proper headings.

Unix Lab Programs Vtu Download

A) Shell script that accepts file names specified as arguments and creates a shell script that contains this file as well as the code to recreate these files. Thus if the script generated by your script is executed, it would recreate the original files(This is same as the “bundle” script described by Brain W. Kernighan and Rob Pike in “ The Unix Programming Environment”, Prentice – Hall India).b) C program to do the following: Using fork( ) create a child process.The child process prints its own process-id and id of its parent and then exits.

Unix Shell Programming Lab Manual Vtu

The parent process waits for its child to finish (by executing the wait( )) and prints its own process-id and the id of its child process and then exits.