MCQs > Design & Multimedia > Adobe Flex Builder MCQs > Basic Adobe Flex Builder MCQs

Basic Adobe Flex Builder MCQ

1. Which of the following is the correct syntax to show the busy cursor in the UI using the CursorManager class?

Answer

Correct Answer: CursorManager.setBusyCursor();

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

2. Which of the following methods of the Event class is used to stop the bubbling of an event to its parent containers?

Answer

Correct Answer: stopPropagation();

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

3. While adding child components through view states, which of the following is not a valid value for the 'position' property?

Answer

Correct Answer: first

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

4. Which of the following controls cannot be used as an Item Renderers?

Answer

Correct Answer: All of the above can be used

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

5. Which of the following does not accept Viewstack as a dataprovider?

Answer

Correct Answer: TabNavigator

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

6. Which properties of the datagrid would we need to set in order to achieve the positioning shown in the image above:

Answer

Correct Answer: verticalAlign
bottom
paddingLeft

Note: This question has more than 1 correct answers

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

7. Which of the following operators can be used for data binding between the properties of a component?

Answer

Correct Answer: {}

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

8. Which of the following attributes of the Event class is defined in all types of events in flex?

Answer

Correct Answer: type

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

9. Which of the following methods of the arrayCollection class can be used to add an item in the arrayCollection?

Answer

Correct Answer: addItem()
addItemAt()

Note: This question has more than 1 correct answers

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

10. Containers can be of two types, which are:

Answer

Correct Answer: Layout and Navigator containers.

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

11. Which of the following events is dispatched when a component and all its children have been created, but the component size has not been determined?

Answer

Correct Answer: initialize

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

12.

Which of the following is the correct way of assigning the given style to a button control?

     <mx:Style>

          .myButtonStyle{

            font-size:30pt;

            color:#FFFFFF;

          }

     </mx:Style>

Answer

Correct Answer:

mx:Button styleName="myButtonStyle" />


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

13. Which of the following does not extend the Box container?

Answer

Correct Answer: Canvas

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

14. Which statement about CSS properties is true?

Answer

Correct Answer: Class selectors can be applied to a component using the styleName property.

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

15. When creating a Consumer object, which event is used to get a handle on the data that is received?

Answer

Correct Answer: message

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

16. Which method of changing the appearance of a Flex application requires the use of 3rd-party tools like Adobe Photoshop or Adobe Flash 8?

Answer

Correct Answer: graphical skinning

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

17. Which of the following is the correct way of setting a style property in a CSS file?

Answer

Correct Answer: fontSize:12;

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

18. By which of the following containers is constraint based layout supported?

Answer

Correct Answer: Canvas

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

19. What is the layout direction of a VBox?

Answer

Correct Answer: Vertical

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

20. Which of the following is not an advantage of using Modules?

Answer

Correct Answer: They can be run independently.

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

21. During which phase of the event propagation is the event handler of the component which generated the event invoked?

Answer

Correct Answer: Target Phase

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

22. How many components can an ItemEditor contain?

Answer

Correct Answer: Unlimited

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

23. Which of the following statements about a Label control is true?

Answer

Correct Answer: Text in a Label control can be formatted using styling or HTML text.

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

24. Which of the following is not a type of Item Renderers?

Answer

Correct Answer: dropout

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

25. Which of the following can be used to access the server side data from a flex application?

Answer

Correct Answer: All of the above

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

26. Which of the following text controls does not allow the user to input text?

Answer

Correct Answer: Text

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

27. When the repeat count of an effect is set to 0, it implies that the effect will repeat______.

Answer

Correct Answer: Unlimited times

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

28. Which of the following statements is incorrect?

Answer

Correct Answer: Modules cannot load other modules.

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

29. Which of the following statements is true about the EmailValidator?

Answer

Correct Answer: It is used to check if the input string has exactly 1 '@' symbol and at least one period after the '@' symbol.

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

30.

A component based on which of the following tags cannot be included inside the main mxml component?

Answer

Correct Answer:



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

31. Which method of a Validator would you call to programmatically trigger the validation?

Answer

Correct Answer: validate()

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

32. In the MVC design pattern, which tier do data models of a flex application represent?

Answer

Correct Answer: Model

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

33. What is the most efficient way to validate that alpha-numeric data is in the correct format?

Answer

Correct Answer: Use the RegExpValidator class.

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

34.

Given the following declaration of a CurrencyFormatter, what would the trace statement print?

trace(myCurrFormatter.format(50750.75));

Answer

Correct Answer:

Rs.50,750.8


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

35. Which of the following statements most appropriately describes the "behavior" of a flex UI component?

Answer

Correct Answer: The behaviour of a component enables us to add motion, sound and animation to our component.

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

36. The default order in which the event propagation phases occur is______.

Answer

Correct Answer: Capturing Phase, Target Phase and Bubbling Phase

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

37. Which of the following containers extends the Viewstack class to provide navigation between its child components?

Answer

Correct Answer: TabNavigator

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

38. Which of the following statements about the view cursor is true?

Answer

Correct Answer: The insert() function inserts an item at the current cursor location.

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

39. The applicationComplete event of a container occurs before the creationComplete event?

Answer

Correct Answer: False

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

40.

Given below is the declaration of a Wipe-Effect. What would be the duration of the wipe effect?

Answer

Correct Answer:

2 seconds


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

41. Which method of the ModuleLoader API is used to load a module?

Answer

Correct Answer: loadModule()

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

42. With which of the following components can Item Renderers not be used?

Answer

Correct Answer: Canvas

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

43.

Given the following CSS style declarations, what will be the font color and font size of a label in the UI when the application is run?

     global{

                  font-size:10pt;

                  color:#00FF00;

     }

     Label{

                  font-size:30pt;

                  color:#FFFFFF;

     }

     

Answer

Correct Answer:

Font color= #FFFFFF and Font size=30


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

44. The dispatchEvent() method of the EventDispatcher class is used to______.

Answer

Correct Answer: dispatch an event

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

45. What happens when we add an item(at runtime) to an array collection which is bound to the dataProvider of a Datagrid?

Answer

Correct Answer: The added item automatically appears in the UI(datagrid) even if we don't refresh the array collection.

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

46.

What is the maximum no. of blocks that can be defined in an mxml file?

Answer

Correct Answer:

Unlimited 


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

47.

Given the following CSS style declaration, which type of style selector is being used?

     

        Button{

           font-size:30pt;

           color:#FFFFFF;

        }

     

Answer

Correct Answer:

Type selector 


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

48. Which among the following types of user interface components is not supported by MXML application?


Answer

Correct Answer: Label bar

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

49. Which among the following techniques will you use to create skins that do not become distorted when the component is resized?


Answer

Correct Answer: Scale-9

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

50. What does the term 'Data Model' mean?


Answer

Correct Answer: A data model is an ActionScript object that contains properties that you use to store application-specific data

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

51. Which among the following is not a Loop type?


Answer

Correct Answer: Of

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

52. What is not true about the repeatDelay effect?


Answer

Correct Answer: The default value is 1

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

53. Which among the following files permits SWF files in other domains to access the data source?


Answer

Correct Answer: Crossdomain.xml

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

54. Which among the following syntax is an alternative to the <mx:Binding> tag?


Answer

Correct Answer: ({ })

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

55. JMS is a Java API that lets applications create, send, receive, and read messages for Flex Data Services. State whether the statement is true or false.


Answer

Correct Answer: True

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

56. Which among the following is not a chart type?


Answer

Correct Answer: Bubble

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

57. The Flex Properties view appears only when the MXML editor is in design mode. State whether the statement is true or false.


Answer

Correct Answer: True

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

58. Read the code in the given figure. What will be the output of this code?


Answer

Correct Answer: It will generate a checkbox

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

59. The MXML <mx:Image> and <mx:SWFLoader> tags cannot be used to import SWF files into a Flex application. State whether the statement is true or false.


Answer

Correct Answer: False

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

60. Read the code in the given image. Why should you wrap the contents in a CDATA construct, when using <mx:Script> block?


Answer

Correct Answer: It prevents the compiler from interpreting the contents of the script block as XML,and allows the ActionScript to be properly generated

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

61. Flex text-based controls let you set and get text by using Text and htmlText property. State whether the statement is true or false.


Answer

Correct Answer: True

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

62. In Flex, all constraints are set relative to the edges of the container. They cannot be set relative to other controls. State whether the statements are true or false.


Answer

Correct Answer: True

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

63. What is the use of Data validators?


Answer

Correct Answer: Data validators are ActionScript objects that check whether data in a component is formatted correctly

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

64. Which of the following Flex file format has a.swc extension?


Answer

Correct Answer: RSL

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

65. What is true about a Blacklist?


Answer

Correct Answer: It contains client IP addresses that are restricted from accessing endpoints

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

66. Study the code in the given image. In this code, autoLayout property has been set to false. What purpose does it serve?


Answer

Correct Answer: It prevents the HBox container from resizing as the image resizes

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

67. What is the negative aspect of using standard effect triggers with charts?


Answer

Correct Answer: The effects are applied to the entire chart control and not just the data in the chart control

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

68. Which among the following option is not a part of the process of Loading style sheets at run time?


Answer

Correct Answer: Writing an Action script file for your application

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

69. The code in the given image shows the basic format of an Easing Function. What does 'd' specify?


Answer

Correct Answer: It specifies the duration of the effect in milliseconds

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

70. Which type of files can be embedded in a Flex application?


Answer

Correct Answer: All of the above<br>

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

71. As shown in the diagram, which among the following is the default size of the container while creating a new MXML component?


Answer

Correct Answer: 400x300 pixels

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

72. Flex design mode is not available when working with ActionScript projects. State whether the statement is true or false.


Answer

Correct Answer: True

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

73. Which among the following effects works only on the text rendered using an embedded font?


Answer

Correct Answer: All of the above<br>

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

74. Which among the following task is not performed by the Build phase for building Flex applications?


Answer

Correct Answer: Server-side caching

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

75. Read the code in the given image. What does the 'Switch' statement do in this code?


Answer

Correct Answer: It prints the day of the week based on the day number returned by the Date.getDay() method<br>

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

76. The <mx:Model> and <mx:XML> tags are Flex compiler tags and correspond directly to ActionScript classes. State whether the statement is true or false.


Answer

Correct Answer: False<br>

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

77. Functions can not be declared within other functions. State whether the statement is true or false.


Answer

Correct Answer: False<br>

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

78. Why do you use custom serialization of Data?


Answer

Correct Answer: Both a and b<br>

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

79. A data adapter is responsible for updating the persistent data store in a manner appropriate to the specific data store type, for the Java adapter. State whether the statement is true or false.


Answer

Correct Answer: True

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