Client Side Scripting
Question Bank – Theory + Programs ( 4th , 5th & 6th )
1. Describe cookies with its types.
2. How to create cookie , read and delete cookie ? Write a java script
program to perform these operations using separate functions.
3. Write a java script function to open a window on button click.
4. Explain how to change the contents of a window? Explain with example.
5. Explain setInterval() and setTimeout() with the help of program.
6. Explain regular expression . List out any 4 methods we use in regular
expression.
7. Write a program to validate email using regular expression.
8. Write a program to validate phone number using regular expression.
9. Define frames in java script. How to create frame in java script.
10. Describe text rollover with the help of an example.
11. Write a program to create a banner with three images and set urls for all
images.
12. Write a program to create a slide show in java script. Use two button to
slide images from left to right.
13. Write a java script program for folding tree menu.
14. List types of menu used in java script . Explain any one of them.
15. Write a java script function that disables the right click button.
16. Describe frameworks of java script and its applications.
17. Write a java script program that will create a pull-down menu with three
options . Once the user selects any options they will redirect to a specific
URL