WEB TECHNOLOGY VTU LAB PROGRAMS | ALL IN ONE
VTU WEB TECHNOLOGY
Program -1 WRITE A JAVASCRIPT TO DESIGN A SIMPLE CALCULATOR TO PERFORM THE FOLLOWING OPERATIONS- SUM, PRODUCT, DIFFERENCE, AND QUOTIENT
2] WRITE A JAVASCRIPT THAT CALCULATES THE SQUARES AND CUBES OF THE NUMBERS FROM 0 TO 10 AND OUTPUTS HTML TEXT THAT DISPLAYS THE RESULTING VALUES IN AN HTML TABLE FORMAT.
3] WRITE A JAVASCRIPT CODE THAT DISPLAYS TEXT “TEXT-GROWING” WITH INCREASING FONT SIZE IN THE INTERVAL OF 100MS IN RED COLOR, WHEN THE FONT SIZE REACHES 50PT IT DISPLAYS “TEXT-SHRINKING” IN BLUE COLOR. THEN THE FONT SIZE DECREASES TO 5PT
4] DEVELOP AND DEMONSTRATE A HTML5 FILE THAT INCLUDES JAVASCRIPT SCRIPT THAT USES FUNCTIONS FOR THE FOLLOWING PROBLEMS
- PARAMETER: A STRING
- OUTPUT: THE POSITION IN THE STRING OF THE LEFT-MOST VOWEL
- PARAMETER: A NUMBER
- OUTPUT: THE NUMBER WITH ITS DIGITS IN THE REVERSE ORDER
5] DESIGN AN XML DOCUMENT TO STORE INFORMATION ABOUT A STUDENT IN AN ENGINEERING COLLEGE AFFILIATED WITH VTU. THE INFORMATION MUST INCLUDE USN, NAME, AND NAME OF THE COLLEGE, BRANCH, YEAR OF JOINING, AND EMAIL ID. MAKEUP SAMPLE DATA FOR 3 STUDENTS. CREATE A CSS STYLE SHEET AND USE IT TO DISPLAY THE DOCUMENT
6] WRITE A PHP PROGRAM TO KEEP TRACK OF THE NUMBER OF VISITORS VISITING THE WEB PAGE AND TO DISPLAY THIS COUNT OF VISITORS, WITH PROPER HEADINGS
7] WRITE A PHP PROGRAM TO DISPLAY A DIGITAL CLOCK THAT DISPLAYS THE CURRENT TIME OF THE SERVER.
8] WRITE THE PHP PROGRAMS TO DO THE FOLLOWING:
- IMPLEMENT SIMPLE CALCULATOR OPERATIONS.
- FIND THE TRANSPOSE OF A MATRIX.
- MULTIPLICATION OF TWO MATRICES.
- ADDITION OF TWO MATRICES.
9] WRITE A PHP PROGRAM NAMED STATES.PY THAT DECLARES A VARIABLE STATES WITH VALUE “MISSISSIPPI ALABAMA TEXAS MASSACHUSETTS KANSAS”. WRITE A PHP PROGRAM THAT DOES THE FOLLOWING:
- SEARCH FOR A WORD IN VARIABLE STATES THAT ENDS IN XAS. STORE THIS WORD IN ELEMENT 0 OF A LIST NAMED STATESLIST
- SEARCH FOR A WORD IN STATES THAT BEGINS WITH K AND ENDS IN S. PERFORM A CASEINSENSITIVE COMPARISON. [NOTE: PASSING RE.IAS A SECOND PARAMETER TO METHOD COMPILE PERFORMS A CASE-INSENSITIVE COMPARISON.] STORE THIS WORD IN ELEMENT1 OF STATESLIST.
- SEARCH FOR A WORD IN STATES THAT BEGINS WITH M AND ENDS IN S. STORE THIS WORD IN ELEMENT 2 OF THE LIST.
- SEARCH FOR A WORD IN STATES THAT ENDS IN A. STORE THIS WORD IN ELEMENT 3 OF THE LIST.
10] WRITE A PHP PROGRAM TO SORT THE STUDENT RECORDS WHICH ARE STORED IN THE DATABASE USING SELECTION SORT.