Prelim Exam CSS
Prelim Exam CSS
YADRAV (ICHALKARANJI)
PRELIM TEST 2024 – 2025
ROLL No.
g Write a JavaScript program that will display current date in DD/MM/YYYY format..
b Write a JavaScript program that will remove the duplicate element from an array.
c Explain getter and setter properties in Java script with suitable example.
Design a webpage that displays a form that contains an input for user name and
d password. User is prompted to enter the input user name and password and password
become value of the cookies. Write the javascript function for storing the cookies.
State what is regular expression. Explain its meaning with the help of a suitable
c
example.
How to read and delete query in JS? Explain with example.(querying, setting &
d
deleting property)
Write JS code to perform following operation on string using split( )
Input String: “Sudha Narayan Murthy” Display output as:
e First Name: Sudha
Middle Name: Narayan
Last Name: Murthy
b List ways of protecting your web page and describe any one of them.
c Write a javascript program to validate email ID of the user using regular expression.
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
d
status bar. When the user moves his mouse away from the link the status bar will
display nothing.
Write a HTML script which displays 2 radiobuttons to the users for fruits and
vegetable and 1 option list.
a When user select fruits radio button option list should present only fruits names to the
user & when user select vegetable radio button option list should present only
vegetable names to the user.
Write a javascript program to create a sildeshow with the group of six images, also
b
simulate the next and previous transition between slides in your javascript.
Write HTML script that displays textboxes for accepting username and password.
Write proper JavaScript such that when the user clicks on submit button i) All
c textboxes must get disabled and change the color to „RED; and with respective labels
ii) Prompt the error message if the password is less than six
characters
Write HTML code to design a form that displays two buttons START and STOP. Write
d JS 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.
e Write JS for moving a car using using setTimeout( ) and clearTimeout( ) methods.
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.
d 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.
e Describe how to change option list dynamically with the help of example.
*****************************************