Header Ads Widget

BCA Information

MCQ On Introduction to Node JS

 1.Node Js is-------Language

A. Server side

B. Client Side

C .Both

D. None of the above

2.Node js is a single threaded application but supports concurrency.

A. true                            B. false

3REPL stands for--

A. Read Earn point Learn

B. Read Eval print Loop

C. Read Eval point Loop

D. Research Eval Program Learn


4.Which command is used for list of all commands. 

A. . break        B. .Clear                C.list                 D. .help


5.Which statement executes the code of sample.js file?

  • A. nodejs sample.js       B. node sample.js
  •  
  •  C. sample.js                  D. None of the above
  • 6. what are the key features of Node.js?

    • A. Real time Data intensive
    • B. Highly scalable servers for Web Applications
    • C. Builds fast and scalable network Applications
    • D. All of the above
    • 7.Why node js code is pretty fast although being written in javascript?

      • A. Node.JS internally converts JavaScript code to Java based code and then execute the same
      • B. Node.JS internally converts JavaScript code to C based code and then execute the same
      • C. Being built on Google Chrome's V8 JavaScript Engine
      • D.None of the above
    • 8.What is the advantage of using node.js?


      • A. It provides an easy way to build scalable network programs
      • B. Generally fast
      • C. Great concurrency
      • D. All of these
      • 9. Is console global object?
      • A.null       B. false     C. true    D. None
      • 10.Which of the followings are valid languages for Node.js?
      • A. JavaScript        B. Java       C. C++   D.C#      
      • 11.Which of the following tool automates various tasks of Node.js application?
        • A. Express.js                       B. GruntJS
        • C. NPM                            D. None of the above


      • 12.In Node.js APIs of Node.JS are which of the following?
      • A. Asynchronous                    B. Synchronous
      • C. Both of the above                     D. None of the above
      • 13.Which of the following template engines can be used with Node.js?
        • A. Jade                      B. Vash
        • C. Handlebars            D. All of the above
        • 14.In Node js what is use of underscore variable in REPL session? 
          • A. to store the result
          • B. to get the last command used
          • C. None of the above
          • D. to get the last result.










      • .


























































Post a Comment

0 Comments

Popular Posts

Visual Basic 6.0 Program
Node js practical