0% found this document useful (0 votes)
8 views

4. TABLE_OF_CONTENTS

Uploaded by

Akshay
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

4. TABLE_OF_CONTENTS

Uploaded by

Akshay
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

TABLE OF CONTENTS

Sl. No LIST OF PRACTICALS PAGE No

Write a JavaScript to design a simple calculator to perform


1. the following operations: sum, product, difference and
quotient.
Write a JavaScript that calculates the squares and cubes of
2. the numbers from 0 to 10 and outputs HTML text that
displays the resulting values in an HTML table format.
Write a JavaScript code that displays text “TEXT-
GROWING” with increasing font size in the interval of
3. 100ms in RED COLOR, when the font size reaches 50pt it
displays “TEXTSHRINKING” in BLUE color. Then the
font size decreases to 5pt.
Develop and demonstrate a HTML5 file that includes
JavaScript script that uses functions for the following
problems:
4. 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
Design an XML document to store information about a
student in an engineering college affiliated to VTU. The
5. information must include USN, Name, and Name of the
College, Programme, Year of Joining, and email id. Make
up sample data for 3 students. Create a CSS style sheet and
use it to display the document.
Write a PHP program to keep track of the number of
6. 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 which


displays the current time of the server.

Write the PHP programs to do the following:


a. Implement simple calculator operations.
8. 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 element 0 of a list named statesList.
b. Search for a word in states that begins with k and ends in
s. Perform a case-insensitive comparison. Store this word in
element1 of statesList.
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.

You might also like