Web Lab Manual
Lab_manual
User Manual:
Open the PDF directly: View PDF
.
Page Count: 32
| Download | |
| Open PDF In Browser | View PDF |
VISVESVARAYA TECHNOLOGICAL UNIVERSITY JNANA SANGAMA, BELGAVI-590018, KARNATAKA WEB TECHNOLOGY LABORATORY WITH MINI PROJECT- 15CSL77 MANUAL / GUIDELINES Department of ISE & CSE RNS Institute of Technology Rajarajeshwari Nagar Post, Channasandra, Bengaluru-560 098 2018-2019 CONTENTS Page no. 1. Syllabus 2. Program 1 - JavaScript : Simple calculator 1 4 3. Program 2 - JavaScript : Calculate squares and cubes of the numbers from 7 0 to 10 4. Program 3 - JavaScript : TEXT-GROWING and TEXT-SHRINKING 9 5. Program 4 - HTML5 and JavaScript : 11 a) position in the string of the left-most vowel b) number with its digits in the reverse order 6. Program 5 - XML document to store information about a student 14 7. Program 6 - PHP : display the number of visitors visiting the web page. 17 8. Program 7 - PHP : display digital clock with current time of the server. 18 9. Program 8 - PHP : a) Implement simple calculator operations. 19 b) Find the Transpose of a matrix, Multiplication of two matrices and 22 Addition of two matrices. 10. Program 9 – PHP : program with variable states with value 25 “Mississippi Alabama Texas Massachusetts Kansas" 11. Program 10 – PHP : program to sort the student records using selection sort. 27 FDP-Web Technology Lab With Mini Project – 15CSL77 2018-2019 WEB TECHNOLOGY LABORATORY WITH MINI PROJECT [As per Choice Based Credit System (CBCS) scheme] (Effective from the academic year 2016 -2017) SEMESTER – VII Subject Code 15CSL77 IA Marks 20 Number of Lecture Hours/Week 01I + 02P Exam Marks 80 Total Number of Lecture Hours 40 Exam Hours 03 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 10and 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 “TEXTSHRINKING” 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: a) Parameter: A string b) Output: The position in the string of the left-most vowel c) Parameter: A number d) 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 to VTU. The information must include USN, Name, and Name of the College, Branch, Year of Joining, and email id. Make up sample data for 3students. 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 pageand to display this count of visitors, with proper headings. 7. Write a PHP program to display a digital clock which displays the current time of theserver. Dept. of ISE & CSE, RNSIT Page 1 FDP-Web Technology Lab With Mini Project – 15CSL77 2018-2019 8. Write the PHP programs to do the following: a) Implement simple calculator operations. b) Find the transpose of a matrix. c) Multiplication of two matrices. d) 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: a) Search for a word in variable states that ends in xas. Store this word in element0 of a list named states List. b) Search for a word in states that begins with k and ends in s. Perform a case-insensitive comparison. [Note: Passing re.Ias a second parameter to method compile performs a case-insensitive comparison.] Store this word in element1of states List. c) Search for a word in states that begins with M and ends in s. Store this word in element 2 of the list. d) 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. Dept. of ISE & CSE, RNSIT Page 2 FDP-Web Technology Lab With Mini Project – 15CSL77 2018-2019 Study Experiment / Project: Develop a web application project using the languages and concepts learnt in the theory and Exercises listed in part A with a good look and feel effects. You can use any web technologies and frameworks and databases. Note: 1. In the examination each student picks one question from part A. 2. A team of two or three students must develop the mini project. However duringthe examination, each student must demonstrate the project individually. 3. The team must submit a brief project report (15-20 pages) that must include thefollowing: a) Introduction b) Requirement Analysis c) Software Requirement Specification d) Analysis and Design e) Implementation f) Testing Course outcomes: The students should be able to: Design and develop dynamic web pages with good aesthetic sense of designingand latest technical know-how's. Have a good understanding of Web Application Terminologies, Internet Toolsother web services. Learn how to link and publish web sites Conduction of Practical Examination: 1. All laboratory experiments from part A are to be included for practicalexamination. 2. Mini project has to be evaluated for 30 Marks. 3. Report should be prepared in a standard format prescribed for project work. 4. Students are allowed to pick one experiment from the lot. 5. Strictly follow the instructions as printed on the cover page of answer script. 6. Marks distribution: a) Part A: Procedure + Conduction + Viva:10 + 35 +5 =50 Marks b) Part B: Demonstration + Report + Viva voce = 15+10+05 = 30 Marks. Change of experiment is allowed only once and marks allotted to the procedure part to be made zero. Dept. of ISE & CSE, RNSIT Page 3 FDP-Web Technology Lab With Mini Project – 15CSL77 1. 2018-2019 Write a JavaScript to design a simple calculator to perform the following operations: sum, product, difference and quotient. program1.html
| SIMPLE CALCULATOR | |||
|---|---|---|---|
| value1 | value2 | ||
| Answer: | |||
STUDENTS DESCRIPTION
Output: Dept. of ISE & CSE, RNSIT Page 18 FDP-Web Technology Lab With Mini Project – 15CSL77 8. 2018-2019 Write the PHP programs to do the following: a) Implement simple calculator operations. b) Find the transpose of a matrix. c) Multiplication of two matrices. d) Addition of two matrices. program8a.php