0% found this document useful (0 votes)
48 views2 pages

QB

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)
48 views2 pages

QB

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/ 2

QB:

Unit 4: (Any 1 - 4 MARKS)


**Describe, how to read cookie value and write a cookie value. Explain with
example.

**Write a javascript program to create read, update and delete cookies.


**Explain how to create and read Persistent Cookies in JavaScript with example
**Set Time Out Function

Unit 5: (ANY 4 - 2 MARKS)


Form regular expressions for following :
**(i) Validation of email address.
**(ii) Validation of adhaar card. Format is
dddd – dddd – dddd
**(iii) Validation of phone number. Format is
(ddd) – (dddddddd)

**List any three properties of regular expression objects and state their use.

Write a JavaScript that accepts a 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”.

Explain test() and exec() method of Regular Expression object with example
Write a script for creating following frame structure :
Frame 1 contains three buttons SPORT, MUSIC and DANCE that will
perform following action :
When user clicks SPORT button, sport.html webpage will appear in Frame 2.
When user clicks MUSIC button,music.html webpage will appear in Frame 3.
When user clicks DANCE button,dance.html webpage will appear in Frame 4.

FRAME 1
SPORT MUSIC DANCE
FRAME 2 FRAME 3 FRAME 4
Write a javascript to open a new window and the new window is having two frames. One frame
containing buthon as “click here !”, and after clicking this button an image should open in the
second frame of that child window.

Write a javascript to create option list containing list of images and then display images in new
window as per selection.

Write a javascript program to design HTML page with books information in tabular format, use
rollovers to display the discount information.

**Explain text and image rollover.


**Construct a JavaScript code for defining the multiple frames in a webpage in matrix form
**Explain Frameset tag along with its attribute

Unit 6: (ANY 2 - 4 MARKS)


Write a javascript program to create a silde show with the group of six images, also simulate
the next and previous transition between slides in your javascript.

**Write a Java script to modify the status bar using on-MouseOver and on-MouseOut with
links. When the user moves his mouse over the link, it will display “MSBTE” in the status bar.
When the user moves his mouse away from the link the status bar will display nothing.

**Write a Javascript to create a pull – down menu with three options [Google, MSBTE,
Yahoo] once the user will select one of the options then user will be redirected to that site.

Write a JavaScript that sets a crawling status bar message to the webpage. Message is
“Welcome to the Mystic World of JavaScript”. The message must start crawling when the
webpage gets loaded.

**Explain how to create and display Rotating Banner in JavaScript with example.

**List ways of protecting your web page and describe any one of them.

What is Status bar and how to display moving message on the status line of a window using
JavaScript ?

You might also like