MCQs > IT & Programming > Apache Flex MCQs > Basic Apache Flex MCQs

Basic Apache Flex MCQ

1. You would use this syntax to embed asset.png in a StyleSheet:

Answer

Correct Answer: Embed('asset.png')

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

2. An Apache Flex PMC member CANNOT

Answer

Correct Answer: Veto an Apache Flex release candidate

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

3. What's the minimum version of Flash Player that Apache Flex 4.9.0, 4.9.1 or 4.10.0 supports?

Answer

Correct Answer: 10.2

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

4. How do you insert a "new line" inside a MXML text property?

Answer

Correct Answer:

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

5. Which is not a feature added in Apache Flex 4.10.0?

Answer

Correct Answer: ASC 2.0 compiler support

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

6. Which compiler option do you use to specify static linking?

Answer

Correct Answer: library-path

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

7. Where can you use the mx:HTML component to display HTML in a Flex App?

Answer

Correct Answer: On Adobe AIR Desktop Applications

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

8. True or False? remoting-config.xml has destinations defined for working with web services and http services.

Answer

Correct Answer: False

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

9. Which is true about the following sentence: [Bindable(event="dataChanged")] ?

Answer

Correct Answer: The bindable property will change when an event named dataChanged is dispatched.

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

10. If you define three events on a component and set their priority to 1,2 and 3 respectively. Which event will be handled first?

Answer

Correct Answer: Event with priority 3

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

11. Where can you set a defaultButton property?

Answer

Correct Answer: on Containers

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

12. How do you set the default state of a visual component?

Answer

Correct Answer: setting currentState=""

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

13. Which metadata tag Identifies a property that should be omitted from data that is sent to the server when an ActionScript object is mapped to a Java object using [RemoteClass] ?

Answer

Correct Answer: [Transient]

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

14. Which of the following is not a phase of a drag-and-drop operation?

Answer

Correct Answer: Initializing

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

15. Which of the following components can be used to access server-side data from a REST web service?

Answer

Correct Answer: HTTPService

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

16. Which of the following words is referred to as future reserved words?

Answer

Correct Answer: Synchronized

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

17. How do you avoid "Warning: unable to bind property 'x' on class 'x' ?

Answer

Correct Answer: By marking the class as [Bindable] with getters and setters

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

18. Which mobile platforms allow Adobe Air apps?

Answer

Correct Answer: Android, Blackberry 10, iOS

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

19. Where do you define proxy service destination for working with web services and http services?

Answer

Correct Answer: in proxy-config.xml

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

20. Which is NOT a feature added in Apache Flex 4.11

Answer

Correct Answer: MXML to Javascript compilation

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

21. True or False? If you embed a graphic, it is loaded into your Flex application at runtime.

Answer

Correct Answer: False

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

22. A labelFunction is:

Answer

Correct Answer: A function that is used to determine the text to be rendered for each item in a list

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

23. Linux support was added in which version of Apache Flex?

Answer

Correct Answer: 4.10.0

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

24. True or False? You can declare constant properties as bindable.

Answer

Correct Answer: False

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

25. What does Data Binding enable you to do?

Answer

Correct Answer: Connect components to an underlying data model

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

26. If you want to prevent a button from displaying in a specific view state, which of the button's properties should you use?

Answer

Correct Answer: excludeFrom

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

27. Where can you get variables that are global to all applications within the same ApplicationDomain?

Answer

Correct Answer: FlexGlobals

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

28. What is the name of the top-level object in the display list?

Answer

Correct Answer: Stage

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

29. In the Flex global coordinate system, coordinates are relative to the upper left corner of what?

Answer

Correct Answer: Stage

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

30. Where do you define the resource bundles for your application?

Answer

Correct Answer: Inside <fx:Metadata> tag

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

31. What license is Apache Flex released under?

Answer

Correct Answer: Apache License 2.0

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

32. What is the latest released version of Flex SDK?

Answer

Correct Answer: 4.12.1

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

33. Sort event phases in order, from first to last

Answer

Correct Answer: Capture, Target, Bubble

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

34. Which of the following graphics formats can be use as a Flex Component?

Answer

Correct Answer: FXG

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

35. If you want to apply a wipe effect and a resize effect in parallel, what should you use to group them together?

Answer

Correct Answer: Transition

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

36. The phase order of the event flow in flex is:

Answer

Correct Answer: Capture-Target-Bubbling

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

37. True or False? Flex directly supports database operations.

Answer

Correct Answer: True but only when using AIR

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

38. How do you set a style property using a Class Selector style in a flex component

Answer

Correct Answer: styleName="classSelector"

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

39. If you want users to be able to enter and edit multiline text, which of these Spark controls should you use?

Answer

Correct Answer: TextArea

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

40. Which application property allows you to specify the XML namespace for a custom component package?

Answer

Correct Answer: xmlns

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

41. To implement a two way binding of a text property you would use:

Answer

Correct Answer: text="@{fieldX.text}"

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

42. To prevent an application to be blocked when working with local database, you must:

Answer

Correct Answer: open the database in Asynchronous mode

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

43. Which method would you use to add a component to an MX container?

Answer

Correct Answer: addChild()

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

44. Who has access to Apache Flex code base?

Answer

Correct Answer: Anyone

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

45. If the current view state is not specified when an application loads, what is the default view state?

Answer

Correct Answer: Name of the first view state defined by the <s:states> tag.

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

46. How do you accomplish data persistence in a Flex client?

Answer

Correct Answer: Using shared objects

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

47. Which of the following statements would allow you to access the MouseEvent class?

Answer

Correct Answer: import flash.events.*;

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

48. Which tag is used to declare non-default, non-visual properties of the current class?

Answer

Correct Answer: <fx:Declarations>

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

49. If the use-network compiler option is set to false, which of the following can the application do?

Answer

Correct Answer: Access resources in the local file system, but not over the network.

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

50. Which of the following is the RPC service used to connect to Java objects?

Answer

Correct Answer: RemoteObjects

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

51. If you want a class property to be visible to references in the same class and derived classes, which attribute should you assign it?

Answer

Correct Answer: protected

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

52. The third and final phase of Flex event flow is known as what?

Answer

Correct Answer: bubbling

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

53. How do you become an Apache Flex committer?

Answer

Correct Answer: All of the other answers

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

54. Where do you have to place a cross-domain-policy file?

Answer

Correct Answer: At the root directory of the server

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

55. True or False? Flex applications allow deep linking.

Answer

Correct Answer: True

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

56. What can you use to pass variables into a .swf application from the HTML wrapper?

Answer

Correct Answer: FlashVars

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

57. In order to create in inline item render you must place what inside of the <s:itemRender> tag?

Answer

Correct Answer: <fx:component>

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

58. An Apache Flex committer CAN

Answer

Correct Answer: Commit code to the Apache Flex Git repository

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

59. All user interface components in Flex extend what class?

Answer

Correct Answer: UIComponent

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

60. What is the mechanism included in AIR to manipulate data from a data base file?

Answer

Correct Answer: SQLLite

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

61. True or False? MXML is interpreted by browsers in much the same way as HTML.

Answer

Correct Answer: False

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

62. If you want to take a user's text input and redisplay it as a date, which type of component should you use?

Answer

Correct Answer: formatter

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

63. Which of the following is not a Drop Target Event?

Answer

Correct Answer: mouseDown

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

64. Which Spark class is used to specify absolute positioning for the children of a container?

Answer

Correct Answer: BasicLayout

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

65. When you add a new display object with ActionScript, it will not be displayed until you do what?

Answer

Correct Answer: Add the new object as a child of a container.

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

66. True or False? You CANNOT load a compiled Flex application (.swf) into another Flex application.

Answer

Correct Answer: False

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

67. The tree of all visible objects in a Flex application is known as what?

Answer

Correct Answer: Display list

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

68. RIAs stands for:

Answer

Correct Answer: Rich Internet Applications

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

69. What event is dispatched when a component and its children are fully processed and visible?

Answer

Correct Answer: creationComplete

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

70. When is it better to use E4X specification?

Answer

Correct Answer: When working with XML

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

71. How do you remove a pop up using PopUpManager?

Answer

Correct Answer: PopUpManager.removePopUp('popUpComponent')

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

72. Which of the following containers allow you to position components using x,y, coordinates?

Answer

Correct Answer: Group

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

73. Apache Flex is a top level Apache Software Foundation project?

Answer

Correct Answer: True

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

74. Which tag enables you to enter ActionScript blocks inside an MXML file?

Answer

Correct Answer: <fx:Script>

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

75. Which property should have the same value for all radio buttons in a radio button group?

Answer

Correct Answer: groupName

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

76. Where do you declare non-visual MXML elements in a flex component or application?

Answer

Correct Answer: Inside <fx:Declarations> tag

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

77. What is the application container for an AIR application?

Answer

Correct Answer: WindowedApplication

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

78. What method is used to register an event handler for a component?

Answer

Correct Answer: addEventListener()

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

79. Which is not a container type?

Answer

Correct Answer: Array

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

80. True or False? The Flex pop up component can be modal or no modal.

Answer

Correct Answer: True

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

81. When do you use try..catch..finnaly statements?

Answer

Correct Answer: On error handling

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

82. What is the file extension of a compiled Flex project?

Answer

Correct Answer: .swf

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

83. True or False? Flex is an open source application development framework.

Answer

Correct Answer: True

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

84. True or False? ActionScript is an Object-Oriented Programming (OOP) language.

Answer

Correct Answer: True

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

85. True or False? Display objects created with MXML tags are automatically added to the display list.

Answer

Correct Answer: True

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

86. True of False? You can use regular expressions to validate data.

Answer

Correct Answer: True

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

87. How do you declare an actionscript private variable?

Answer

Correct Answer: private var variableName:variableType

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

88. What is the name of the scripting language used with Flex?

Answer

Correct Answer: ActionScript

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

89. MVC is a useful Flex development pattern. What does MVC stand for?

Answer

Correct Answer: Model-View-Controller

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

90. Flex 4 introduced a new skinning and component architecture known as what?

Answer

Correct Answer: Spark

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

91. True or False? You can compile an AIR application as native installers (.exe,.dmg, .deb)

Answer

Correct Answer: True

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

92. Which of the following allows you to refer to the top-level application object from anywhere in the application?

Answer

Correct Answer: FlexGlobals.topLevelApplication

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

93. Which is an example of two-way binding?

Answer

Correct Answer: <s:TextInput text="@{someData}"/>

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

94. Which class lets you work directly with the pixels of a Bitmap object?

Answer

Correct Answer: BitmapData

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

95. How will you call Java method from Flex?

Answer

Correct Answer: RemoteObject

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

96. True or False? You can apply skins to components using CSS.

Answer

Correct Answer: True

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