QUANTUM ACADEMY, KHAMGAON
Polytechnic & Engineering Classes
*Test Series*
Course Code: CO5I Subject & Code: 22519
Date & Time: 15/01/2023 (3:00hr) Max Marks: 70
Unit – 4 , 5 and 6
Instructions: i) All Questions are compulsory.
ii) Illustrate your answers with neat sketches whenever necessary.
iii) Figures to the right indicate full marks.
iv)Assume suitable data, if necessary.
v) Preferably, write the answers in sequential order.
----------------------------------------------------------------------------------------------------------------------------------------------
Q.1 Attempt any Five of the following . 10 Marks
a) Define cookie ? Types of cookies with syntax.
b) List a different types of menus in javascript.
c) Write a JS code display “Welcome to our website” message on status bar.
d) Explain the term regular expression with syntax.
e) Design a floating menu using javascript .
f) Explain getMonth() , setMonth() , toGMTString() and toUTCString() built-in
functions.
Q.2 Attempt any Three of the following. 12 Marks
a) Explain timers functions with example. (syntax and program).
b) Write a JS code to design the Mobile number and Email address validation using regular
expression.
c) Write a JS code to create a cookie and delete a user created cookie.
d) Write a JS code to disable the right mouse click. (context-menu disabling)
Q.3 Attempt any Three of the following. 12 Marks
a) Write a JS code to perform Text Rollover event and display images.
b) Explain Frame tag and Frameset tag with all attributes.
c) Write a JS program to create rotating banner Ads with their respective URL’s Links.
d) Write a JS code to open multiple windows at a glance.
Q.4 Attempt any Three of the following. 12 Marks
a) Write a javascript program to accept adhar card number from user and validates the
number whether it is in valid format or not ,if not then display suggestion / hint to the user.
(Assume Adhar No Format:- nnnn – nnnn - nnnn).
b) Explain all properties of window object with suitable example.
c) Design a JS program to display following output. When an user click the button then
display “I am in another Frame ” message in Frame 2 as given in below figure.
Frame 1 Frame 2
I am in another Frame
Frame 3 Frame 4
Click
d) What is rollover ? design a JS code to create image rollover and rollout on three images.
Q.5 Attempt any TWO of the following. 12 Marks
a) Write a JS code to change the label of button element present in frame 2 from frame 1.
b) Enlist and describe all the properties of window location with example.
c) create a slideshow with the group of five images ,also simulate the next and previous
transition between slides in your javascript.
Q.6 Attempt any TWO of the following. 12 Marks
a) Write a javascript to create a pull-down menu with three options [Google , MSBTE
,Gmail] once the user will select one of the options then user will be redirected to that site.
b) Write a javascript code to create the dynamically changing menus.
c) Write a JS code to change the content of a specific element in window.
========================================================================
*ALL THE BEST*
Shubham Sir’s
Quantum Academy
Polytechnic & Engineering Classes
8421302295 / 9284758917