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

Model Question Paper

1. Develop an XHTML document using external CSS, ordered lists, tables, borders, padding, color, and <span> tags. 2. Create an XHTML file with Javascript scripts to output Fibonacci numbers and a table of numbers squared from 1 to a given number. 3. Create an XHTML file with Javascript functions to find the position of the leftmost vowel in a string and reverse the digits of a number.

Uploaded by

Luke Kenny
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
571 views

Model Question Paper

1. Develop an XHTML document using external CSS, ordered lists, tables, borders, padding, color, and <span> tags. 2. Create an XHTML file with Javascript scripts to output Fibonacci numbers and a table of numbers squared from 1 to a given number. 3. Create an XHTML file with Javascript functions to find the position of the leftmost vowel in a string and reverse the digits of a number.

Uploaded by

Luke Kenny
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

LAB-CYCLE

1. Develop and demonstrate a XHTML document that illustrates the use external style sheet, ordered list, table, borders, padding, color, and the <span> tag. 2. Develop and demonstrate a XHTML file that includes Javascript script for the following problems: a) Input: A number n obtained using prompt Output: The first n Fibonacci numbers b) Input: A number n obtained using prompt Output: A table of numbers from 1 to n and their squares using alert 3. Develop and demonstrate a XHTML file that includes Javascript script that uses functions for the following problems: a) Parameter: A string Output: The position in the string of the left-most vowel b) Parameter: A number Output: The number with its digits in the reverse order. 4. write a javascript to find roots of a quadratic equation ax^2+bx+c=0, -b+-square root b^2-4ac / 2a Use (maths) predefined function. 5. Write javascript to sort 5 elements using heapsort 6. write a javascript with two strings: (str1)(1) initialise with SJCE IS DEPT. (str2)(2) JSS TECHNICAL INSTITUTION CAMPUS, MYSORE -create another string to concatenate, sort. -extract IS form str1, extract mysore from str2 concatenate Is MYSORE -push pincode to str2 - shift JSS to str1 -unshift JSS to str2 use javascript and XHTML. Display output with a table with two rows. 7.Write a javascript for the following problem-input number using prompt to get each number and output: the greatest of 3 number using math function -function named: first vowel, parameter: string output: the position in the string of the level most vowel. -function named: reverser, parameter: number output: the number with its digit in reverse order. -function named: row averages, parameter : an array of array of number Output : an array of the averages of each of the rows of the given matrix. 8. Write a javascript to check the validity of a phone number, which is of type 444-7777 use functions,pass phone number as an argument to the function. 9. Write a document which has 3 radio buttons naming greet1, greet2, greet3 -when click on greet1 should alert morning -when click on greet2 should alert afternoon

-when click on greet3 should alert goodnight 10. Write a document for login page. the pressure has to focus on the particular box. once entered it should be blurred (cannot be changed). (use focus) 11. Write a javascript to sort 5 element using bubble sort. Accept the element from user and display it in the table. 12. a) Design an XML document to store information about a student in an engineering college affiliated to VTU. 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. b) Create an XSLT style sheet for one student element of the above document and use it to create a display of that element. 13 a) Write a Perl program to display various Server Information like Server Name, Server Software, Server protocol, CGI Revision etc. b) Write a Perl program to accept UNIX command from a HTML form and to display the output of the command executed. 14 a) Write a Perl program to accept the User Name and display a greeting message randomly chosen from a list of 4 greeting messages. b) 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. 15 Write a Perl program to display a digital clock which displays the current time of the server. 16 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. **********************

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy