CSS-22519 QB All Chapter
CSS-22519 QB All Chapter
1. What is form.
2. Explain two uses of forms.
3. Explain in brief the properties and methods used in form. 4] How will you create
password field in a HTML form ?
4. Explain the use of button element with the help of example
5. What is the difference between group of checkbox buttons and group of radio
buttons .
6. Design a simple HTML form for filling the information for registration of a
student.
7. Write a form to make login and password.
8. What is event handler. Give an example of event handler in JavaScript. 10] Explain
various commonly used mouse Events in JavaScript.
9. Explain any two keyboard events in JavaScript.
10.Explain how to change attribute values dynamically.
11.Write a JavaScript to create three categories - Fruit, Flower and Colour. 14] Based
on the selection of category, the item, in the option list must get changed.
12.What is intrinsic function?
13.How to disable particular element on the form.
14.What is the use of read-only element in JavaScript.
UNIT4: COOKIES AND BROWSER DATA MARKS:8
1. What is cookies?
2. Explain how to create cookies in JavaScript.
3. Explain how to read cookies in JavaScript.
4. Write a JavaScript to delete the cookie.
5. Explain the functions getMonth( setMonth0, toGMTString())
6. Explain the syntax for opening a window.
7. Explain the use offocus() method for window object.
8. Write a JavaScript to change the contents of the newly created window.
9. Write a JavaScript to open multiple windows at a time.
10.What is the use of setTimeout () function? Write a JavaScript toillustrate it.
11.What is the use of setInterval0 function? Write a JavaScript to Illustrateit.
12.Write a JavaScript to display the pathname of the web page usingwindow.location
object.
UNIT 5: REGULAR EXPRESSION, ROLLOVER & FRAMES
MARKS: 14
1. Define the term -Regular expression.
2. Construct regular expression for validating the phone number in following format only
: (nnn)-nnnn-nnnn OR nnn.nnnn.nnnn
3. Write a Java program that checks whether the string entered by the user Contains
digits or not.
4. Explain any four commonly used methods in regular expression.
5. Write a JavaScript program to create rollover effect for three images.
6. How will you specify the range of characters using a regular expression?
7. Give the regular expression for matching digits and non-digits.
8. Explain any four regular expression object properties
9. What is frame?
10. Explain frameset tag along with the attributes used in it.
11. Write a JavaScript to display frames without border.
12. Write a JavaScript to change the contents of one frame from another frame.
13. WriteJavaScript to change the label of button element present in frame2 fromframe.
14. What is rollover?
15.What are the methods used most commonly during the rollover?
16. Write a JavaScript in which when user rolls over the name of fruit, thecorresponding
image should be displayed. For instance -if user rolls over thetext "Mango"; the image of
Mango should be displayed.
17. Write a JavaScript in which when user rolls over the name of fruit, thecorresponding
image should be displayed. Along with the appropriate imagedisplay, additional window
should pop up displaying the benefit of each fruit.
18. Design the frameset tag for following frame layout
FRAME1
FRAME2
FRAME3
UNIT 6: MENU, NAVIGATION AND WEB PAGE PROTECTION
MARKS: 12
1.What is the use of status bar in a web application?
2. State the method to put message in web browser status bar?
3. Write a JavaScript program that create a scrolling text on the status line of awindow.
4. Write a program to display a javascript status bar message whenever yourusers hover
over your hyperlinks.
5. Write a JavaScript to scroll the status bar message horizontally
6. What is banner ad?
7. Develop a JavaScript Program to Create Rotating Banner Ads with URL Links.
8. Write a JavaScript to create and display banner
9. Write a JavaScript that illustrates linking of banner advertisement to URL
10. What is slide show?
11. Write a JavaScript to show the creation of slide show,
12. Explain with suitable example how to create a pull down menu.
13. What is dynamic menu?
14. How to create dynamically changing menu in JavaScript.
15. What is float menu?
16. Explain chain select menu with necessary illustration.
17. What is tab menu? Explain it with diagrammatic representation.
18. Explain folding tree menu.
19. What is the use of scrollable menu?
20. Create a slideshow with the group of four images, also simulate the next and previous
transition between slides in your JavaScript.
21. List ways of protecting your webpage and describe any one of them.
22. Write a JavaScript that disables the right click button and displays the message 'Right
click button is ‘disable'.
23. Write short note on -Frameworks of JavaScript and its applications.