0% found this document useful (0 votes)
10 views

js may 2023_merged

Uploaded by

Harsh Kumar
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)
10 views

js may 2023_merged

Uploaded by

Harsh Kumar
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/ 8

Total No. of Questions : 8] SEAT No.

8
23
P588 [Total No. of Pages : 2

ic-
[6004]-531

tat
B.E. (Electrical /E & TC)

2s
JAVA SCRIPT

1:4
(2019 Pattern) (Semester - VII) (Elective - III) (404184(C))

02 91
4:4
0
Time : 2½ Hours] [Max. Marks : 70

31
4/0 13
Instructions to the candidates:
1) Answer Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8.
0
6/2
.23 GP

2) Neat diagram must be drawn wherever necessary.


3) Figures to the right side indicate full marks.
E

4) Use of Calculator is allowed.


82

8
C

23
5) Assume suitable data if necessary.

ic-
16

tat
Q1) a) What is function? Explain with example how to pass and return
8.2

2s
parameters and arguments from called function to the calling function.[6]
.24

1:4
b) What are Common properties and methods of object in JavaScript? [6]
91
49

4:4
c) Write a Java Script program to pass the function by reference, perform
30
31

addition of two objects inside the function and display the result in calling
01
02

function. [6]
6/2

OR
GP
4/0

Q2) a) What is Anonymous Functions in JavaScript? Explain its use with an


CE
82

example. [6]

8
23
.23

b) Write a JavaScript program that will append an object to an array and will
check if an object is an array datatypse. [6] ic-
16

tat
8.2

c) Explain data types in JavaScript? Differentiate between primitive and non


2s

primitive. [6]
.24

1:4
91
49

4:4
30

Q3) a) What is Regular Expression in JavaScript and explain the need of regular
31

expressions. [6]
01
02

b) Explain look ahead and look behind concepts in JavaScript. [6]


6/2
GP

c) Write a program to study string related built-in methods in JavaScript.[5]


4/0
CE

OR
82

Q4) a) Explain string methods for Regular Expression in JavaScript. [6]


.23
16

b) Explain Character Classes in JavaScript. [6]


8.2

c) What are the limitations of Regular Expression. [5]


.24

P.T.O.
49
8
23
Q5) a) Define JavaScript object model and explain four distinct object models

ic-
used in JavaScript. [6]

tat
b) Explain event and event handler with an example. [6]

2s
c) Write a JavaScript program to create a Home page of any website and

1:4
change background color using. [6]

02 91
On mouse over event (mouse over)

4:4
0
On focus event (focus).

31
4/0 13 OR
Q6) a) Describe Document properties and methods with their HTML
0
6/2
.23 GP

relationship. [6]
b) Differentiate between HTML and DHTML. [6]
E
82

c) Explain DOM and CSS Elements with example. [6]

8
C

23
ic-
Q7) a) Explain Various methods to control windows and list out window
16

tat
features. [6]
8.2

2s
b) Explain the form handling and the terms form fields, validations,
.24

1:4
Dynamic forms, Form usability with an example. [5]
91
49

4:4
c) Design and implement a simple calculator using java script for operations
30

like addition, multiplication, subtraction, division, square of a number.[6]


31

OR
01
02

Q8) a) List and explain various popular windows events? [6]


6/2
GP

b) What is frame and explain the HTML tags to create frames and how to
4/0

change the properties of the frame. [5]


CE
82

c) Create a student information form to accept information like Name,

8
23
Address, City, State, Gender, Mobile Number, and email id. Perform
.23

validations for. ic-


[6]
16

tat
i) Correct Names.
8.2

2s

ii) Mobile Names.


.24

1:4

iii) Email I.D.’s


91
49

4:4
30
31

  
01
02
6/2
GP
4/0
CE
82
.23
16
8.2
.24

[6004]-531 2
49
Total No. of Questions : 8] SEAT No. :

8
23
PB2291 [Total No. of Pages : 2

ic-
[6263]-129

tat
B.E. (E & TC/Electronics)

3s
JAVA SCRIPT

4:5
(2019 Pattern) (Semester - VII) (404184 C) (Elective - III)

02 91
3:5
Time : 2½ Hours] [Max. Marks : 70

0
41
8/0 13
Instructions to the candidates:
1) Answer Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8.
0
2) Neat diagrams must be drawn wherever necessary.
5/2
.23 GP

3) Figures to the right indicate full marks.


4) Assume suitable data for writing program, if necessary.
E
81

8
C

23
ic-
Q1) a) Explain the Mask out with respect to functions in Java Script. [6]
16

tat
b) Explain how function is used as object in Java Script. [6]
8.2

3s
c) How Arrays can be used as Stacks and Queues in Java Script. [6]
.24

4:5
OR
91
49

Q2) a) What is Anonymous Function? Explain with example. [6]


3:5
30

b) Explain different types of Objects. [6]


41

c) List the various methods of Math object. Explain any one with example.[6]
01
02
5/2
GP

Q3) a) What are common character classes in Regular Expressions? [6]


8/0

b) Write a short note on Advanced Regular Expressions. [6]


CE
81

c) List String Methods for Regular Expressions and explain any one of

8
23
them. [5]
.23

OR
ic-
16

tat
Q4) a) List the 6 Repetition Quantifiers with their meaning. Explain any 2 with
8.2

3s

example. [6]
.24

4:5

b) Explain Static Properties of the RegExp Class Object. [6]


91
49

c) Describe Limitations of Regular Expressions. [5]


3:5
30
41

Q5) a) Describe Netscape 4 Event Model in detail. [6]


01
02

b) Explain the role of Event Handlers in Java Script. [6]


5/2
GP

c) Write short note on DOM and HTML Elements. [6]


8/0

OR
CE
81

Q6) a) What is Document Tree? Explain DOM Methods to Create Nodes. [6]
b) Elaborate how DOM standard is supported by today’s browsers is CSS.
.23

[6]
16

c) Explain DOM2 Event Model. [6]


8.2
.24

P.T.O.
49

[6263]-129 1
Q7) a) Describe with example the methods alert() and confirm() of Window

8
23
object. [6]

ic-
b) Explain Common Window Properties Related to Frames. [6]

tat
3s
c) Write a short note on Form Usability and Java Script. [5]

4:5
OR

02 91
3:5
Q8) a) Explain Label, Fieldset, and Legend as other form elements. [6]

0
41
b) 8/0 13
What is a significance of form validation? [6]
0
5/2
c) State and explain Window features. [5]
.23 GP
E
81

8
C

23
ic-
  
16

tat
8.2

3s
.24

4:5
91
49

3:5
30
41
01
02
5/2
GP
8/0
CE
81

8
23
.23

ic-
16

tat
8.2

3s
.24

4:5
91
49

3:5
30
41
01
02
5/2
GP
8/0
CE
81
.23
16
8.2
.24
49

[6263]-129 2
Total No. of Questions : 8] SEAT No. :

8
23
P-6599 [Total No. of Pages : 2

ic-
tat
[6181]-158

8s
2:1
B.E. (Eelectronics/E&TC)

02 91
3:4
JAVA SCRIPT

0
31
7/1 13
(2019 Pattern) (Semester - VII) (404184C) (Elective - III)
0
2/2
Time : 2½ Hours] [Max. Marks : 70
.23 GP

Instructions to the candidates :


E
80

1) Answer Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8.

8
C

23
2) Neat diagrams must be drawn wherever necessary.

ic-
3) Figures to the right side indicate full marks.
16

tat
4) Use of calculator is allowed.
8.2

8s
5) Assume suitable data, if necessary.
.24

2:1
91
49

3:4
30

Q1) a) What is function? Explain with example how to pass and return parameters
31

and arguments from called function to the calling function. [6]


01
02

b) What are Common properties and methods of object in JavaScript?[6]


2/2
GP

c) Write a JavaScript program to pass the function by reference, perform


7/1

addition of two objects inside the function and display the result in
CE
80

8
calling function. [6]

23
.23

OR
ic-
16

Q2) a) What is Anonymous Functions in JavaScript? Explain its use with an


tat
8.2

example. [6]
8s
.24

b) Write a JavaScript program that will append an object to an array and


2:1
91

will check if an object is an array data types. [6]


49

3:4

c) Explain data types in JavaScript? Differentiate between primitive and


30
31

non-primitive. [6]
01
02
2/2
GP

Q3) a) What is Regular Expression in JavaScript and explain the need of regular
7/1

expressions. [6]
CE
80

b) Explain Look ahead and Look behind concepts in JavaScript. [6]


.23

c) Write a program to study string related built-in methods in JavaScript.[5]


16

OR
8.2

P.T.O.
.24
49
Q4) a) Explain string methods for Regular Expression in JavaScript. [6]

8
23
b) Explain Character Classes in JavaScript. [6]

ic-
c) What are the limitations of Regular Expression? [5]

tat
8s
Q5) a) Define JavaScript object model and explain four distinct object models

2:1
02 91
used in JavaScript. [6]

3:4
b) Explain event and event handler with an example. [6]

0
31
c) 7/1 13
Write a JavaScript program to create a Home page of any website and
change background color using. [6]
0
2/2
.23 GP

On mouse over event (mouse over)


On focus event (focus)
E
80

8
OR
C

23
Q6) a) Describe Document properties and methods with their HTML

ic-
16

relationship. [6]

tat
8.2

8s
b) Differentiate between HTML and DHTML. [6]
.24

2:1
c) Explain DOM and CSS Elements with example. [6]
91
49

3:4
30
31

Q7) a) Explain Various methods to control windows and list out window features.
[6]
01
02

b) Explain the form handling and the terms form fields, validations, Dynamic
2/2
GP

forms, Form usability with an example. [5]


7/1

c) Design and implement a simple calculator using Java script for operations
CE
80

8
23
like addition, multiplication, subtraction, division, square of a
.23

ic-
number. [6]
16

tat
OR
8.2

8s

Q8) a) List and explain various popular windows events? [6]


.24

2:1

b) What is frame and explain the HTML tags to create frames and how to
91
49

3:4

change the properties of the frame. [5]


30
31

c) Create a student information Form to accept information like Name,


01

Address, City, State, Gender, Mobile Number and email id. Perform
02

validations for: [6]


2/2
GP

• Correct Names
7/1

• Mobile Names
CE
80

• Email I.D.’s
.23
16


8.2
.24

[6181]-158 2
49
Total No. of Questions : 8] SEAT No. :

8
23
PA-2629 [Total No. of Pages : 2

ic-
tat
[5927]-383

6s
B.E. (E & TC)

2:0
02 91
JAVA SCRIPT

3:5
(2019 Pattern) (Semester-VII) (Elective - III) (404184C)
0
31
Time : 2½ Hours]
9/0 13 [Max. Marks : 70
0
Instructions to the candidates:
1/2
.23 GP

1) Answer Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8.


2) Neat diagrams must be drawn wherever necessary.
E
80

3) Figures to the right indicate full marks.

8
C

23
4) Use of calculator is allowed.

ic-
5) Assume suitable data, if necessary.
16

tat
8.2

Q1) a) What is function? Explain with example how to pass and return parameters

6s
.24

and arguments from called function to the calling function. [6]


2:0
91
49

3:5
b) What are Common properties and methods of object in JavaScript? [6]
30
31

c) Write a JavaScript program to pass the function by reference, perform


01
02

addition of two objects inside the function and display the result in calling
1/2
GP

function. [6]
9/0

OR
CE
80

8
23
Q2) a) What is Anonymous Functions in JavaScript? Explain its use with an
.23

example. [6] ic-


16

tat
8.2

6s

b) Write a JavaScript program that will append an object to an array and


.24

2:0

will check if an object is an array datatypes. [6]


91
49

3:5

c) Explain data types in JavaScript? Differentiate between primitive and


30
31

non- primitive [6]


01
02
1/2
GP

Q3) a) What is Regular Expression in JavaScript and explain the need of regular
9/0

expressions. [6]
CE
80

b) Explain Look ahead and Look behind concepts in JavaScript. [6]


.23

c) Write a program to study string related built-in methods in JavaScript.[5]


16

OR
8.2
.24

P.T.O.
49
Q4) a) Explain string methods for Regular Expression in JavaScript. [6]

8
23
b) Explain Character Classes in JavaScript. [6]

ic-
c) What are the limitations of Regular Expression. [5]

tat
6s
Q5) a) Define JavaScript object model and explain four distinct object models
used in JavaScript. [6]

2:0
02 91
b) Explain event and event handler with an example. [6]

3:5
c) Write a JavaScript program to create a Home page of any website and

0
31
9/0 13
change background color using [6]
On mouse over event (mouse over)
0
1/2
On focus event (focus)
.23 GP

OR
E
80

8
C

23
Q6) a) Describe Document properties and methods with their HTML relationship.

ic-
[6]
16

tat
b) Differentiate between HTML. and DHTML. [6]
8.2

6s
c) Explain DOM and CSS Elements with example. [6]
.24

2:0
91
Q7) a) Explain Various methods to control windows and list out window features.
49

3:5
[6]
30
31

b) Explain the form handling and the terms form fields, validations. Dynamic
01
02

forms, Form usability with an example. [5]


1/2
GP

c) Design and implement a simple calculator using Java script for operations like
9/0

addition, multiplication, subtraction. division, square of a number.[6]


CE

OR
80

8
23
.23

Q8) a) List and explain various popular windows events? [6]


ic-
16

tat
b) What is frame and explain the HTML tags to create frames and how to
8.2

6s

change the properties of the frame [5]


.24

2:0

c) Create a student information Form to accept information like Name,


91
49

Address, City, State ,Gender, Mobile Number, and email id. Perform
3:5
30

validations for: [6]


31

• Correct Names
01
02

• Mobile Names
1/2
GP

• Email I.D.'s
9/0
CE
80


.23
16
8.2
.24

[5927]-383 2
49

You might also like