You are on page 1of 3

Department of Computer Engineering

Academic Year 2019-20


Practice Test

Scheme – I
Course Code: CO Semester: Fifth
Subject Title: CSS Subject Code:-22519.
Time: 3 Hours Seat No
Marks: 70

Instructions - 1. All questions are compulsory


2. Illustrate your answer with neat sketches wherever
Necessary
3. Figures to the right indicates full marks
4. Assume suitable data if necessary
5. Preferably, write the answers in sequential order
Marks

Q.1 Attempt any FIVE of the following. (10)


a) List and explain Logical operators in JavaScript.
b) Define Array and write an example of creating array by constructor.
c) Enlist and explain any 4 Form elements.
d) Define Cookies.
e) What is the use of Frames explain with an example.
f) Describe the following statements :
a. document.bgColor b. document.write()
g) Differentiate between prompt() and alert() methods.

Q.2 Attempt any THREE (12)


a) Generate college Admission form using html form tag.
b) Write a JavaScript function to insert a string within an array at a particular
position.
c) What is the difference between Get and Post methods of a Form tag. Explain
with an example.
d) Write the syntax of and explain use of following methods of JavaScript
Timing Event.
a. setTimeout() b. setInterval()

Q.3 Attempt any THREE. (12)


a) Write a JavaScript function to count the number of vowels in a given string.
b) State what is a regular expression? Explain its meaning with the help of a
suitable example.
c) Develop a JavaScript Program to Create Rotating Banner Ads with URL
Links.
d) State the use of following methods.
a. charCodeAt() b. fromCharCode()

Q.4 Attempt any THREE. (12)


a). Develop JavaScript to convert the given character to Unicode and vice versa.
b). Design the frameset tag for following frame layout:
FRAME1 (20%)
FRAME2 (40 %)

FRAME3 (30 %)

c). Write a JavaScript that creates a persistent cookies of Item names. Write
appropriate HTML script for the same.
d). Write a JavaScript program that create a displays a text on the status line of a
window.
e). List ways of Protecting your webpage and describe any one of them.
Q.5 Attempt any TWO. (12)
a) Write HTML Script that displays textboxes for accepting Name, middlename,
Surname of the user and a Submit button. Write proper JavaScript such that when
the user clicks on submit button
i) all textboxes must get disabled and change the color to “RED”. and with
respective labels.
ii) Constructs the mailID as <name>.<surname>@msbte.com and displays mail
ID as message. (Ex. If user enters abc as name and xyz as surname
mailID will be constructed as abc.xyz@gmail.com).
b). Create a slideshow with the group of four images; also simulate the next and
previous transition between slides in your JavaScript.
c). Define Objects in Javascript and explain it with an example.
Q.6 Attempt any TWO. (12)
a). Write and explain any 1 looping statement used in JavaScript.
b). Create a pull down menu using JavaScript.
c). Write a JavaScript program to create rollover effect for three images.
-----------------------------------------END-----------------------------------------------------

You might also like