Total No. of Questions : 5] SEAT No.
38
P-6014 [Total No. of Pages : 2
ic-
[6144]-404
tat
S.Y. B.B.A. (Computer Application)
9s
CA-404 : NODE JS
9:3
30 1
1
(2019 Pattern) (Semester - IV)
9:1
2/2 02
Time : 2½ Hours]
1 [Max. Marks : 70
02
8 1 P0
Instructions to the candidates:
1) All questions are compulsory.
A
1/1
2) Figures to the right indicate full marks.
8.7 CA
38
7.3
ic-
Q1) Answer the following (Any Eight ) : [8 × 2 = 16]
tat
9s
.24
a) What is the command to initialize node package manager? Write it's
9:3
syntax.
49
11
9:1
b) For which task a file system module is used?
02
30
c) What is REPL?
01
02
d) What is express.js?
2/2
AP
e) What is the use of prompt-sync module?
1/1
CA
f) List any four core modules in Nodejs?
81
38
g) Which command is used for deleting a file?
7.3
-
h) Write syntax to create Buffer? tic
8.7
sta
i) Write a command to install MySQL package by using NPM?
.24
:39
49
11
:19
Q2) Answer the following (Any Four) : [4 × 4 = 16]
02
09
a) How we install a package globaly in node js wirte it's command with
23
1
example?
8 1 P0
/20
b) What is the advantages of Nodejs?
12
A
1/
c) Explain Node'js Process Mode?
CA
d) How does Node.js handles a file request.
7.3
e) Write down the command to create package.js file with example?
8.7
.24
49
P.T.O.
Q3) Answer the following (any four) : [4 × 4 = 16]
38
a) How to write asynchronous data to a file explain with suitable example?
ic-
b) Write a program which uses add Listener (). method of Event Emitter
tat
class.
9s
9:3
c) Write a short note on NPM.
30 1
1
9:1
2/2 02
d) Write a code for selecting all records from Player's table.
e)
1
Explain module. exports in Node.js.
02
8 1 P0
A
1/1
Q4) Answer the following (Any Four) : [4 × 4 = 16]
8.7 CA
a) Compare Traditional webserver Model and Node.js process Model.
38
7.3
ic-
b) Write Node.js application to create user defined square module to fine
tat
area of square & display the details on console.
9s
.24
c) What is web server?
9:3
49
11
9:1
d) Write a program to create a file in Nodejs.
02
30
e) Explain parameter's of create connection?
01
02
2/2
AP
1/1
Q5) Answer following (Any Two) [2 × 3 = 6]
CA
81
a) Explain Event driven programming.
38
7.3
-
b) What is Anonymous function? tic
8.7
sta
c) Explain is module?
.24
:39
49
11
:19
02
09
23
1
8 1 P0
/20
12
A
1/
CA
7.3
8.7
.24
49
[6144]-404 2