Flex

 20 Minutes
 10 Questions


This test covers a wide range of topics related to the Flex technology. It includes questions on ActionScript language, event handling, user interfaces, data providers and collections, advanced Flex programming, data access and interconnectivity, and ActionScript design patterns. The test is designed to assess the knowledge of a candidate in all these areas and evaluate their ability to use the Flex technology effectively.


Example Question:

Multiple-Choice

what will be the result of declaring an element of type 'MyComp' inside an mxml Component?
 

// the follwing code is located inside MyComp.mxml

<?xml version="1.0" encoding="utf-8"?>
<fx:Group xmlns:s="http://ns.adobe.com/mxml/2009" 
		 xmlns:fx="library://ns.adobe.com/flex/spark" 
		 creationComplete="creation(event)"> 
	<s:Script>
		<![CDATA[
		import mx.events.FlexEvent;
		public function creation(event:FlexEvent):void{
			trace('successfully created');
		}
		]]>
	</s:Script>
</fx:Group>

//End Of File 


// example of usage - please ignore syntax errors 
<Application>
 <MyComp />
</Application>
Answers
1. MyComp has syntax errors it, will not compile
2. MyComp has syntax errors, it will compile fine; but will fail at runtime
3. MyComp will break the xml schema of any mxml Component it is used in
4. MyComp will break the xml schema of any mxml Component it is used in; unless it also declares the same unconventional xml name-space
5. it will output - successfully created