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

CSS Assign 5 - 2024

Uploaded by

chavanjay581
Copyright
© © All Rights Reserved
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)
28 views

CSS Assign 5 - 2024

Uploaded by

chavanjay581
Copyright
© © All Rights Reserved
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/ 3

Sant Gajanan Maharaj Assignment No- 5 Year:- 2024-25

Rural Polytechnic, Regular Expression,


Mahagaon Rollover and Frames
Dept : - Computer Engineering Class-TYCO
Subject:- Client Side Scripting
Date:- 23-10-2024 Topic No:-5 Date of submission :-5-11-
2024
Name of Subject Teacher:- Total No of Questions:-16
Mrs.R.S.Patil
CO5-Create interactive webpage using regular expressions for validations .

1. State what regular expression is. Explain its meaning with the help of a suitable
example.(2)

2. Write HTML code to design a form that displays textboxes for accepting UserID and
Adhaar No and SUBMIT button.UserID sould contain 10 alphanumeric characters and
must start with Capital Letter.Aadhar No should contain 12 digits.Write Javascript code to
validate the UserID and Aadhar No when user clicks on SUBMIT button.(6)
3. Write HTML script that will display following structure
Name
Email
Pin Code
Submit

Write JavaScript code for below Operations


i) Name, Email and Pin code should not be blank
ii) Pin Code must contain 6 digits and it should not be accept any characters(6)
4. Explain any four commonly used methods in regular expression. (4)
5. Write a JavaScript for creating following frame structure
TYIF FRAME1
FRAME2 Operating System FRAME3
 Chapter 1
 Chapter 2
Chapter 1 and Chapter 2 are linked to the webpage Ch1.html and Ch2.html respectively.
When user click on these links corresponding data appears in FRAME3.
6. Describe Quantifies with the help of example.(4)
7. Explain text and image rollover with suitable example.(4)
8. Write a JavaScript to change the contents of one frame from another frame. (4)
9. Write JavaScript to change the label of button element present in frame2 from frame.(4)
10. Write a JavaScript in which when user rolls over the name of fruit, the corresponding
image should be displayed. Along with the appropriate image display, additional window
should pop up displaying the benefit of each fruit.(4)
11. Write a script for creating following frame structure

FRAME 1

FRAME 2 FRAME 3

 FRUITS
 FLOWERS
 CITIES

FRUITS, FLOWERS and CITIES are links to the webpage fruits.html, flowers.html,
cities.html respectively. When these links are clicked corresponding data appears in
FRAME 3.(6)
12. Write a JavaScript syntax to accessing elements of another child window

13.Write a JavaScript that accepts string and searches for the pattern “MSBTE” in the
given string using regular expressions. If the pattern is found, JavaScript will display that
“Pattern is found” else display “Pattern is not found”.(4)

14.Write an HTML Script that displays names of different brands of laptops and an image
by default as:
 Lenovo

 HP IMAGE

 DELL

When the mouse moves over the specific brand name the script must display the image of
respective laptop in the adjacent box.(4)

15.From regular expression for the following(6)

i)Validation of email address

ii)validation of adhaar card.Format is

dddd-dddd-dddd

iii)Validation of phone number.Format is

(ddd)-(dddddddd)

16.i)Design frameset tag for representing following layout:

Frame1

Frame 2 Frame 3 Frame 4

ii)List any three properties of regular expression objects and state their use(6)

You might also like