Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

How can we get the Attribute value of a Model?

Answer»

How can we get the Attribute VALUE of a Model?
Choose the CORRECT OPTION from below LIST
(1)Using .get() method
(2)Using .getItem() method
(3)Using .getAttribute() method
(4)Using .getElement() method

Answer:-(1)Using .get() method

2.

What is the significance of Edge Version of BackboneJS?

Answer»

What is the significance of Edge Version of BACKBONEJS?
Choose the correct option from below list
(1)It is the unreleased Backbone version
(2)You can make use of this version at your own RISK
(3)All the OPTIONS
(4)BackboneJS development is STILL in progress

Answer:-(3)All the options

3.

BackboneJS is a lightweight JS library that lets you build and structure the server side applications by separating business and UI logic.

Answer»

BackboneJS is a lightweight JS library that LETS you build and structure the server side applications by separating business and UI logic.
Choose the correct option from below list
(1)TRUE
(2)False

Answer:-(2)False

4.

BackboneJS can be included in the project by _______________.

Answer»

BackboneJS can be included in the project by _______________.
Choose the CORRECT OPTION from below list
(1)Both the options
(2)Downloading from CDNs
(3)Downloading from its official website

Answer:-(1)Both the options

5.

Which of the following is the correct syntax for creating Backbone View?

Answer»

Which of the following is the CORRECT SYNTAX for creating Backbone View?
CHOOSE the correct option from below list
(1)VAR appView=Backbone.View.extend({el:"div_1"});
(2)var appView=Backbone.View.extend({el:"#div_1"});
(3)var appView=Backbone.View.extend({$el:"div_1"});
(4)var appView=Backbone.View.extend({$el:"#div_1"});

Answer:-(2)var appView=Backbone.View.extend({el:"#div_1"});
creating Backbone

6.

The ___________ method removes the callback functions or all events from an object.

Answer»

The ___________ method REMOVES the CALLBACK functions or all events from an object.
Choose the CORRECT option from below list
(1)remove
(2)delete
(3)drop
(4)off

Answer:-(4)off

7.

Can we set default values for Model?

Answer»

Can we set default values for MODEL?
Choose the CORRECT OPTION from below list
(1)YES
(2)No

Answer:-(1)Yes

8.

The BackboneJS separates ____________ and ______________.

Answer»

The BackboneJS separates ____________ and ______________.
Choose the correct OPTION from below list
(1)Model, Data Source
(2)Data Source, Logic
(3)BUSINESS logic, User interface logic
(4)VIEW, Data Source

Answer:-(3)Business logic, User interface logic

9.

Which of the following is the correct syntax for reading attributes from Model object?

Answer»

Which of the following is the CORRECT syntax for reading ATTRIBUTES from Model object?
CHOOSE the correct option from below list
(1)Var BOOK=Backbone.Model.extend({title:'XXX'});
(2)var objBook = NEW Book();
(3)objBook.getAttr('title');
(4)objBook.get('title');
(5)objBook.attr('title');
(6)objBook.key;

Answer:-(4)objBook.get('title');

10.

The ___________ acts as a global router, controls the history, matches the suitable route and triggers callbacks to manage events and enable routing i

Answer»

The ___________ ACTS as a global router, controls the history, matches the suitable ROUTE and triggers callbacks to MANAGE EVENTS and enable routing in the application.
Choose the CORRECT option from below list
(1)backup
(2)history
(3)storeHistory
(4)getHistory

Answer:-(2)history

11.

Which function has to be used when you want to trigger the event only once before being removed?

Answer»

Which function has to be used when you WANT to TRIGGER the event only once before being REMOVED?
Choose the correct option from below list
(1)once
(2)on
(3)onceon
(4)None of the options

Answer:-(1)once

12.

The following are alternatives to Backbone.js, except __________

Answer»

The following are alternatives to Backbone.js, except __________
Choose the correct option from below LIST
(1)ReactJS
(2)JAVA
(3)ANGULAR
(4)EmberJS

Answer:-(2)Java

13.

How to override the model property of the collection class?

Answer»

How to override the MODEL property of the COLLECTION CLASS?
Choose the correct option from below LIST
(1)Backbone.Collections.model
(2)Backbone.Collection.models
(3)Backbone.Collections.models
(4)Backbone.Collection.model

Answer:-(4)Backbone.Collection.model

14.

___________ is the first function called when the view is instantiated.

Answer»

___________ is the FIRST FUNCTION called when the view is instantiated.
Choose the CORRECT option from below list
(1)MAIN
(2)RENDER
(3)initialize

Answer:-(3)initialize

15.

The __________________ contains a list of models in BackboneJs application.

Answer»

The __________________ contains a list of MODELS in BackboneJs application.
Choose the CORRECT OPTION from below list
(1)None of the options
(2)collection
(3)arrayOfModels
(4)ModelGroup

Answer:-(2)collection

16.

Backbone.View render() function can return this reference.

Answer»

Backbone.View render() function can return this reference.
Choose the correct OPTION from below list
(1)False
(2)True

Answer:-(2)True

17.

How to invoke the declared event in BackboneJS?

Answer»

How to INVOKE the DECLARED event in BackboneJS?
CHOOSE the correct option from below list
(1)Using trigger() function
(2)Using initiate() function
(3)Using render() function
(4)None of the options

Answer:-(1)Using trigger() function

18.

The _________ binds and triggers the user's custom events to an application.

Answer»

The _________ binds and TRIGGERS the user s custom events to an application.
Choose the CORRECT OPTION from below list
(1)Model
(2)View
(3)Collection
(4)Events

Answer:-(4)Events

19.

What is the core part of any JavaScript application that retrieves and populates the data?

Answer»

What is the core part of any JAVASCRIPT APPLICATION that retrieves and populates the DATA?
Choose the correct option from below list
(1)Collection
(2)Model
(3)View
(4)Data source

Answer:-(2)Model