Home »
MCQs
BackboneJS Multiple-Choice Questions (MCQs)
Backbone.js is a JavaScript rich-client web app framework based on the model–view–controller design paradigm, intended to connect to an API over a RESTful JSON interface.
BackboneJS MCQs: This section contains multiple-choice questions and answers on the various topics of BackboneJS. Practice these MCQs to test and enhance your skills on BackboneJS.
List of BackboneJS MCQs
1. Backbone JS is a ____?
- Python framework
- JavaScript framework
- Java framework
- PHP framework
Answer: B) JavaScript framework
Explanation:
Backbone JS is a JavaScript framework.
Discuss this Question
2. Is backbone JS client-side or server-side?
- Client Side
- Server Side
Answer: A) Client Side
Explanation:
Backbone JS allows to develop and structure of client-side applications.
Discuss this Question
3. Which architecture does backbone JS support?
- MVVM
- MVP
- MVC
- Layered architecture
Answer: C) MVC
Explanation:
Backbone JS supports MVC architecture.
Discuss this Question
4. Which of the following is a piece of code that populates and retrieves data?
- Model
- View
- Controller
Answer: A) Model
Explanation:
A model is a piece of code that populates and retrieves data.
Discuss this Question
5. Which of the following allows you to save your JavaScript application by using a URL?
- Model
- View
- Controller
Answer: C) Controller
Explanation:
The controller allows you to save your JavaScript application by using a URL.
Discuss this Question
6. Backbone JS is written in____?
- Python
- JavaScript
- Java
- PHP
Answer: B) JavaScript
Explanation:
Backbone JS is written in JavaScript language.
Discuss this Question
7. Backbone JS is dependent on which of the following JavaScript file?
- Underscore.Js
- Jquery.Js
- Json2.Js
- All of the above
Answer: D) All of the above
Explanation:
Backbone JS is dependent on:
- Underscore.Js
- Jquery.Js
- Json2.Js
Discuss this Question
8. Which of the following are the main components of Backbone JS?
- Model
- View
- Collection
- Router
- Event class object
- All of the above
Answer: F) All of the above
Explanation:
Backbone JS's main components are:
- Model
- View
- Collection
- Router
- Event class object
Discuss this Question
9. Which of the following is a URL representation of the objects in the program?
- HTTP request
- Router
- Views
- Events
Answer: B) Router
Explanation:
Router is a URL representation of the objects in the program.
Discuss this Question
10. Backbone.js ____represent an ordered set of models?
- HTTP request
- Views
- Events
- Collections
Answer: D) Collections
Explanation:
Backbone.js collections represent an ordered set of models.
Discuss this Question
11. In MVC architecture which of the following comprises the code that is in charge of the end user interface, or how the program is displayed to the user?
- Model
- Views
- Controller
Answer: B) Views
Explanation:
View comprises the code that is in charge of the end user interface, or how the program is displayed to the user.
Discuss this Question
12. Backbone.js ____ is a module that may be combined with any object?
- HTTP request
- Views
- Events
- Collections
Answer: C) Events
Explanation:
Backbone.js event is a module that may be combined with any object.
Discuss this Question
13. ____is a class that is used to connect the model and the view.
- Model Binder
- Model view
- Controller
Answer: A) Model Binder
Explanation:
Model Binder is a class that is used to connect the model and the view.
Discuss this Question
14. The ____is a function that converts a JavaScript object to a model. It is called when there is a transition between an HTML element and the model's attribute?
- Model Binder
- Converter
- Collections
- Controller
Answer: B) Converter
Explanation:
The Converter is a function that converts a JavaScript object to a model. It is called when there is a transition between an HTML element and the model's attribute.
Discuss this Question
15. Which function is a function that is called every time in backbone JS?
- Model
- View
- Sync
- API
Answer: C) Sync
Explanation:
The sync function is a function that is called every time in backbone JS.
Discuss this Question
16. Which of the following function you will use to remove the validation binding on the model or all models, as well as any events connected to the collection?
- Unbinding function
- Data bid
- Data binding
Answer: A) Unbinding function
Explanation:
You may use the Unbinding function to remove the validation binding on the model or all models, as well as any events connected to the collection.
Discuss this Question
17. When the Backbone view has to be applied to a different DOM element, the ____method is utilised?
- Elements
- setElement
- Components
Answer: B) setElement
Explanation:
When the Backbone view has to be applied to a different DOM element, the setElement method is utilised.
Discuss this Question
18. Which of the following configuration options are available in backbone JS?
- modelSetOptions
- boundAttributes
- supressThrows
- converter
- change Triggers
- InitialCopyDirection
- All of the above
Answer: G) All of the above
Explanation:
Following configuration options are available in Backbone JS:
- modelSetOptions
- boundAttributes
- supressThrows
- converter
- change Triggers
- InitialCopyDirection
Discuss this Question
19. In Backbonejs, how are model properties stored?
- Hash
- Queue
- Linked list
- Map
Answer: A) Hash
Explanation:
In Backbonejs, model properties are stored in Hash.
Discuss this Question
20. When there are many instances of jQuery on the page, then which of the following property is utilised?
- Backbone.noConflict
- Backbone.$
- setElement
Answer: B) Backbone.$
Explanation:
When there are many instances of jQuery on the page, backbone.$ property is utilised.
Discuss this Question
21. Backbone.js is a soft reliance on____?
- Underscore.Js
- Jquery.Js
- Json2.Js
Answer: B) Jquery.Js
Explanation:
Backbone.js is a soft reliance on jQuery.
Discuss this Question
22. The ____ works as a unique identifier.
- Model.id
- Model
- Model.cid
- Model.events
Answer: C) Model.cid
Explanation:
The model.cid works as a unique identifier.
Discuss this Question
23. Which of the following function determines which element will be used as the view reference?
- Initialize
- setElement
- el
- extend
Answer: C) el
Explanation:
el method determines which element will be used as the view reference.
Discuss this Question
24. Which of the following method binds items to the given DOM elements while handling events via callback functions?
- Remove
- UndelegateEvents
- Delegate events
- Remove_delegate events
Answer: C) Delegate events
Explanation:
DelegateEvents binds items to the given DOM elements while handling events via call-back functions.
Discuss this Question
25. Which of the following method removes delegate events from the view?
- Remove
- UndelegateEvents
- Delegate events
- Remove_delegate events
Answer: B) UndelegateEvents
Explanation:
UndelegateEvents removes delegate events from the view.
Discuss this Question
26. Which of the following company uses Backbone JS?
- Mahindra and Mahindra Ltd
- IBM
- Versace
- All of the above
Answer: A) Mahindra and Mahindra Ltd
Explanation:
Mahindra and Mahindra Ltd uses backbone.js.
Discuss this Question
27. Who developed Backbone JS?
- Rasmus Lerdorf
- Brendan Eich
- Jeremy Ashkenas
Answer: C) Jeremy Ashkenas
Explanation:
Jeremy Ashkenas developed backbone.js.
Discuss this Question
28. Which of the following are the alternatives of Backbone.JS?
- Vue JS.
- React.
- Ember JS.
- Angular JS.
- All of the above
Answer: E) All of the above
Explanation:
Following are the alternatives of backbone.js:
- Vue JS.
- React.
- Ember JS.
- Angular JS.
Discuss this Question
29. How many methods are provided by backbone js to manipulate the Backbone.js utility?
- 3
- 4
- 2
- 5
Answer: C) 2
Explanation:
Following are two methods that can be used to manipulate the Backbone.js utility:
- Backbone.noConflict
- Backbone.$
Discuss this Question
30. The ____-function listens for routes and handles the bookmarkable URL history?
- Restart
- Start
- New
- History
Answer: B) Start
Explanation:
The start function listens for routes and handles the bookmarkable URL history.
Discuss this Question