0% found this document useful (0 votes)
42 views3 pages

70 Marks Paper1

Uploaded by

pranaligadade08
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views3 pages

70 Marks Paper1

Uploaded by

pranaligadade08
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Course Name Computer Engineering Date 28 /11/2024

Course Code CO5I Time 2.00pm to 5.00pm


Subject Client Side Scripting Language Marks 70
Subject Code 22519 Semester V

LATTHE EDUCATION SOCIETY’S POLYTECHNIC,


SANGLI
PRE-EXAM

1. Attempt any FIVE of the following: 10

(a) List any four features of Java script.


(b) List the comparison operators in Java script.
(c) Write Java script to create person object with properties first name, last name, age, eye color,
delete eye color property and display remaining properties of person object.
(d) Write a Java script that initializes an array called flowers with the names of 3 flowers. The
script then displays array elements.
(e) Write Java script to call function from HTML.
(f) Write a Java script to design a form to accept values for user ID & password.
(g) State any two properties and methods of location object

2. Attempt any THREE of the following: 12

(a) Write a JavaScript program to validate user accounts for multiple set of user ID and password
(using switch case statement).
(b)Write a JavaScript program to demonstrate java intrinsic function.
(c) Describe the “navigator” object of JavaScript. Describe the methods of navigator object
which is used to display browser name and version.
(d)Write an HTML script that accepts Amount, Rate of Interest and Period from user. When user
submits the information a JavaScript function must calculate and display simple interest in a
message box. (Use formula S.I. = PNR/100)
3. Attempt any THREE: 12

(a)Write a JavaScript that accepts user’s first name and domain name of organization from user. The
JavaScript then forms email address as and displays the results in the browser window.
(b) Differentiate between substring () and substr () method of a string class. Give suitable example of
each.
(c) State what is a cookie? Explain its need. State characteristics of persistent cookies.
(d) Write a Java script that will replace following specified value with another value in a string.
String = “ I will fail”
Replace “fail” by “pass”

4. Attempt any THREE of the following: 12

(a) Describe regular expression. Explain search () method used in regular expression with suitable
example.
(b) List ways of protecting your web page and describe any one of them.
(c) Create a slideshow with the group of three images, also simulate next and previous transition between
slides in your Java script.
(d) Explain text rollover with suitable example.
(e) Write a Java script to modify the status bar using on Mouse Over and on Mouse Out with links. When
the user moves his mouse over the link, it will display “MSBTE” in the status bar. When the user moves
his mouse away from the link the status bar will display nothing.

5. Attempt any TWO of the following: 12

(a) Write a JavaScript to checks whether a passed string is palindrome or not.

(b) Develop JavaScript to convert the given character to Unicode and vice-versa.

(c) Write a JavaScript program to create a silde show with the group of six images, also simulate the next
and previous transition between slides in your JavaScript.

6. Attempt any TWO of the following: 12

(a) Write a JavaScript to open a new window and the new window is having two frames. One frame
containing button as “click here!”, and after clicking this button an image should open in the second
frame of that child window.
(b) Write a JavaScript to create option list containing list of images and then display images in new
window as per selection.

(c) Write a JavaScript function to generate Fibonacci series till user defined limit.

----------------------------------------------------------------------------------------------------

You might also like