[go: up one dir, main page]

0% found this document useful (0 votes)
12 views2 pages

Nodejs 4

This document is an examination paper for the S.Y. B.B.A. (Computer Application) course on Node.js, consisting of five questions divided into sections with varying marks. It covers topics such as Node Package Manager, core modules, advantages of Node.js, and programming tasks related to Node.js and MySQL. Candidates are instructed to answer all questions, and the paper is designed to assess their understanding and practical skills in Node.js.
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)
12 views2 pages

Nodejs 4

This document is an examination paper for the S.Y. B.B.A. (Computer Application) course on Node.js, consisting of five questions divided into sections with varying marks. It covers topics such as Node Package Manager, core modules, advantages of Node.js, and programming tasks related to Node.js and MySQL. Candidates are instructed to answer all questions, and the paper is designed to assess their understanding and practical skills in Node.js.
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/ 2

Total No. of Questions : 5] SEAT No.

P1915 [Total No. of Pages : 2


[6034]-404
S.Y .B.B.A.(Computer Application )
CA 404 : NODE JS
(2019 Pattern) (Semester -IV)
Time : 2½ Hours] [Max. Marks : 70
Instructions to the candidates:
1) All questions are compulsory.
2) Figures to the right side indicate full marks.

Q1) Answer the following (Any eight) [8×2=16] a) What isthe Command to
intialize Node Package Manager (NPM) ? Write it’s syntax.
b) What is REPL?
c) List any four core modules of node.JS
d) Which directive is used to import node.JS modules?
e) List any 4 methods included under path module of node.JS?
f) For which tasks a file system module is used for?
g) Write a command to add dependency “express” using NPM.
h) Write a command to install MYSQL package by using NPM.
i) In which situation node. JS is not recomended to use?
j) Write steps to handle http requests while creating web server using
node.JS?
Q2) Answer the following (Any Four) [4×4=16]
a) What are the advantages of nodes.JS?
b) Write a program to update table records using node. JS and MYSQL
database.
c) Explain node.JS process model with the helf of diagram.
d) How does node.JS handles a file request?
e) What is the purpose of object module.experts in node. JS?
P.T.O.
[6034] - 404 1

Q3) Answer the following (Any four) [4×4=16]


a) Explain fs.readfile( ) method for all possible values of options?
b) Write a program which uses addlistener ( ) method of Event Emmitter
class.
c) Write a short note on NPM.
d) Create a node.JS file that select all records from the “Customers”
table.
e) Using node.JS create a web page to read two file names from user and
combine in third file.
Q4) Answer the following (Any four) [4×4=16]
a) What are different different features node. JS?
b) Compare Traditional web server model and node.JS process model.
c) Write a program to use SQL SELECT Qvery to show data from a table
using node. JS and MYSQLdata base.
d) Explain steps to install node. JS on windows.
e) Write a program to write to a file in node.JS.
Q5) Answer the following (Any Two) [2×3=6]
a) Write down the connection string of node.JS and MYSQL
b) Explain Event Driven Programming?
c) Explain Anonymous function with an example.

You might also like