oDesk Adobe Flex Builder 2 Test Answers 2015



1. In the given figure, which among the following icons represents the refresh button?
Answers:
• A
• B
• C
• D

2. Which among the following chart classes is not the subclass of the Cartesian Chart class?
Answers:
• LineChart
• HLOCChart
• PieChart
• PlotChart
3. Which among the following option is not a part of the process of Loading style sheets at run time?
Answers:
• Writing an Action script file for your application
• Compiling the CSS file in a SWF file by using the mxmlc compiler
• Calling the StyleManager.loadStyleDeclarations() method in your Flex application
• None of the above
4. Which among the following is not a property of the Check box control?
Answers:
• Default size
• Minimum size
• Maximum Size
• Padding
5. Which among the following is not a chart type?
Answers:
• Bubble
• Dot chart
• Candlestick
• HighLowOpenClose
6. Which among the following chart series type supports the minField property?
Answers:
• AreaSeries
• BarSeries
• ColumnSeries
• All of the above
7. Which among the following layout properties gives you the flexibility of positioning and sizing components with the ability to set constraints that stretch and move the components when the container is resized?
Answers:
• Absolute
• Horizontal
• Vertical
• None of the above
8. What does the term 'Data Model' mean?
Answers:
• It provides access to Java objects using the AMF protocol
• It defines how a change of view state looks as it occurs on the screen
• A data model is an ActionScript object that contains properties that you use to store application-specific data
• None of the above
9. Which among the following is not a Debugging perspective view?
Answers:
• The Console view
• The Variables view
• The Expressions view
• The Static view
10. What is the use of Data validators?
Answers:
• Data validators let you store data in client-side objects
• Data validators are ActionScript objects that check whether data in a component is formatted correctly
• Data validators provide a syntax for automatically copying the value of a property of one client-side object to a property of another object at run time
• None of the above
11. Which among the following Logging Levels designates that no messages should be logged while configuring Data services?
Answers:
• Warn
• Debug
• Error
• None
12. Flex design mode is not available when working with ActionScript projects. State whether the statement is true or false.
Answers:
• True
• False
13. Why do you use custom serialization of Data?
Answers:
• It is used to avoid passing of all the properties of either the client-side or server-side representation of an object across the network tier
• It is used to code your classes so that specific properties that are client-only or server-only are not passed over the wire
• None of the above
• Both a and b
14. Read the code in the given image. What does the 'Switch' statement do in this code?
Answers:
• It generates an error
• It prints the word 'Switch' returned by the Date.getDay() method
• It returns to nothing
• It prints the day of the week based on the day number returned by the Date.getDay() method
15. Which among the following syntax is an alternative to the <mx:Binding> tag?
Answers:
• ( )
• (" ")
• ({ })
• " "
16. When does "Delete with stale data" synchronization conflict occur?
Answers:
• When a server detects a conflict if a client makes changes
• When a client is in the midst of changing the data
• When a client tries to delete data that has already been deleted from the server
• When a client tries to delete an item with a stale version of that object
17. Which among the following syntax lets its value to appear directly in your code as shown in the given diagram?
Answers:
• Dot syntax
• Literals
• Slash syntax
• All of the above
18. Which among the following files permits SWF files in other domains to access the data source?
Answers:
• Crossdomain.xml
• Permit.xml
• Domain.xml
• None of the above
19. Which among the following types of user interface components is not supported by MXML application?
Answers:
• Label bar
• Controls
• Containers
• None of the above
20. What should be the type of axis for a PlotChart control?
Answers:
• CategoryAxis
• LogAxis
• DateTimeAxis
• LinearAxis
21. Which of the following Flex file format has a.swc extension?
Answers:
• MXML
• RSL
• Assets
• ActionScript
22. Which among the following class methods can be declared as public only?
Answers:
• Bound method
• Get and set accessor methods
• Constructor method
• None of the above
23. All charts except the PieChart control have grid lines by default. State whether the statement is true or false.
Answers:
• True
• False
24. Which among the following is responsible for embedding the Flex application's SWF file in a web page, such as a HTML, ASP, JSP, or Adobe ColdFusion page?
Answers:
• Object Binding
• Wrapper
• Array
• Formatting
25. Which among the following is not true about the Workbench?
Answers:
• It refers to the Flex builder development environment
• The Workbench contains three primary elements: perspectives, editors, and views
• It is a defined area of the file system that contains the resources (files and folders) that make up your application projects
• None of the above
26. 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.
Answers:
• True
• False
27. Read the code in the given figure. What will be the output of this code?
Answers:
• It will generate a checkbox
• The word "Employee" will appear on the screen
• It will generate a checkbox that is checked by default, along with Employee written on the screen
• An error will appear
28. Which among the following options represents Padding Area on a chart in the given diagram?
Answers:
• A
• B
• C
• D
29. Read the code in the given image. What is the purpose of using the [Inspectable] metadata tag?
Answers:
• It is used when we declare text strings
• It defines the property as user-editable
• All of the above
• None of the above
30. The Flex Properties view appears only when the MXML editor is in design mode. State whether the statement is true or false.
Answers:
• True
• False
31. Which among the following is not a Loop type?
Answers:
• For
• Of
• While
• All of the above
32. As shown in the diagram, which among the following is the default size of the container while creating a new MXML component?
Answers:
• 400x600 pixels
• 400x300 pixels
• 300x400 pixels
• None of the above
33. Which among the following UIComponent.cachePolicy values specifies that the effect target is always cached?
Answers:
• CachePolicy.AUTO
• CachePolicy.OFF
• CachePolicy.ON
• All of the above
34. What is the function of the Flex Development tool "Compc Compiler" ?
Answers:
• It is a command-line compiler, useful if you want to request SWF files in a web browser or in a Flash Player
• It lets you open and debug ActionScript files that your Flex applications use
• It generates a SWC file from the MXML component source files or ActionScript component source files
• All of the above
35. A mask effect is any effect that is a subclass of the MaskEffect class, which includes the wipe effects and the Iris effect. State whether the statement is true or false.
Answers:
• True
• False
36. What is true about a Blacklist?
Answers:
• It contains client IP addresses that are permitted to access endpoints
• It has two types of controls: basic and data provider
• It contains client IP addresses that are restricted from accessing endpoints
• None of the above
37. Which among the following is a TweenEffect event?
Answers:
• TweenStart
• TweenUpdate
• TweenEnd
• All of the above
38. The <mx:Script> tag must be a child of the <mx:Application> or other top-level component tags. State whether the statement is true or false.
Answers:
• True
• False
39. Which among the following is a default web server for Flex Data Services?
Answers:
• JRun's web server
• Local Server
• Web Server
• None of the above
40. Which among the following effects works only on the text rendered using an embedded font?
Answers:
• Dissolve
• Fade
• Rotate
• All of the above
41. Which chart type is shown in the given diagram?
Answers:
• Area chart
• Candlestick chart
• Bubble chart
• Plot chart
42. Which among the following is not true about the ASDoc comments?
Answers:
• It consists of the text between the characters /** that mark the beginning of the ASDoc comment, and the characters **/ that mark the end of it
• The ASDoc tool ignores comments placed in the body of a method
• The ASDoc style sheet contains a class called Reveal, which you use to hide text in an ASDoc comment
• None of these
43. Which among the following data types variable can have a null value?
Answers:
• Boolean
• Number
• Object
• Uint
44. Read the code in the given image. Why should you wrap the contents in a CDATA construct, when using <mx:Script> block?
Answers:
• It allows you to store multiple values in a single data structure
• It lets you work with text strings
• It does nothing but uses it while working with Action Script
• It prevents the compiler from interpreting the contents of the script block as XML,and allows the ActionScript to be properly generated
45. Which among the following elements are used to create a Form?
Answers:
• FormItem containers
• Form fields
• FormHeading components
• All of the above
46. Which among the following is not true about tick marks?
Answers:
• Major tick marks are the indications along an axis that correspond to an axis label
• Minor tick marks help the user visualize the distance between the major tick marks
• Minor tick marks do not overlap the placement of major tick marks
• You can align the tick marks with labels by using the tickAlignment property
47. Which among the following is not a method to add public properties to your ActionScript components?
Answers:
• Defining public variables
• Defining public getter and setter methods
• Defining Packages
• None of the above
48. Which among the following is true about MXML Application?
Answers:
• MXML files are ordinary XML files
• The <mx:Application> tag is always the root tag of a Flex application
• You can write a MXML application in a single file or in multiple files
• All of the above
49. Which among the following is a way to supply data to a data provider while defining chart data types?
Answers:
• Define it in a <mx:Script> block
• Define it in an external XML, ActionScript, or text file
• Define it in MXML
• All of the above
50. What do you mean by View state?
Answers:
• It is one or more effects grouped together to play
• It is one or more visual effects that play sequentially or simultaneously when a change in the view state occurs
• It takes input from a data provider, which is a collection of objects similar to an array
• It is one of the several layouts that you define for a single MXML application or component
51. Which Flex control is represented by the given figure?
Answers:
• SWFLoader control
• NumericStepper control
• ProgressBar control
• RadioButton control
52. When you create charts, you use the coordinates on the screen to get the nearest data point. Which among the following methods returns an array of the data?
Answers:
• FindDataPoints
• HitData
• localToData
• All of the above
53. What can you understand from the code in the image?
Answers:
• That the DataService component has been created with the help of adobe.com
• That the DataService component has been created with the help of MXML code
• That the contact has been established with the help of an Action Script
• None of the above
54. What can you understand from the code in the image?
Answers:
• The name of the class in this code is SampleCode
• The following code uses the package directive to create a simple package containing one class
• The class is inside the samples package in this code
• All of the above
55. Which Navigator container is shown in the given image?
Answers:
• ViewStack navigator container
• TabNavigator container
• Accordion navigator container
• All of the above
56. What is not true about the repeatDelay effect?
Answers:
• It specifies the amount of time in milliseconds
• The default value is 1
• The default value is 0
• None of the above
57. As shown in the diagram, the left and right check boxes are selected in the view for the TextInput control. What purpose do they serve?
Answers:
• The two check boxes anchor the TextInput control to the left edge of the window
• They help in zooming the TextInput control
• The two check boxes anchor the TextInput control to the left and right edges of the window
• None of the above
58. Which among the following is not a Flex application file type?
Answers:
• MXML application file
• ActionScript file
• Flash component file
• PSD component file
59. Which among the following is not a mode of the MXML editor?
Answers:
• Source Mode
• Design Mode
• Attribute Mode
• None of the above
60. Which among the following techniques for specifying node icons is supported by the Tree control?
Answers:
• The setItemIcon() method
• Data provider node icon fields
• All of the above
• None of the above
61. What is the negative aspect of using standard effect triggers with charts?
Answers:
• It is applied to the particular data in the chart control
• The effects are applied to the entire chart control and not just the data in the chart control
• You can not use standard effect triggers with charts
• None of the above
62. Which among the following Data-Driven Controls is shown in the given image?
Answers:
• List control
• HorizontalList control
• ComboBox control
• TileList control
63. Study the code in the given image. In this code, autoLayout property has been set to false. What purpose does it serve?
Answers:
• It helps to enlarge the image
• It helps the image to extend past its boundaries
• It prevents the HBox container from resizing as the image resizes
• None of the above
64. 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.
Answers:
• True
• False
65. Which among the following techniques will you use to create skins that do not become distorted when the component is resized?
Answers:
• Scale-9
• Scale
• Scale-1
• None of the above
66. Functions can not be declared within other functions. State whether the statement is true or false.
Answers:
• True
• False
67. Which among the following control, imports GIF, JPEG, PNG, SVG, and SWF files?
Answers:
• SWFLoader
• Image
• RichTextEditor
• Text
68. Which among the following is not an 'Effect'?
Answers:
• Normal Effect
• Mask Effect
• Move Effect
• Resize Effect
69. In the given picture, 'A' represents External tools in the workbench toolbar. What is the use of External tools?
Answers:
• It returns you to the location of the last edit you made to a resource
• It selects a custom launch configuration
• It allows you to choose some or all of your application source files to be published with the application SWF file
• It uses the current project's main application file to begin a debugging session
70. Which among the following tag will you select when you want the transitions effects to play simultaneously?
Answers:
• <mx:Parallel>
• <mx:transitions>
• <mx:Cross>
• <mx:Sequence>
71. Which among the following types of axes is not supported by Flex Charting?
Answers:
• LineAxis
• LinearAxis
• LogAxis
• DateTimeAxis
72. How would you set the status of a MXML application file to convert it into a main application file?
Answers:
• Select the MXML application file, right-click and select 'Set' as Default Application
• Select the MXML application file, right-click and select 'Refresh'
• Select the MXML application file, right-click and select 'Open'.
• All of the above.
73. Which among the following is a property that you would enable in your application to improve the performance of effects?
Answers:
• <mx:HBox>
• Mask effect
• Effect.repeatCount
• Effect.suspendBackgroundProcessing
74. Flex text-based controls let you set and get text by using Text and htmlText property. State whether the statement is true or false.
Answers:
• True
• False
75. Which among the following Flash Player properties have no effect when used with Flex or applied to a Flex application?
Answers:
• Loop
• Play
• Swliveconnect
• All of the above
76. Which among the following options is correct about the code in the given figure?
Answers:
• The trace statement outside the function outputs the global value of the variable
• The code creates a global string variable named Global
• The code creates a local variable of the Global name inside the scopeTest() function
• All of the above
77. The code in the given image shows the basic format of an Easing Function. What does 'd' specify?
Answers:
• It specifies time
• It specifies the duration of the effect in milliseconds
• It specifies the initial position of a component
• It specifies the total change in position of the component
78. 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.
Answers:
• True
• False
79. The following example shows a Remoting Service destination of Configuring destination properties. In this example, the Scope property has been set to value "application". What does it signify?
Answers:
• It signifies that the objects in the application scope are stateless
• It signifies that the objects in the application scope are available to the web application that contains the object
• It signifies that the objects in the application scope are available to the entire client session
• None of the above
80. Which among the following syntax will you use for embedding assets in an ActionScript file, or within a <mx:Script> block in a MXML file?
Answers:
• [Embed(parameter1, paramater2, ...)]
• @Embed(parameter1, paramater2, ...)
• Embed(parameter1, paramater2, ...)
• All of the above
81. Which among the following is not a standard effects trigger in Chart controls?
Answers:
• Over
• ShowEffect
• HideEffect
• All of the above
82. Which among the following is not true about the DateChooser and DateField controls?
Answers:
• They let users select dates from graphical calendars
• The DateChooser control user interface is not a calendar
• The DateField control has a text field
• The DateField properties are a superset of the DateChooser properties
83. 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.
Answers:
• True
• False
84. Which among the following task is not performed by the Build phase for building Flex applications?
Answers:
• Server-side caching
• Compiling
• Debugging
• Testing
85. Which among the following tags will you use to change the width and color of the lines for each series in a LineChart control?
Answers:
• <mx:stroke> tag
• <mx:horizontalAxis>
• <mx:lineStroke> tag
• None of the above
86. Each tag in a MXML file is prefixed with mx, which is the namespace designation for Flex. State whether the above mentioned statement is true or false.
Answers:
• True
• False
87. Study the code in the given image. In this code the useDuration property has been set to false. How will this control the playback of the MP3 file?
Answers:
• The MP3 file will play for as long as the time specified by the duration property
• It will play the Mp3 twice
• The MP3 file will play to completion
• None of the above
88. Triggers are ActionScript events. State whether the statement is true or false.
Answers:
• True
• False
89. Which among the following effects implodes and explodes chart data into and out of the focal point that you specify?
Answers:
• SeriesSlide effect
• SeriesZoom effect
• SeriesInterpolate effect
• None of the above
90. Which among the following theme is the graphical version of the default Halo theme, which is defined by the defaults.css file and graphical assets inside the framework.swc file?
Answers:
• HaloClassic
• Ice
• Institutional
• Aeon Graphical
91. Which type of files can be embedded in a Flex application?
Answers:
• Symbols stored in a SWF file
• TTF files
• System fonts
• All of the above
92. Which among the following is not true about Filters?
Answers:
• You add filters to your charts by using the classes in the flash.filters package
• Bitmap is not a Filter type
• When you apply a filter to a chart control, the filter is applied to all aspects of that chart control
• None of the above
93. Which among the following effects is used to animate a numeric property of a component?
Answers:
• <mx:AnimateProperty>
• <mx:Rotate>
• <mx:AnimateNumeric>
• <mx:Numeric>
94. 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.
Answers:
• True
• False
95. What type of files are required by a simple wrapper for the Flex application?
Answers:
• Wrapper.html
• Myscript.js
• App.swf
• All of the above
96. Which among the following type of RPC components is not supported by MXML?
Answers:
• WebService
• RemoteObject
• HTTPService
• Localservice