You are on page 1of 2

F

DC

9
A

AE

66

BA
Paper / Subject Code: 48892 / Web Computing

26

E7

CD
AC

6F
F1

AE
1T01875 - T.E. Computer Science & Enginering (Artificial Intelligence & Machine Learning)

BA
7D

D6
C0

26
(Choice Based) (R-2019 'C' Scheme) SEMESTER - V / 48892 - Web Computing

AC

EE

6F
F1
53

DC
QP CODE : 10030219 DATE: 25/05/2023

D6
C0
17

26

CA

7
EE
84

1
53

DC
A
F
DE

C0
17

26

CA
(3 hours) Total Marks: 80

E 7
4

F1
53
55

6A
8

7D
E

C0
17

CA
9E

12
1. Question No. 1 is compulsory

EE
84

53
BA

6A
0F
5
2. Attempt any three questions from remaining five questions

DE

17

A
9E

3C
6F

12

C
3. Assume suitable data if necessary and justify the assumptions

4
A

55

6A
8

0F
D6

5
B

DE
4. Figures to the right indicate full marks

17
9E

3C
F

12
DC

84
6

55

A
F
D6

75
FB

DE
E7

26
E
Q1 Answer the Following.

3C
1
C

A9

4
AE

F1
66

55
D

E8

75
FB
E7

CD

C0
9E
AC

5D

41
A What is HTTP? Explain its working along with request and response example. 05

66

53
A
D

E8
26

CA

E5
B
7

CD

17
E

F
F1

5D
9
A

84
AE

66
B Write a Javascript to change the background color of the web page 05

A
D
C0

26

75
E5
FB

DE
E7

D
to red color if button named “RED” is clicked and AC
F1

41
53

DC

9
E

66

BA

55
to green color if button named “GREEN” is clicked.

E8
C0
17

CA

E7

CD
12

9E
84

6F

5D
3

A
0F

E
75

BA
D
DE

D6
6

CA
C Write the program to create a simple HTTP server to display a welcome message 05

E5
7
3C
1

E
84

6F
1

DC
55

A9
with node.js.
6A
F

E
5
DE

D6
C0
17

CA
E

FB
E7
12
A9

53

C
D What are components in React? Create one class component “Car” in React and
55

05

6A
8

0F

66
7D
FB

CA
E

CD
3C
D

41

invoke it using index.js. 12


A9

EE
66

55

6A
E8

0F
5

7D
FB
CD

CA
E

3C
5D

2
A9

EE
4

1
66
7D

6A
8

0F
75
5

Q2 A Write JavaScript to validate Username, Password and Email. 10


FB

DE
CD

CA
9E
EE

C
41

12
Username and Password should not be blank and
66

3
A

55
7D

6A
E8

0F
CA

75
FB
CD

minimum length of password =8. Email should have @ character.


9E
EE

3C
5D

41

12
6A

66

BA
7D

E8

0F
CA

75
5
CD
2

B What is a single page application? Explain React JSX with suitable examples such 10
EE

3C
6F
F1

5D

1
9
6A

4
A

as rendering the greeting message “Hello! Welcome to React”


7D

E8
D6
C0

CA

75
5
FB
12

9E
E

41
53

DC
6A
0F

AE

66

BA

55

E8
17

E7

CD
3C

9E
AC
4

F
F1

5D
E8

AE

66
5

BA

Q3 A 1) Write a Javascript to accept two numbers and display their sum using pop 12
7D
0
17

26

E5
D
3C

AC

up box.
EE
84

6F
F1

DC

A9
5
DE

6
0
17

26

2) Explain the concept of React Hooks. What are the rules of using Hooks?
CA

FB
E7

CD
3C
84

F1
55

Write the code making use of Hooks useState function that displays the number of
6A

66
5

7D
DE

0
17

A
9E

times button named “CLICK” is clicked.


CD
3C

12

AC

EE
84
BA

55

0F
5

7D
DE

17

26

CA
E

3C
A9

EE
84

F1
55

6A

B Explain React Component Life cycle with suitable diagram. 8


5
B

DE

0
17

CA
E

3C
6F

12
A9

84
55

6A
0F
6

75
B

DE
CD

C
6F

41

12

Q4 A Write an XML file marksheet.xml representing your semester mark sheet. How do 05
A9

53
55
7D

E8

0F
6

you prove that it is well formed and valid XML?


B
CD

17
E

3C
6F

D
A9

84
55
7D

75
B

DE
CD

B Explain different types of node.js modules? What are different modules that 05
E
EE

6F

41
A9

55
7D

provide core functionality?


E8
6
CA

B
CD

9E
EE

6F

5D
A

BA
7D

C What are the features of React.js 05


6
26

CA

E5
CD
EE

6F

A9
A

7D

D Draw and illustrate 3-tier web architecture. 05


26

CA

FB
CD
EE
1

A
0F

66
7D
26

CA

CD
C

30219 Page 1 of 2
EE
1
53

A
0F

7D
17

26

CA
C

EE
1
53

6A
0F
7

CA
3C
41

DE841753C0F126ACAEE7DCD66FBA9E55
12
17 26 7D BA E8
53 A CD 9E 4
C 0F
CA
6 55
17
53
1 EE 6F DE
41
7 26 7D B C0
53 A A9 84 F1
2
C 0F
CA CD
6 E 55
17
5 6A
1 EE 6F DE 3C CA
B

Q6
Q5
26 7D 0F
A A9 84 12 EE
3C
0F
CA CD
6 E 55
17
5 6A 7D
1 EE 6F DE 3C CA CD
B 0

30219
26 7D 66
A A9 84 F1
2
EE FB
CA CD
6 E 55
17
5 6A 7D A9
12 EE
7D
6F
B DE 3C
0
CA CD
66 E55
6A A9 84 F1 EE FB DE
CA CD
6 E 55
17
5
26
AC
7D A9 84
EE 6F 3C CD E 17
it is executed.

7D B DE 0 AE 66 55 53

function in ES6.
CA CD A9
E
84
17
F1
26 E 7D FB C0 DE
6 55 5 AC 1
A9 F1 84
EE 6F D 3C CD
55 75 E 26
7D BA E8 0F AE 66 D 3 AC
CD 9E 41
75
12
6A
E7 FB
A E 8
C0
F1 AE
66 55 3C CA
DC 9E 4 17 26 E7
FB
A9
DE
84 0 F1 EE
D6
6F 5 5D 5 3C A CA
DC
D6
E5 17
53
26
AC
7D BA E8
41
0F
12 E E7 6F
5D C CD 9E 7 6 D BA
E8 0F A E 66 55 53 AC C 9E
41 12 E7 FB DE C0 AE D6 55
75 6A DC A 8 4 F 1 E 6 F
9
A Explain the architecture of Flux in detail.

1 2 7 B DE
3C
0F
CA D 66 E 5 7 5 6 A D A 84
EE F 5D 3C CA CD 9E 17
12 7D BA E8 0F E 66 5 5 53
6A 41 12 E7 FB D E C0

Page 2 of 2
CA CD 9E D A 8
6 5 75 6A 4 F1
****************

EE 6F 5D 3C CA CD 9E 17 26
7D BA E8 0F E 66 55 53 A
CD 9E 41 12 E7 FB DE C0
55 75 6A DC A9 84 F1
66 D 3 C CA D E 17 26

DE841753C0F126ACAEE7DCD66FBA9E55
FB 55 53
A9 E8
4
0F
1 E E
66
F DE
AC
E5 1 75 2 6A 7 D B A 8
C0
F AE
4 1
Paper / Subject Code: 48892 / Web Computing

5D 3C CA CD 9E 17 26
E8 0F E 66 55 53 AC
41 12 E7 FB DE C0 AE
75
3C
6A DC A 9 84 F1 E7
CA E5 17 26
0F D6 5 A DC
B Differentiate ES5 and ES6. Give an example of the Anonymous and Arrow

12 EE 6F 5D 3C CA
6A 7D BA E8 0F EE
CA C 9E5 4 1 12 7D
D6 75 6A
B What is NodeJs and Express.js? Discuss the features and advantages of Express.js.
A Explain the working of the event loop along with different phases of node.js with a

EE 6F 5D 3C CD
neat diagram. Write an asynchronous file reading node.js program and explain how

CA
7D BA E8 0F 66
CD 9E 41 12 EE
7 F
75 6A
10
10
10
10

66 55 DC
FB DE 3C CA
0 F E
D6
6F
A9
E5
84
17 12 E 7 BA
6A DC
5D 53 C 9
E8 C0
F1 A EE
D6
6F
41 26 7D BA
75 A

You might also like