22519 Client Side Scripting Language for MSBTE Exam | CO IT 5 Semester

22519 Client Side Scripting Language for MSBTE Exam | CO IT 5 Semester

             Important Practice Question Available for Exam. This Questions are based on Repeated Topics and Frequently Ones with the Help of this you can Score Good Marks in Exam and you will Pass in Exam.
Get Updates on:   WhatsApp        YouTube        Instagram

  

1. Attempt any FIVE of the following : 10
PART- 1
 (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 firstname, lastname, 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.



PART- 2
a) State the use of dot syntax in JavaScript with the help of suitable example.
b) List and explain Logical operators in JavaScript.
c) Write a JavaScript that identifies a running browser.
d) Write a JavaScript that initializes an array called “Fruits” with names of five fruits. The script then displays the array in a message box.
e) Give syntax of and explain the use of “with” statement/clause in JavaScript using suitable example.
f) Enlist and explain the use of any two Intrinsic JavaScript functions.
g) State and explain what is a session cookie ?



2. Attempt any THREE of the following : 12
 (a) Explain getter and setter properties in Java script with suitable example.
 (b) Explain prompt () and confirm () method of Java script with syntax and example. *
(c) Write a Java script program which computes, the average marks of the following students then, this average is used to determine the corresponding grade. *

 The grades are computed as follows :

(d) Write the use of CharAt() and indexof() with syntax and example.
(e) Write a JavaScript that displays all properties of window object. Explain the code .
(f) Write a JavaScript function that checks whether a passed string is palindrome or not.

 



3. Attempt any THREE of the following : 12
 (a) Differentiate between concat () and join () methods of array object. *

 (b) Write a Java script that will replace following specified value with another value in a string.
               String = “ I will fail”
               Replace “fail” by “pass”
 (c) Write a Java script code to display 5 elements of array in sorted order.
 (d) Explain open () method of window object with syntax and example.
 (e) Write a JavaScript function to count the number of vowels in a given string.
 (f) Write a JavaScript that find and displays number of duplicate values in an array.
 (g) Write a function that prompts the user for a color and uses what they select to set the background color of the new webpage opened .




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 MouseOver and on MouseOut 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.
 (f) Write a webpage that accepts Username and adharcard as input texts. When the user enters adhaarcard number ,the JavaScript validates card number and diplays whether card number is valid or not. (Assume valid adhaar card format to be nnnn.nnnn.nnnn or nnnn-nnnn-nnnn).
 (g) Write the syntax of and explain use of following methods of JavaScript Timing Event.
               a. setTimeout()
               b. setInterval()
 (h) Develop JavaScript to convert the given character to Unicode and vice versa.




5. Attempt any TWO of the following : 12
 (a) Write a HTML script which displays 2 radiobuttons to the users for fruits and vegetable and 1 option list. 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.
 (b) Describe, how to read cookie value and write a cookie value. Explain with example.
 (c) Write a Java script that displays textboxes for accepting name & email ID & a submit button. Write Java script code such that when the user clicks on submit button. **
               (1) Name Validation
               (2) Email ID validation

  (d) 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 texboxes 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 Rajni as name and Pathak as surname mailID will be constructed as rajni.pathak@msbte.com) .
 (e) Write a webpage that diplays a form that contains an input for Username and password. User is prompted to enter the input and password and password becomes value of the cookie. Write The JavaScript function for storing the cookie . It gets executed when the password changes




6. Attempt any TWO of the following : 12
 (a) Describe how to evaluate checkbox selection. Explain with suitable example.
 (b) Write a script for creating following frame structure *

 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.
 (c) 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. *

 (d) Develop a JavaScript Program to Create Rotating Banner Ads with URL Links.

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


Get Updates on:   WhatsApp        
                          YouTube        
                     Instagram

NOTE: This is Not Official MSBTE Website: We Provide Important Practice Questions for Students to Score Good Marks in Exam and this Questions is based on Important Topics of Syllabus and Repeated Ones. So, with the help of this we help student to Not get KT / or / They will Not get Fail in Exam. 

Post a Comment

Previous Post Next Post