Elance Apache Flex Test Answers 2015



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


How will you call Java method from Flex?
Httpservice
RemoteObject
Above all
MessageService
Crossdomain


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


What is the file extension of a compiled Flex project?
.css
.swf
.flv
.fla


What is the name of the scripting language used with Flex?
ActionScript
NoScript
JavaScript
PHP


MVC is a useful Flex development pattern. What does MVC stand for?
Model-View-Controller
Modem-Vista-Cairngorm
Most Valuable Customer
Most VGroup Containers


Flex 4 introduced a new skinning and component architecture known as what?
DMX
Spark
Halo
Flash


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


What method is used to register an event handler for a component?
startEventListener()
addEventListener()
beginEventListener()
registerEventListener()


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


What is the application container for an AIR application?
VGroup
Group
Application
WindowedApplication


Which is not a container type?
Application
Panel
Group
Array


How do you declare an actionscript private variable?
private var variableName:variableType
var variableType:variableName
var variableType variableName


When do you use try..catch..finnaly statements?
On customs events
On functions definitions
On customs classes
On error handling


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


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


Which tag enables you to enter ActionScript blocks inside an MXML file?
<fx:ActionScript>
<fx:AScript>
<s:Ascript>
<fx:Script>


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


Which property should have the same value for all radio buttons in a radio button group?
groupName
label
id
click


Where do you declare non-visual MXML elements in a flex component or application?
Inside <fx:Declarations> tag
Inside <fx:Group> tag
Inside <fx:Scripts> tag
Inside <fx:Definitions> tag


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


How do you remove a pop up using PopUpManager?
PopUpManager.deletePopUp('popUpComponent')
PopUpManager.removePopUp('popUpComponent')
PopUpManager.closePopUp('popUpComponent')
PopUpManager.destroyPopUp('popUpComponent')


Which of the following containers allow you to position components using x,y, coordinates?
Group
TileGroup
HGroup
VGroup


Apache Flex is a top level Apache Software Foundation project?
False
True


The tree of all visible objects in a Flex application is known as what?
Container
Object
Class
Display list


When is it better to use E4X specification?
When working with XML
When working with binary data
When working with HTML responses
When working with JSon objects


What event is dispatched when a component and its children are fully processed and visible?
applicationComplete
initialize
creationComplete
preinitialize


RIAs stands for:
Regular Internet Applications
Recursive Internal Applications
Rich Internet Applications
Rich Intranet Applications


What is a SWC file?
Flex project file.
Class library containing components and other assets.
File used to specify compiler options.
Compiled Flex application.


All user interface components in Flex extend what class?
Sprite
UIComponent
Bitmap
InteractiveObject


Which of the following allows you to refer to the top-level application object from anywhere in the application?
FlexGlobals.topLevelApplication
FlexGlobals.parentApplication
UIComponent.topLevelApplication
UIComponent.parentApplication


Which class lets you work directly with the pixels of a Bitmap object?
BitmapDataChannel
Bitmap
BitmapEncodingColorSpace
BitmapData


Which Spark class is used to specify absolute positioning for the children of a container?
TileLayout
BasicLayout
VerticalLayout
HorizontalLayout


When you add a new display object with ActionScript, it will not be displayed until you do what?
Create a custom event to display the object.
Load the object into the application.
Add an event listener for the object.
Add the new object as a child of a container.


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


Which of the following is not a Drop Target Event?
dragOver
dragDrop
dragEnter
mouseDown


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


What can you use to pass variables into a .swf application from the HTML wrapper?
FlashParams
HTMLVars
FlashVars
ParamObjs


What is the mechanism included in AIR to manipulate data from a data base file?
SQLServer
SQLLite
PLSQL
MySQL


An Apache Flex committer CAN
Commit code to the Apache Flex Git repository
Vote in new Apache Flex PMC members
Cast binding votes on an Apache Flex release candidate
Vote in new Apache Flex committers


In order to create in inline item render you must place what inside of the <s:itemRender> tag?
<fx:script>
<fx:component>
<s:GridColumn>
<s:GridColumn>


Where do you have to place a cross-domain-policy file?
At the root directory of your application
At the root directory of the server
At the libs directory of your application
There's no such thing as cross-domain-policy file


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


How do you become an Apache Flex committer?
Contribute to discussions on the mailing lists
All of the other answers
Voted in by the Apache Flex PMC
Add JIRA entries and patches
Contribute to the wiki or web site


The third and final phase of Flex event flow is known as what?
listening
target
capture
bubbling


Which tag is used to declare non-default, non-visual properties of the current class?
<mx:Declarations>
<fx:Properties>
<s:Nonvisual>
<fx:Declarations>


Which is an example of two-way binding?
<s:TextInput="@someData">
<s:TextInput text="@{someData}"/>
<s:TextInput text="{someData}"/>
<s:TextInput="{someData}"/ >


Which of the following statements would allow you to access the MouseEvent class?
import flash.events.*;
import flash.events.mouse;
include "allevents.as";
import spark.events;


If you want a class property to be visible to references in the same class and derived classes, which attribute should you assign it?
protected
static
public
private


Which of the following is the RPC service used to connect to Java objects?
HTTPObjects
WebServices
RemoteObjects
HTTPServices


If the use-network compiler option is set to false, which of the following can the application do?
Access resources in the local file system, but not over the network.
Access resources over the network, but not in the local file system.
Access no resources in the local file system or over the network.
Access resources both in the local file system and over the network.


What are the three (3) RCP services allowed in flex?
HTTPService, RemoteService, WebService
HTTPService, RemoteObject, SOAPService
HTTPService, RemoteService, SOAPService
HTTPService, RemoteObject, WebService


If the current view state is not specified when an application loads, what is the default view state?
No default state.
Name of the first view state defined by the <s:states> tag.
Name of the last view state defined by the <s:states> tag.
View state when the application was last closed.


Who has access to Apache Flex code base?
Apache Flex committers
Apache staff
Apache Flex PMC
Anyone
Adobe staff


How do you accomplish data persistence in a Flex client?
Using <fx:Model>
Using shared objects
Using <s:Model>
Using cookies


Which method would you use to add a component to an MX container?
addComponent()
addElement()
addChild()
addNew()


True or False? Flex directly supports database operations.
True
True but only when using AIR
False


If you want to apply a wipe effect and a resize effect in parallel, what should you use to group them together?
Transition
Filter
Container
Group


Which of the following graphics formats can be use as a Flex Component?
PNG
FXG
SVG
JPEG


If you want users to be able to enter and edit multiline text, which of these Spark controls should you use?
RichText
TextArea
TextInput
Label


To prevent an application to be blocked when working with local database, you must:
open the database in Asynchronous mode
open the database in Synchronous mode


The phase order of the event flow in flex is:
Target-Bubbling-Capture
Capture-Target-Bubbling
Target-Capture-Bubbling
Bubbling-Capture-Target


To implement a two way binding of a text property you would use:
text="{@filedX.text}"
text="[@fieldX.text]"
text="@[fieldX.text]"
text="@{fieldX.text}"


Which application property allows you to specify the XML namespace for a custom component package?
xmlspace
namespace
xmlnamespace
xmlns


Sort event phases in order, from first to last
Capture, Bubble, Target
Capture, Target, Bubble
Bubble, Capture, Target
Target, Capture, Bubble


How do you set a style property using a Class Selector style in a flex component
styleName="classSelector"
classStyle="classSelector"
style=".classSelector"
style="classSelector"


What is the latest released version of Flex SDK?
3.5
4.12.1
4.6
4.9.5


What license is Apache Flex released under?
Adobe Open Source License
Apache License 2.0
Creative Commons
MIT License
General Public License (GPL)


Where do you define the resource bundles for your application?
Inside <fx:Definitions> tag
Inside <fx:Scripts> tag
Inside <fx:Group> tag
Inside <fx:Metadata> tag


In the Flex global coordinate system, coordinates are relative to the upper left corner of what?
Container
Component
Stage
Content


Where can you get variables that are global to all applications within the same ApplicationDomain?
Application.application
FlexGlobals
NativeApplication.nativeApplication
Globals


What is the name of the top-level object in the display list?
Stage
Group
Screen
Application


If you want to prevent a button from displaying in a specific view state, which of the button's properties should you use?
hideButton
includeIn
visible
excludeFrom


What does Data Binding enable you to do?
Allows for the end user to manipulate data in real time
Helps insure stability when refactoring the application
Connect components to an underlying data model
Enables the user to create data tables


Where can't you find the Apache Flex source code
Google Code
Apache Git repository
Apache Flex release
Apache Github mirror


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


Linux support was added in which version of Apache Flex?
4.9.1
4.10.0
4.8
4.9.0


Which mobile platforms allow Adobe Air apps?
Android, iOS, Blackberry 7
Android, Blackberry, WindowsPhone
Android, Blackberry 10, iOS
Android, WindowsPhone, Blackberry Playbook


A labelFunction is:
A function that labels text in a data group
A function that gives a name to a group of data
A function that is used to determine the text to be rendered for each item in a list
A function that is used to assign the text to be associated with each item in a list


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


Where do you define proxy service destination for working with web services and http services?
in proxy-config.xml
in messaging-config.xml file
in data-management-config.xml file
in remoting-config.xml file


Which is NOT a feature added in Apache Flex 4.11
Speed and other improvements to datagrid components
Over 50 bugs fixed
Experimental mobile datagrid component
MXML to Javascript compilation
120dpi and 640dpi mobile skins


Which of the following is not a phase of a drag-and-drop operation?
Initializing
Inititating
Dragging
Dropping


How do you avoid "Warning: unable to bind property 'x' on class 'x' ?
By marking the class as [Bindable] with only getters
By marking the class as [Bindable] with only setters
By marking the class as [Bindable] with private properties
By marking the class as [Bindable] with getters and setters


Which of the following words is referred to as future reserved words?
Default
Throw
Continue
Synchronized


Which of the following components can be used to access server-side data from a REST web service?
HTTPService
RemoteObject
WebService
RESTService


How do you set the default state of a visual component?
setting currentState=""
setting currentState="*"
setting currentState="default"
setting currentState="defaultState"


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] ?
[Omit]
[Transient]
[Exclude]
[ExcludeClass]


Where can you set a defaultButton property?
on Visual Componets
on Containers


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


Which is true about the following sentence: [Bindable(event="dataChanged")] ?
The bindable property will be able to be dispatched on a dataChanged event
The bindable property will change when an event named dataChanged is dispatched.
The Flex compiler automaticaaly creates a propertyChangeEvent


Where can you use the mx:HTML component to display HTML in a Flex App?
On Adobe AIR TV Applications
On Adobe AIR Mobile Applications
All of these
On Adobe AIR Desktop Applications


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


Which compiler option do you use to specify static linking?
runtime-shared-library-path
static-link-path
library-path
external-library-path


Which is not a feature added in Apache Flex 4.10.0?
Advanced telemetry support
ASC 2.0 compiler support
Over 200 bug fixes
New spark components
Datagrid row and column locking


How do you insert a "new line" inside a MXML text property?
/\n
<br>
\n
&#13;


What's the minimum version of Flash Player that Apache Flex 4.9.0, 4.9.1 or 4.10.0 supports?
10.2
11.8
10.1
11.1
11.7


An Apache Flex PMC member CANNOT
Cast binding votes on an Apache Flex release candidate
Veto an Apache Flex release candidate
Vote -1 (veto) code checked into the Git repository
Vote for new Apache Flex committers and PMC members
Create an release candidate


You would use this syntax to embed asset.png in a StyleSheet:
@Embed("asset.png")
[Embed("asset.png")]
[Embed(source= "asset.png")
Embed('asset.png')

No comments:

Post a Comment