Client Side Scripting 6 Marks Ultra V.IMP - Questions
Client Side Scripting 6 Marks Ultra V.IMP - Questions
Page 2 of 6
15. Develop a JavaScript program to create Rotating Banner Ads
with URL links.
16. Write a JavaScript for the folding tree menu.
17. Write HTML code to design a form that displays two textboxes
for accepting two numbers, one textbox for accepting result
and two buttons as ADDITION and SUBTRACTION. Write proper
JavaScript such that when the user clicks on any one of the
button, respective operation will be performed on two numbers
and result will be displayed in result textbox.
18. Write HTML code to design a form that displays two buttons
START and STOP. Write a JavaScript code such that when user
clicks on START button, real time digital clock will be displayed
on screen. When user clicks on STOP button, clock will stop
displaying time. (Use Timer methods)
19. Write HTML code to design a form that displays textboxes for
accepting UserID and Aadhar No. and a SUBMIT button. UserID
should contain 10 alphanumeric characters and must start with
Capital Letter. Aadhar No. should contain 12 digits in the format
nnnn nnnn nnnn. Write JavaScript code to validate the UserID
and Aadhar No. when the user clicks on SUBMIT button.
20. Explain how to evaluate Radiobutton in JavaScript with
suitable example.
21. 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
Page 3 of 6
appear in Frame 4.
Page 4 of 6
(ii) When a beverage is selected a dropdown list with options as
below appears on page :
Page 5 of 6
student rollno and name and rollno becomes value of the
cookie.
30. Write a JavaScript to create rollover effect that involves text
and images. When the user places his or her mouse pointer
over a book title, the corresponding book images appears
31. Explain following form control / elements with example Button,
Text, TextArea, Select, Checkbox, Form.
32. Write a JavaScript for protecting web page by implementing
the following steps:
i) Hiding your source code
ii) Disabling the right MouseButton
iii) Hiding JavaScript
Page 6 of 6