Home / CSE MCQs / Backbone JS ::

CSE MCQs :: Backbone JS

  1. What are the main components of Backbone.js?
  2. A.
    Model
    B.
    View
    C.
    Collection
    D.
    All of the above

  3. What are the configuration options available?
  4. A.
    InitialCopyDirection
    B.
    ModelSetOptions
    C.
    Change Triggers
    D.
    All of these

  5. What are the key points of Backbone?
  6. A.
    It has hard dependency with underscore.js to make it more functional and supporting a range of useful collection- based operations
    B.
    With jQuery it has a soft dependency
    C.
    When the model changes it can update the HTML of your application automatically
    D.
    All of these

  7. What is view in Backbone.js?
  8. A.
    Views are not HTML
    B.
    It is a description of a model
    C.
    The HTML code comes from templates
    D.
    All of these

  9. Consider the following nested array:
    _.flatten([1, [2], [3, [[4]]]], true); Justify the output of it.
  10. A.
    [1, [2], 3, [[4]]];
    B.
    [1, 2, 3, [[4]]];
    C.
    [1, 2, [3, [[4]]]];
    D.
    [1, [2], 3, [[4]],true];

  11. What is the architecture of Backbone.js
  12. A.
    Model
    B.
    View
    C.
    Controller
    D.
    All of these

  13. List out configuration options available in Backbone Js?
  14. A.
    InitialCopyDirection
    B.
    ModelSetOptions
    C.
    Change Triggers
    D.
    All of the above

  15. Which are the three js files that are required to setup Backbone.js?
  16. A.
    jQuery
    B.
    Backbone
    C.
    Underscore
    D.
    All of these

  17. Describe Backbone events?
  18. A.
    On
    B.
    Off
    C.
    Trigger
    D.
    All

  19. What are the most powerful functionalities of Modelbinder?
  20. A.
    It allows the developer to define the scope when binding is created using J-Query
    B.
    In some of the cases, we can rely on the default scoping rules which are based on name attribute of HTML
    C.
    The scoping rules can be redefined if the views are complex
    D.
    All of the above mentioned