[go: up one dir, main page]

0% found this document useful (0 votes)
1K views4 pages

Old Question Paper 22519

This document contains instructions for a JavaScript exam consisting of 6 questions worth 70 total marks. The questions cover a range of JavaScript topics like methods, data types, arrays, functions, DOM manipulation, and more. Students are asked to write code to solve problems like creating a calculator, sorting arrays, checking strings, merging arrays, and developing interactive elements like menus, forms, and banner ads using JavaScript.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views4 pages

Old Question Paper 22519

This document contains instructions for a JavaScript exam consisting of 6 questions worth 70 total marks. The questions cover a range of JavaScript topics like methods, data types, arrays, functions, DOM manipulation, and more. Students are asked to write code to solve problems like creating a calculator, sorting arrays, checking strings, merging arrays, and developing interactive elements like menus, forms, and banner ads using JavaScript.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

12223

22519
3 Hours / 70 Marks Seat No.

Instructions : (1) All Questions are compulsory.


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

Marks

1. Attempt any FIVE of the following : 10


(a) State the use of method in JavaScript with the help of suitable example.
(b) List & explain datatypes in JavaScript
(c) Write a simple calculator program using switch case in JavaScript.
(d) Write a program using sort method of array object.
(e) Describe property Getters & Setter.
(f) Enlist & explain the use of any two Intrinsic JavaScript functions.
(g) Describe browser location object.

2. Attempt any THREE of the following : 12


(a) 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.

[1 of 4] P.T.O.
22519 [2 of 4]
(c) Write a JavaScript program that will display list of student in ascending order
according to the marks & calculate the average performance of the class.

Student Name Marks

Amit 70

Sumit 78

Abhishek 71

(d) Write and explain a string functions for converting string to number and
number to string.

3. Attempt any THREE of the following : 12

(a) Differentiate between concat( ) & join( ) methods of array object.

(b) Write a JavaScript function to check the first character of a string is uppercase
or not.

(c) Write a JavaScript function to merge two array & removes all duplicate
values.

(d) Write a JavaScript function that will open new window when the user will
clicks on the button.

4. Attempt any THREE of the following : 12

(a) Describe text Rollover with the help of example.

(b) Write a JavaScript program that will create pull-down menu with three
options. Once the user will select the one of the options then user will
redirected to that website.

(c) Describe Quantifiers with the help of example.

(d) Describe frameworks of JavaScript & its application.

(e) Describe how to link banner advertisement to URL with example.


22519 [3 of 4]
5. Attempt any TWO of the following : 12
(a) Write HTML script that will display following structure
Name

Email

Pin Code

Submit

Write the JavaScript code for below operations :


(1) Name, Email & Pin Code should not be blank.
(2) Pin Code must contain 6 digits & it should not be accept any characters.
(b) Write a webpage that displays a form that contains an input for username &
password. User is prompted to entre the input & password & password
becomes the value of the cookie. Write a JavaScript function for storing the
cookie. It gets executed when the password changes.
(c) Write a JavaScript for creating following frame structure :
TYIF FRAME1
FRAME2 Operating System FRAME3
 Chapter 1

 Chapter 2

Chapter 1 & Chapter 2 are linked to the webpage Ch1 HTML & Ch2.html
respectively. When user click on these links corresponding data appears in
FRAME3.

6. Attempt any TWO of the following : 12


(a) Write HTML script that will display dropdown list containing options such as
Red, Green, Blue & Yellow. Write a JavaScript program such that when the
user selects any options. It will change the background colour of webpage.
(b) Develop a JavaScript program to create Rotating Banner Ads.
(c) Write a JavaScript for the folding tree menu.

_______________

P.T.O.
22519 [4 of 4]

You might also like