15.Node js is a---------- runtime built on chrome V8 javascript engine.
A.Javascript B.C# C.Python D.C++16.. Is node js multithreaded?
A.Yes B.No
A. compareDocumentPosition()
B. cloneNode()
C. getUserData()
D. getFeature()
A.Yes B.No
17.How do you kill a process in Node.js?
A. Ctrl + C B. Ctrl + B C. Ctrl + K
18.Node uses _________ engine in core.
A. Chorme V8 B. Microsoft Chakra C. SpiderMonkey D. Node En
19.Command to start Node REPL
A.. $ node start B. $ node
C. $ node repl
D. $ node console
20.In which of the following areas, Node.js is perfect to use?
A. I/O bound Applications
B. Data Streaming Applications
C. Data Intensive Realtime Applications DIRT
D. All of the above.
21.Which method returns the current working directory of the process.
A. process.cwd(); B. cwd(); C. pwd();
22.What is the default scope in Node.js application.
A. Local
B. Public C. Private D. Global
23.Which of the following Node object property returns the local part of the name of a node
A. lastName
B. localName
C.firstName
D.none of the mentioned.
24.How to test if two nodes are equal?
A. isEqualNode()
B.equal()
c.==
D.none of the mentioned.
25.What code print the endianness of operating system?
A. console.log('endianness : ' + os.getEndianness());
B. console.log('endianness : ' + os.endianness) ;
C.console.log('endianness : ' + os.endianness());
D.None of the above.
26. Select all valid rout parameter formats
A. /users/:userId/books/:bookId
B. /flights/:from-:to
C./books/!:from-:to
D.None
27.Which of the following is a GUI-based debugging tool for Node.js?
A. Core node debugger
B. Console
C.REPL
D.Node Inspector.
28.How many node types are there in total?
a) 11 b) 12 c) 13 d) 14
29. Which method is used to compare the placement of two nodes in the DOM hierarchy (document)?
B. cloneNode()
C. getUserData()
D. getFeature()
30.whichof the following are web applications frameworks forNode js?
A.Express.js
B.Geddy
C.Locomotive
D.All of the above
0 Comments