Apache Flex/Apache Flex MCQ Questions Answers Set 1 Sample Test,Sample questions

Question:
All user interface components in Flex extend what class?

1.Sprite

2.Bitmap

3.InteractiveObject

4.UIComponent


Question:
An Apache Flex committer CAN

1.Commit code to the Apache Flex Git repository

2.Vote in new Apache Flex committers

3.Vote in new Apache Flex PMC members

4. Cast binding votes on an Apache Flex release candidate


Question:
Flex 4 introduced a new skinning and component architecture known as what?

1.DMX✖

2.Flash

3.Halo

4.Spark


Question:
How do you accomplish data persistence in a Flex client?

1.Using cookies

2. Using <fx:Model>

3.Using <s:Model>

4. Using shared objects


Question:
How do you become an Apache Flex committer?

1.Add JIRA entries and patches

2.All of the other answers

3.Voted in by the Apache Flex PMC

4.Contribute to discussions on the mailing lists


Question:
How do you declare an actionscript private variable?

1.var variableType:variableName

2.var variableType variableName

3.private var variableName:variableType

4.None of these


Question:
How do you remove a pop up using PopUpManager?

1.PopUpManager.removePopUp('popUpComponent')

2.PopUpManager.destroyPopUp('popUpComponent')

3.PopUpManager.deletePopUp('popUpComponent')

4.PopUpManager.closePopUp('popUpComponent')


Question:
How will you call Java method from Flex?

1.MessageService

2.Crossdomain

3. Above all

4. RemoteObject


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

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

2.Name of the last view state defined by the <s:states> tag

3.. View state when the application was last closed.

4.No default state.


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

1.Access no resources in the local file system or over the network.

2.Access resources both in the local file system and over the network.

3.Access resources over the network, but not in the local file system.

4. Access resources in the local file system, but not over the network.


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

1.public

2.static

3.private

4.protected


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

1.validator

2.collection

3.formatter

4.grid


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

1.RichText

2.TextInput

3.TextArea

4.Label


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

1.<fx:script>

2.<fx:component>

3.<s:GridColumn>

4.<s:GridColumn>


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

1.Most Valuable Customer

2.Most VGroup Containers

3.Modem-Vista-Cairngorm

4.Model-View-Controller


Question:
RIAs stands for:

1.Regular Internet Applications

2.Rich Internet Applications

3.Recursive Internal Applications

4. Rigid Internal Applications


Question:
The third and final phase of Flex event flow is known as what?

1.listening

2.bubbling

3.target

4.capture


Question:
The tree of all visible objects in a Flex application is known as what?

1.Container

2.Display list

3.Object

4.Class


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

1.text="@{fieldX.text}"

2.text="@[fieldX.text]"

3.text="{@filedX.text}"

4. text="[@fieldX.text]"


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

1.open the database in Synchronous mode

2.open the database in Asynchronous mode

3.both (a) and (b)

4.None of These


Question:
What are the three (3) RCP services allowed in flex?

1.HTTPService, RemoteService, SOAPService

2.HTTPService, RemoteService, WebService

3. HTTPService, RemoteObject, WebService

4.HTTPService, RemoteObject, SOAPService


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

1.FlashVars

2.HTMLVars

3.ParamObjs

4.FlashParams


Question:
What event is dispatched when a component and its children are fully processed and visible?

1.initialize

2.creationComplete

3.applicationComplete

4.preinitialize


Question:
What is a SWC file?

1.Class library containing components and other assets.

2.Flex project file.

3.File used to specify compiler options.

4.Compiled Flex application.


Question:
What is the application container for an AIR application?

1.VGroup

2.WindowedApplication

3.Group

4.Application


Question:
What is the file extension of a compiled Flex project?

1..css

2. .flv

3..swf

4..fla


Question:
What is the mechanism included in AIR to manipulate data from a data base file?

1.PLSQL

2.SQLServer

3.MySQL

4.SQLLite


Question:
What is the name of the scripting language used with Flex?

1.NoScript

2.ActionScript

3.PHP

4.JavaScript


Question:
What method is used to register an event handler for a component?

1.registerEventListener()

2.beginEventListener()

3.addEventListener()

4.startEventListener()


Question:
When do you use try..catch..finnaly statements?

1.On customs classes

2.On customs events

3.On error handling

4.On functions definitions


Question:
When is it better to use E4X specification?

1.When working with XML

2.When working with binary data

3.When working with HTML responses

4.When working with JSon objects


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

1.Add the new object as a child of a container.

2. Create a custom event to display the object.

3.Add an event listener for the object.

4.Load the object into the application.


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

1.Inside <fx:Scripts> tag

2. Inside <fx:Group> tag

3.Inside <fx:Definitions> tag

4.Inside <fx:Declarations> tag


Question:
Where do you have to place a cross-domain-policy file?

1.At the root directory of your application

2.At the libs directory of your application

3.At the root directory of the server

4.There's no such thing as cross-domain-policy file


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

1.namespace

2.xmlns

3.xmlnamespace

4.xmlspace


Question:
Which class lets you work directly with the pixels of a Bitmap object?

1.BitmapEncodingColorSpace

2.BitmapData

3.Bitmap

4.BitmapDataChannel


Question:
Which is an example of two-way binding?

1.<s:TextInput text="@{someData}"/>

2.<s:TextInput text="{someData}"/>

3.<s:TextInput="{someData}"/ >

4.<s:TextInput="@someData">


Question:
Which is not a container type?

1.Application

2.Array

3.Group

4.Panel


Question:
Which method would you use to add a component to an MX container?

1.addNew()

2.addElement()

3.addComponent()

4.addChild()


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

1.FlexGlobals.topLevelApplication

2.UIComponent.topLevelApplication

3.FlexGlobals.parentApplication

4.UIComponent.parentApplication


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

1.Group

2.VGroup

3.HGroup

4.TileGroup


Question:
Which of the following is not a Drop Target Event?

1.dragOver

2.dragEnter

3.dragDrop

4.mouseDown


Question:
Which of the following is the RPC service used to connect to Java objects?

1.HTTPObjects

2.HTTPServices

3.RemoteObjects

4.WebServices


Question:
Which of the following statements would allow you to access the MouseEvent class?

1.import flash.events.*;

2.include "allevents.as";

3.import flash.events.mouse;

4. import spark.events;


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

1.id

2.click

3.groupName

4.label


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

1.TileLayout

2.BasicLayout

3.VerticalLayout

4.HorizontalLayout


Question:
Which tag enables you to enter ActionScript blocks inside an MXML file?

1.<s:Ascript>

2.<fx:ActionScript>

3.<fx:AScript>

4.<fx:Script>


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

1.<s:Nonvisual>

2.<fx:Declarations>

3. <mx:Declarations>

4.<fx:Properties>


Question:
Who has access to Apache Flex code base?

1.Adobe staff

2.Apache staff

3.Apache Flex committers

4.Anyone


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

1.[Embed(source= "asset.png")

2.[Embed("asset.png")]

3.Embed('asset.png')

4.@Embed("asset.png")


More MCQS

  1. Apache Flex MCQ Questions Answers Set 1
  2. Apache Flex MCQ Questions Answers Set 2
Search
Olete Team
Online Exam TestTop Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Testwebsite is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!