MCQs > IT & Programming > ExtJs MCQs > Basic ExtJs MCQs

Basic ExtJs MCQ

1. A ____ in excel is like a notebook

Answer

Correct Answer: Workbook

Note: This Question is unanswered, help us to find answer for this one

2. What does the remove() function return?

Answer

Correct Answer: the component that was removed

Note: This Question is unanswered, help us to find answer for this one

3. Which of the following xtype(s) defines a grid column?

Answer

Correct Answer: gridcolumn

Note: This Question is unanswered, help us to find answer for this one

4. Which of the follow is not a supported data store?

Answer

Correct Answer: MemoryStore

Note: This Question is unanswered, help us to find answer for this one

5. Linking Models: There are two types of Associations between Models: belongsTo and hasMany. But one represents a many to one association with another model.

Answer

Correct Answer: belongsTo

Note: This Question is unanswered, help us to find answer for this one

6. What is the base class for grid panel?

Answer

Correct Answer: Ext.panel.Table

Note: This Question is unanswered, help us to find answer for this one

7. Which of the following statement is false?

Answer

Correct Answer: a child container can be added to a parent component

Note: This Question is unanswered, help us to find answer for this one

8. The ____________ validation verifies if the given value does not match with one of the given values of the list

Answer

Correct Answer: exclusion

Note: This Question is unanswered, help us to find answer for this one

9. What is the name of the event that fires when the user activates a combobox by clicking on it?

Answer

Correct Answer: focus

Note: This Question is unanswered, help us to find answer for this one

10. Which of the following statements about the collapseMode option is incorrect?

Answer

Correct Answer: true' is one of the supported config value

Note: This Question is unanswered, help us to find answer for this one

11. What method can be use to retrieve a DOM element?

Answer

Correct Answer: Ext.get()

Note: This Question is unanswered, help us to find answer for this one

12. Which statement about the emptyCellText is false?

Answer

Correct Answer: triggers when cell has a value of undefined or null

Note: This Question is unanswered, help us to find answer for this one

13. What is the event name that fires when a user checks a checkbox in Ext 4.0?

Answer

Correct Answer: change

Note: This Question is unanswered, help us to find answer for this one

14. What is the proper syntax to set up global theme variables in Ext?

Answer

Correct Answer: $variable-name: value !default;

Note: This Question is unanswered, help us to find answer for this one

15. The ________ validation varifies is the value is present (0(zero) is a valid value,but an empty string is not).

Answer

Correct Answer: presence

Note: This Question is unanswered, help us to find answer for this one

16. Which one of the following layout types is used for forms that have controls with labels above them laid out vertically?

Answer

Correct Answer: form

Note: This Question is unanswered, help us to find answer for this one

17. What is the default value of the hideMode option for Ext.grid.column.Column?

Answer

Correct Answer: display

Note: This Question is unanswered, help us to find answer for this one

18. Which one of the following is a valid way to get DOM elements using Ext?

Answer

Correct Answer: Ext.getCmp(id)

Note: This Question is unanswered, help us to find answer for this one

19. To enable grid buffering,

Answer

Correct Answer: set buffered: true on Ext.data.Store

Note: This Question is unanswered, help us to find answer for this one

20. What action does the remove() function perform?

Answer

Correct Answer: removes a component from this container

Note: This Question is unanswered, help us to find answer for this one

21. Ext.util.Sorter can only be applied to which object?

Answer

Correct Answer: Ext.data.Store

Note: This Question is unanswered, help us to find answer for this one

22. The ____ validation verifies if the length of the given value is between the min and the max values. The min and the max configuration are optional.

Answer

Correct Answer: length

Note: This Question is unanswered, help us to find answer for this one

23. Which of the following technique will not help improve Ext JS performance?

Answer

Correct Answer: Replace Containers with Panels

Note: This Question is unanswered, help us to find answer for this one

24. Which one of the following events on an Ext.data.store object fires AFTER the store is loaded?

Answer

Correct Answer: load

Note: This Question is unanswered, help us to find answer for this one

25. The ________ is a helper. Usually, it is used to load some inline data into a store. Its contents are lost in every page refresh, it can be useful to load temporary data.

Answer

Correct Answer: MemoryProxy

Note: This Question is unanswered, help us to find answer for this one

26. Which of the following is not an Ext.form.field object?

Answer

Correct Answer: Button

Note: This Question is unanswered, help us to find answer for this one

27. True or False. The constrainTo option is only applicable to 'floating' components.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

28. Which of the following xtype(s) defines a grid panel?

Answer

Correct Answer: grid and gridpanel

Note: This Question is unanswered, help us to find answer for this one

29. The correct syntax to change a theme programmatically is:

Answer

Correct Answer: app.theme=theme-name

Note: This Question is unanswered, help us to find answer for this one

30. Which of the following is not a subclass of Ext.grid.column.Column?

Answer

Correct Answer: Ext.grid.column.String

Note: This Question is unanswered, help us to find answer for this one

31. What is the method to create a class in ExtJS 4.*?

Answer

Correct Answer: Ext.define()

Note: This Question is unanswered, help us to find answer for this one

32. What is the name of the method that allows a developer to remove an event listener from an object or control?

Answer

Correct Answer: un

Note: This Question is unanswered, help us to find answer for this one

33. Which types of objects in Ext fire an initComponent event?

Answer

Correct Answer: components

Note: This Question is unanswered, help us to find answer for this one

34. The ____ classes are resonsible for decoding the raw data from a server that is to be loaded into a Model instance or Store.

Answer

Correct Answer: Readers

Note: This Question is unanswered, help us to find answer for this one

35. Which of the following is not a grid panel feature?

Answer

Correct Answer: Count

Note: This Question is unanswered, help us to find answer for this one

36. What is the correct option to completely fill the width of a container?

Answer

Correct Answer: flex: 1

Note: This Question is unanswered, help us to find answer for this one

37. Which of the following is not a config option of Ext.util.Sorter?

Answer

Correct Answer: dataIndex

Note: This Question is unanswered, help us to find answer for this one

38. What is that config option for changing CSS class on a column cell?

Answer

Correct Answer: tdCls

Note: This Question is unanswered, help us to find answer for this one

39. What is the correct syntax to enable gridpanel text selection?

Answer

Correct Answer: viewConfig: { enableTextSelection: true }

Note: This Question is unanswered, help us to find answer for this one

40. Which one of the following is the correct syntax in Ext.js to make an ajax request?

Answer

Correct Answer: Ext.Ajax.request(options)

Note: This Question is unanswered, help us to find answer for this one

41. What is one advantage of using xtype to create objects in Ext?

Answer

Correct Answer: more concise syntax

Note: This Question is unanswered, help us to find answer for this one

42. The ______ validation verifies if the given value matches the given regular expression.

Answer

Correct Answer: format

Note: This Question is unanswered, help us to find answer for this one

43. What is the method to instantiate a class in ExtJS 4.*?

Answer

Correct Answer: Ext.create()

Note: This Question is unanswered, help us to find answer for this one

44. What is the root class for all Ext classes?

Answer

Correct Answer: Ext.Base

Note: This Question is unanswered, help us to find answer for this one

45. Linking Models: There are two types of Associations between Models: belongsTo and hasMany. But one represents a one to many ralationship between two models.

Answer

Correct Answer: hasMany

Note: This Question is unanswered, help us to find answer for this one

46. Which of the following is a required config option for grid panel?

Answer

Correct Answer: store

Note: This Question is unanswered, help us to find answer for this one

47. One of the most common components used for layout in Ext is which one of the following?

Answer

Correct Answer: Panel

Note: This Question is unanswered, help us to find answer for this one

48. How do you create a new class?

Answer

Correct Answer: Ext.define ('MyApp.NewClass',{ // class functionalities here });

Note: This Question is unanswered, help us to find answer for this one

49. In a form layout, what is the name of the property that will automatically create a label above a control if set?

Answer

Correct Answer: fieldLabel

Note: This Question is unanswered, help us to find answer for this one

50. What of the following is the correct syntax for defining column?

Answer

Correct Answer: columns: [ {text:'Name', dataIndex:'name', flex:1 } ]

Note: This Question is unanswered, help us to find answer for this one

51. Which of the following is not a valid way to add an event listener?

Answer

Correct Answer: use events config option

Note: This Question is unanswered, help us to find answer for this one

52. What is the name of the property on a grid that controls the number of clicks required to edit a cell on a GridPanel?

Answer

Correct Answer: clicksToEdit

Note: This Question is unanswered, help us to find answer for this one

53. Which function would a developer use to select only certain child elements of an Ext.element?

Answer

Correct Answer: Ext.select()

Note: This Question is unanswered, help us to find answer for this one

54. Why would a developer use an ArrayStore?

Answer

Correct Answer: To facilitate the creation of stores from arrays of data.

Note: This Question is unanswered, help us to find answer for this one

55. What is the shorthand function for addListener()?

Answer

Correct Answer: on()

Note: This Question is unanswered, help us to find answer for this one

56. What is the name of the control in Ext, that will create a control similar to an html <select>?

Answer

Correct Answer: comboBox

Note: This Question is unanswered, help us to find answer for this one

57. Which of the following is NOT a valid way to add an event listener to an Ext.Panel?

Answer

Correct Answer: provideListener(eventName,handler,scope, options)

Note: This Question is unanswered, help us to find answer for this one

58. What is the name of the Ext utility function to convert a JSON string into an object?

Answer

Correct Answer: Ext.JSON.decode(json)

Note: This Question is unanswered, help us to find answer for this one

59. Which of the following is not an Ext layout type?

Answer

Correct Answer: float

Note: This Question is unanswered, help us to find answer for this one

60. How is Ext JS licensed?

Answer

Correct Answer: Commercial Software and Open Source

Note: This Question is unanswered, help us to find answer for this one

61. Which of the following is a required config option for grid column?

Answer

Correct Answer: dataIndex

Note: This Question is unanswered, help us to find answer for this one

62. What plugin is required for cell editing?

Answer

Correct Answer: Ext.grid.plugin.CellEditing

Note: This Question is unanswered, help us to find answer for this one

63. The _______ is responsible for encapsulating the Model and can also configure a proxy to load or save the data.

Answer

Correct Answer: Store

Note: This Question is unanswered, help us to find answer for this one

64. Which config option is used to bound a component within the dimension of another container?

Answer

Correct Answer: constrainTo

Note: This Question is unanswered, help us to find answer for this one

65. The ________ is a useful proxy when you need to make request to a different domain, on which your application is not deployed.

Answer

Correct Answer: JsonP proxy

Note: This Question is unanswered, help us to find answer for this one

66. The _______ is a subclass of VBoxLayout. This already tells us that the components will be organized vertically in the container. We can collapse or expand the items.

Answer

Correct Answer: Accordion layout

Note: This Question is unanswered, help us to find answer for this one

67. What is the name of the class that provides the developer with an area autosized to the browser viewport?

Answer

Correct Answer: Ext.container.Viewport

Note: This Question is unanswered, help us to find answer for this one

68. The utility method "Ext.define" is used for which one of the following?

Answer

Correct Answer: To create a class in Ext that extends and optionally overrides the methods and properties of a parent class.

Note: This Question is unanswered, help us to find answer for this one

69. Which of the following parameter type(s) is a valid renderTo config option value?

Answer

Correct Answer: All of the these

Note: This Question is unanswered, help us to find answer for this one

70. Extjs 4.x is Sencha's latest JavaScript framework for developing cross-platform web applications

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

71. How would a developer set a control to hidden in Ext?

Answer

Correct Answer: setVisible(false)

Note: This Question is unanswered, help us to find answer for this one

72. True or False. There can only be one locked column.

Answer

Correct Answer: False

Note: This Question is unanswered, help us to find answer for this one

73. The _____ organizes its children horizontally across the container.

Answer

Correct Answer: HBox layout

Note: This Question is unanswered, help us to find answer for this one

74. What is the name of the event that fires when all the DOM objects have been loaded but before all images are loaded and before the onLoad event?

Answer

Correct Answer: onDocumentReady

Note: This Question is unanswered, help us to find answer for this one

75. Why would a developer use Ext.fly() instead of Ext.get()?

Answer

Correct Answer: In a situation where a developer would be calling a repetitive,atomic function on many different elements and needs to reduce the memory footprint.

Note: This Question is unanswered, help us to find answer for this one

76. Why would a developer use a JsonPStore instead of a JsonStore?

Answer

Correct Answer: To facilitate the creation of a store in Ext that would allow for cross-site requests of JSON data.

Note: This Question is unanswered, help us to find answer for this one

77. What is the name of the object a developer would use to create a group of radiobuttons in which only one radio button can be selected at a time?

Answer

Correct Answer: Ext.form.RadioGroup

Note: This Question is unanswered, help us to find answer for this one

78. What region type is required for border layout?

Answer

Correct Answer: No region type is required

Note: This Question is unanswered, help us to find answer for this one

79. What is the difference between theming and styling in Ext?

Answer

Correct Answer: Theming is differentiated from "styling" by the ability to flip a switch and change the theme.

Note: This Question is unanswered, help us to find answer for this one

80. What are the 4 folders that a developer should create to employ the recommended MVC architecture in Ext?

Answer

Correct Answer: Models,Views,Controllers,Stores

Note: This Question is unanswered, help us to find answer for this one

81. What is a RESTful store in Ext?

Answer

Correct Answer: A stores that supports a convenient way to interface with a RESTful web service.

Note: This Question is unanswered, help us to find answer for this one

82. What is theme inheritance?

Answer

Correct Answer: Setting up your theme to extend or inherit from a base theme so as to include all the necessary classes to work properly.

Note: This Question is unanswered, help us to find answer for this one

83. With Sandbox mode you can run Extjs 4 alongside with previous versions of Extjs on the same page.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

84. Why would a developer use a Pager?

Answer

Correct Answer: To more quickly display and load large amounts of data in a GridPanel.

Note: This Question is unanswered, help us to find answer for this one

85. Extjs 4 introduces a new package organization and that is why some classes names are not the same as they were in Extjs 3.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

86. True or false? Ext Js supports all major web browsers including: IE 6+,Firefox 1.5+(Pc,Mac),Safari 3+,Opera9+(Pc,Mac).

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

87. What is the name of the method on an Ext.data.store that synchronizes the records in the store with a remote data source?

Answer

Correct Answer: sync

Note: This Question is unanswered, help us to find answer for this one

88. The LocalStorageProxy uses the new HTLM5 localStorage API to load and save data into the client brwoser

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

89. Extjs 4.x includes a new pattern concept named MVC.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

90. Why would a developer use buffered scrolling?

Answer

Correct Answer: Buffered scrolling enables a developer to load any number of records into a grid without paging.

Note: This Question is unanswered, help us to find answer for this one

91. is it possible to migrate from Extjs 3 to Extjs 4?

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

92. What data proxy does Ext support?

Answer

Correct Answer: All of the above

Note: This Question is unanswered, help us to find answer for this one

93. Which one of the following is true about the Ext viewport?

Answer

Correct Answer: The viewport automatically re-sizes itself to the size of the browser viewport.

Note: This Question is unanswered, help us to find answer for this one

94. What is the difference between a GridPanel and an EditorGridPanel?

Answer

Correct Answer: The EditorGridPanel extends the GridPanel Class to provide cell editing on selected columns.

Note: This Question is unanswered, help us to find answer for this one

95. is Extjs a cross-browser RIA framework?

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

96. What is the difference between Ext.addClass() and Ext.removeClass()?

Answer

Correct Answer: Ext.addClass() will add the class to a DOM object whereas Ext.removeClass() will remove a class from a DOM object.

Note: This Question is unanswered, help us to find answer for this one

97. Ext JS is a JavaScript library for developing interactive web applications using technologies such as AJAX, DHTML and DOM. It was developed by Sencha.

Answer

Correct Answer: True

Note: This Question is unanswered, help us to find answer for this one

98. In Ext, what is a proxy?

Answer

Correct Answer: Proxies are used by Stores to handle the loading and saving of Model data. Usually developers will not need to create or interact with proxies directly.

Note: This Question is unanswered, help us to find answer for this one

99. Extjs 4.x provide us a new concept when we work with MVC pattern, this is a class when we need to control the views in the Controller class and is useful to provide us a searching of components within Ext.ComponentManager.

Answer

Correct Answer: Ext.ComponentQuery

Note: This Question is unanswered, help us to find answer for this one

100. What is the difference between Ext.get() and Ext.getDom()?

Answer

Correct Answer: Ext.get() will convert a DOM object to an Ext.element object, whereas Ext.getDom() will convert an Ext.element object to a DOM object.

Note: This Question is unanswered, help us to find answer for this one