1. In Backbonejs, syntax of creating 8 Fruit Object having default attributes name with value Mango, and season with value Summer are also added, and the message “Fruits are healthy!" is written to console?
2. In relation to RequireJS configuration options, which of the following is the correct option that is used for setting the baseUrl to point to the app directory?
3. Which of the following commands is used for installing the JavaScript tool. Yeoman?
4. While using Backbone.js, which of the following functions is used for binding events?
5. Which of the following options is the correct syntax of command that is used for installing the Grunt command-line interface globally?
6. In relation to Backbone.ModeI, which of the following options is NOT a valid callback parameter of the request event?
7. While using JavaScript, which of the following string functions is used for extracting a subString from the string that begins at the start position through the specified number of characters?
8. In relation to running QUnit without a browser. which of the following options is the correct command that is entered to the command line for obtaining the PhantomJS Runner plug-in for QUnit?
9. Which options is the correct OUnit callback that runs after each assertion and provides the result of the test case (either error or log) along with the message?
10. In relation to Jasmine-jOuery matchers. which of the following options is the correct syntax of the matcher that is used for checking if an event was triggered on the element?
11. In relation to RequireJS configuration options, which of the following options is used for specifying an array of dependencies to load immediately after processing of the configuration of RequireJS?
12. In relation to the attribute changes in Backbonejs models, which of the following Options is used for providing a global change handler that is used for responding to any attribute changing in the model?
13. Which of the following options is NOT a CollectionView Life-Cycle Event callback?
14. Which of the following Backbonejs collection methods is used for adding a model at the beginning of a collection?
15. While using Handlebars with Backbone.js, which of the following helpers is used for allowing the context to be changed within a template for ensuring the use of a particular object?
16. In relation to Jasmine-jQuery matchers, which of the following arguments is passed to the toContain matcher that is used for checking the internals of an element for the presence of other elements?
17. Which of the following Backbone.js model methods is used for communicating with the server and for representing the state of a model?
18. While using Backbone.js, which of the following attributes is used for binding the View class to an HTML page?
19. While using Backbonejs, which of the following syntaxes is used for extending any basic objects with the Backbone event capability?
20. Which of the following statements is/are NOT correct about the Backbone.js views?
21. Which of the following options is used for setting a new set of events and handlers for the View and removing the previous events?
22. Which of the following options is the correct syntax of QUnit Assertions named deequual that is used for performing a deep recursive comparison assertion working on all primitive types such as arrays,objects and dates, etc.?
23. In relation to Marionette, which of the following CollectionView Life-chle Event callback is used for allowing custom code to be added to manipulate the view‘s el further?
24. Backbone.trackit cannot be applied to individual model objects, using the startTracking function.
25. Which modules are the parts of Backbone.js? i) Events ii) HTTPS Request iii) Router iv) HTTP Request
26. With regard to dealing with files in Grunt, which of the following Options is the correct property that is used to remove all path parts from the dest paths?
27. in relation to Globbing patterns for files in Grunt, which of the following options is used for matching a single character but not I?
28. While installing Backbone.js. which of the following options is required to be included for older internet explorer support?
29. In Backbone.js. which of the following options is/are handled by the Backbonehistory abstraction?
30. Suppose you defined a new View named ExampIeView using Backbone.js. Which of the following commands is used for creating a new instance named myViewExample of this View?
31. Which of the following options is the correct syntax for creating a model object named ExampleModel in Backbone.js?
32. In Backbone.js. which of the following options is used for monitoring changes in the hash fragments and invoking the appropriate events?
33. Which of the following options is the correct syntax for using HTML5 pushState in an application for providing URLs without hash fragments?
34. In relation to adding a task for the Grunt build script. which of the following commands is used for adding the uglify task with the --save-dev flag?
35. In relation to File Array format. which of the following additional Grunt file properties when set to true. Is used for allowing the user to build the file object dynamically?
36. In relation to Sinon-QUnit, which of the following options is used for testing callbacks and functions throughout the code, and also used for determining that how many times a particular function has been executed?
37. Which of the following Backbone.js options provides a local caching mechanism for the data so that if the app goes Offline, the data still continues to be stored and is synced with the server when connectivity is restored?
38. While using BackbonelocalStorage, which of the following options is used for defining a new localStorage parameter for the collection?
39. Which of the following options is used by Backbone for providing a set of user interface elements that are committed for displaying the data sets in a tabular fashion?
40. Which of the following plugins is used by Backbone for retrieving and setting attributes with a more concise, jQuery-Iike format?
41. In relation to Backbone UI, which of the following files that are contained in the source distribution of Backbone UI must be included to the HTML page?
42. In relation to Backbone.js. which of the following functions is NOT performed by a model?
43. In relation to Grunt uglily task, which of the following options is the correct tag that is used for allowing configuration properties to be included in the task?
44. In relation to Jasmine matchers. which of the following matchers compares using the === function?
45. Which of the following Jasmine-jQuery matchers is used for checking, if an element on the page is correctly rendered?
46. Which of the following QUnit Assertion is used to perform a boolean assertion that returns true if the first parameter returns true?
47. Which of the following Backbone.js functions is used for switching the DOM element that the view is applied to during the application Iifecycle?
48. In relation to the attribute changes in Backbonejs models, which of the following options is used to return true if an attribute has changed since the last change event?
49. In relation to Backbone.js collection methods. which of the following options is used for removing and returning the model at the beginning of the collection?
50. In relation to Jasmine matchers, which of the following options is the correct syntax of the matcher which is used for the equality check for simple literals and variables?
51. In relation to Backbone.js models. which of the following options is the correct function that is used for performing a delete operation to remove the model from the backend?
52. In relation to templateSettingS parameter in Backbone.js. Which code snippets can be used for specifying the use of [{ ]) instead of < 96 96>?
53. In relation to Yeoman tool. which of the following options is a package manager for libraries and frameworks that are used within web applications?
54. Which of the following options is NOT a primitive data type of JavaScript?
55. Which of the following Backbone.js options is used for providing the ability to undo previous changes and triggering the events when there are unsaved changes?
56. Which of the following Backbone.js model methods is used for determining the previous value of the changed attribute?
57. Which of the following options is NOT a correct feature of Backbone.js?
58. While creating routes manually using Backbone.js, how many parameters can be passed to the route function?
59. In relation to Grunt plugin QUint task configuration options, which of the following options is the default value of timeout option?
60. In relation to UglinyS task configuration options, which of the following Options is the default value of report option?
61. In relation to RequireJS configuration options. which of the following Options is used for allowing the configuration of exports. dependencies, and custom initialization for the Older scripts that do not use the function named define ()?
62. After setting the back-end server, which of the following commands is used for setting the urlRoot attribute of the Backbone.js Model object? Consider that the url is http://localhostz8080lexamplesl,and the variable is Example.
63. Which of the following options helps in grouping of related models. handling the loading and saving of new models to the server and providing helper functions that performs aggregations or computations against a list of models?
64. In relation to Backbonejs. which of the following functions is used for allowing an event name having multiple parameters to be passed to the event handler?
65. Arrange the given steps of Test-Driven Development in the correct order? i) Write production code ii) Run test expecting failure iii) Refactor code iv) Write test v) Repeat vi) Run test suite
66. In a Backbonejs model, which of the following attributes is generated automatically by Backbone when the model is first created, and is used for identifying the model that has not been saved to the server and does not have its real ID available?
67. While installing Backbone.js. which of the following options is the only hard dependency that must be included?
68. In relation to Backbone.js View Events. which of the following formats is used for defining the events that will be handled?
69. While working with Backbonejs, which of the following options is the correct syntax of the function which is used for resetting the state of a model object to the same as it is on the server side? (Consider the variable is thisExample, the success message is Fetch is successful., and the error message is Fetch results in error.)
70. In relation to Backbonejs, which of the following options are the correct application requirements for using the LayoutManager?
71. In relation to Thorax, which of the following options acts as a container for another View and also allows this contained view to be replaced easily?
72. Backbone.js should be used under which of the following situations?
73. While using Handlebars with Backbonejs, which of the following Options is used for iterating through the collection?
74. Which of the following Options are the correct syntaxes of the code snippet that can be used for finding a sub-element within your view with ID Example Backbone?
75. Backbone memento is used for which of the following options?
76. While using Handlebars with Backbone.js, which of the following options can be used for inserting comments into templates?
77. Which of the following options must be included to the user's page before including backgridjs?
78. Which of the following functions are used by Thorax.Model for extending Backbone’s default model?
79. Which two of the following options are the ItemView Life-Cycle Event callbacks?
80. Which of the following options are the valid callback parameters of Backbone.CoIlection event. named reset?
81. Which of the following callbacks can be used across all Marionette view types?
82. While using Handlebars with Backbone.js. which of the following options is used for representing blocks in Handlebars?
83. In relation to JSHint check eqeqeq. all the equality operations are carried out using which of the following options?
84. In relation to JSHint checks. the option plusplus prohibits the use of which of the following options?
85. Which two Options are the Backbone.Model events?
86. $ is always available in Backbone applications?
87. Which syntax is valid in events for Backbone views?
88. Which libraries provides events for Backbone views?
89. Which template engines can be used with Backbone views?
90. Which properties can be used for manipulating DOM element?
91. Fetch method call the server and populates the collection.
92. Which methods can be called after all routers creation?
93. Which router methods is usually used while implementing login functionality?
94. Which will not continue and the attributes of the model will not be modified on the server?
95. Which iteration function are exists in Backbone Collections?
96. True or false: el and $el are the same methods.
97. Which of the following libraries can be used for defining Backbone template?
98. Which of the following types can be used in templates?
99. True or false: The collections can`t nested another collection.
100. Which of the following code is get index by Backbone.Collection?
101. Which of the following is not an Underscore utility function over Collections?
102. Which function is called when a Collection, Model is created?
103. Using the following code example, How to use fetch with sending id?
104. True or false: sync method invokes after successful connection with a server.
105. Which code can you use for the deleteLists?
106. Which statement is valid for setting initial values to the model attributes?
107. Which code gets index by Backbone.Collection?
108. Which of the following attaches event listeners into the View?
109. Which of the following libraries provide events for Backbone views?
110. Which of the following events is activated when the request to the server fails?
111. Which of the following is a built-in event in Backbone?
112. This method removes callback functions or all events from an object.
113. Which option will tell an object to stop listening to events by either calling stopListening with no arguments to have the object remove all of its registered callbacks ... or by telling it to remove just the events it's listening to on a specific object, or a specific event, or just a specific callback?
114. What are the Events of Backbone JS?
115. How can an event be binded to an object?
116. Which of the following events is executed when the model validation fails?
117. Backbone offers an opt-in for HTML5 pushState support. Which one of the following is correct?
118. Which code will you use when Defining a root route?
119. Which styles of variables are using Backbone in routers?
120. Which method can be used for updating URL?
121. Which code is True about Backbone.Collection?
122. How can a model be removed from a collection and server? var myCollection = new MyCollection(); ... var myModel = myCollection.get(2); ...
123. How can a set of models be retrieved from the server and into the collection when they arrive?
124. Which code example can you use fetch with sending id?
125. Which method can be used to remove Models associations ?
126. Which of the following tags are used to specify templates?
127. How can a Backbone Model be created? Check all that apply.
128. Which method can be used to create own Model?
129. Which of the following iteration functions exist in Backbone Collections?
130. How can the default sync handler map CRUD to REST?
131. Which code creates a template in Backbone.js?
132. Which method can be used to create a deep copy of the object?
133. If {parse: __} is passed as an option, the attributes will first be converted by parse before being set on the model.
134. A Backbone view to a different DOM element, use __, which will also create the cached $el reference and move the view's delegated events from the old element to the new one?
135. Which following statement is correct about attach Listeners to Events in a View?
136. In BackboneJS, Read the following code and can you change templates of a view on the fly?
137. True or false: removes method removes listeners from the removed element.
138. Create a view that will build it's own DOM element using the following code?
139. How can you will use Underscore Templates in Backbone.js Views?
140. In BackboneJS, It's possible to auto-bind BackboneJs view to existing element(s)?
141. Which of the following options can be passed directly to the View?
142. In Backbone.JS how do you pass two models to view while creating object of a view using the following code?
143. You can remove all listeners on a particular object by using?
144. Underscore is primarily used for its utility __ and json2.js?
145. Which of the following method is enables History API?
146. The architecture of Backbone.js contains the following modules?
147. Backbone.sync is a _____ to synchronize your collections and models across the systems?
148. ____ gives a direct reference to the attributes and you should be careful when playing with it. Best practice would suggest that you use .set() to edit attributes of a model to take advantage of backbone listeners?
149. Backbone.sync, transforms the __ and __ operations into HTTP requests?
150. What are the default Backbone.Sync handlers?
151. The default sync handler maps CRUD to REST?
152. Suppose what are the typical problems you might face with the Backbone view code?
153. In Backbone.js, modelbinder class is used to make synchronization process of and together?
154. Backbone offers an opt-in for HTML5 pushState support?
155. Which of the following dependency must be added for Backbone.js setup?
156. Which of the following events are exists in Backbone Events System?
157. Unbinding function, is used to remove the validation binding on the model and removing all events hooked up on the?
158. BackboneJS fetch collection based on parameters using the following code?
159. Which of the following styles of variables is using Backbone in routers?
160. Models can be created by extending Backbone.Model which of the following?
161. Sync:Manages actual persistence by a function that Backbone calls every time it attempts to read or save a __ to the server?
162. Which of the following is Backbone Model object functions?
163. Models expose an __ attribute which represents an internal hash containing the state of that model. This is generally in the form of a JSON object similar to the model data you might find on the server but can take other forms?
164. How to limit number of models in Collection using the following code?
165. How Backbone Decides if it Should Use POST/GET/ Request to the Server and What are the Methods Backbone has Reserved for these Operations?
166. Which of the following events is activates when the requesting to the server failed?
167. How can a set of model retrieved from the server and set them to the collection when they arrive?
168. Which of the following tags are using to specify templates?
169. Which of the following code is True about Template Function Call?
170. Views are based on ____ templates that provide layouts for rendering?
171. In Backbone, ____ provide a way for you to connect URLs (either hash fragments, or real) to parts of your application. Any piece of your application that you want to be bookmarkable, shareable, and back-button-able needs a URL?
172. Is it possible to subscribe on event when backbonejs view is removed from DOM?
173. Rather than adding or removing models individually, you might want to update an entire collection at once. ___ takes an array of models and performs the necessary add, remove, and change operations required to update the collection?
174. Which of the following code is Backbone.Events interface is by default mixed into other Back‐ bone components?
175. BackboneJS test with jasmine if parameters are passed to fetch?
176. Which of the following Collection methods is an equivalent to instantiating a model with a hash of attributes?
177. Trigger callbacks for the given event, or space-delimited list of events. Subsequent arguments to ___ will be passed along to the event callbacks?
178. This method is called internally within the router, whenever a route matches and its corresponding callback is about to be executed. Return __ from execute to cancel the current transition. Override it to perform custom parsing or wrapping of your routes.
179. Thorax provides an extended event _____ to simplify binding of common events from models and collections?
180. Which of the following configuration options are available in Backbone.js
181. How does Backbone decide if it should use POST/GET/ Request to the Server and what are the methods Backbone has Reserved for these Operations?
182. You can limit number of models in Collection using the following code?
183. The sync method is called with the following parameters?
184. Which of the following are Backbone Model object functions?
185. Which models can be created by extending Backbone?
186. In Backbonejs, how can you change templates of a view on the fly?
187. To create a Collection class of your own, extend Backbone.Collection, providing instance properties, as well as optional classProperties to be attached directly to the collection's constructor function?
188. How can you retrieve a set of model from the server and set them to the collection when they arrive?
189. __ removes all of the view's delegated events. It is useful if you want to disable or remove a view from the DOM temporarily?
190. What is Backbone.sync used for?
191. In Backbone, ____ provide a way for you to connect URLs (either hash fragments, or real) to parts of your application. Any piece of your application that you want to be bookmarkable, shareable, and back-button-able needs an URL.
192. Which of the following code will you use if Defining a root route?
193. Which of the following route parameter's statement is correct of Router? (choose all that apply) router.route(fun, name, [callback])
194. How do you we get only the first 20 items in a backbone collection?
195. Which code is used when model or collection is synced successfully with server?
196. Which of the following are Backbone Building Blocks?
197. Using the following code example how can you use fetch with sending id?
198. Which of the following are built-in events in Backbone?
199. Which code is correct to create a template in Backbone.js?
200.
201. Which of the following events executed when the model validation failed?
202. Which options will allow you to auto-bind a BackboneJs view to existing element(s)?