Flex and ActionScript Web Technologies
Quiz covering Apache Flex framework and ActionScript programming for building Rich Internet Applications, including components, data handling, and event management.
Questions
Which of the following container is sub class of Panel Container
- ViewStack
- TitleWindow
- Accordion
- Application
Which of the following is the default value of creationPolicy property of any application?
- QUEUED
- AUTO
- ALL
- NONE
Which of the following component can be used to present a dialog box style window?
- TitleWindow
- ControlBar
- PopUpBBar
- ButtonBar
The method in Array which is used to sort the Objects in Array on specific property in the Object is
- sort
- sortOn
- reverse
- sortBy
Which of the following is correct code to define a contructor in ActionScript class?
- private constructor classname()
- public constructor classname()
- private function classname()
- public function classname()
Which of the following component is used to encapsulate data and behaviours related to the data processed by the appliation
- Controller
- View
- Pattern
- Model
What is NOT possible with mx:DataGrid ?
- Sortable Columns
- Rearrange columns at runtime
- Represent hierarchical data
- Customize a cell in datagrid
You have a requirement to create a itemrenderer which need to be used in more than one column in a datagrid. Which type of ItemRender will be good practice?
- DropIn ItemRenderer
- Inline ItemRenderer
- Custom Component ItemRender
- No way to do that in Flex.
How do you get access to the object corresponding to the datagrid row inside an itemRenderer?
- Access via parent
- Have a variable outside of the datagrid to hod the data
- Using implicit object called “data”
- Using implicit object called “object”
How do you pass data to an event handler while dispatching an event?
- Use the property called “data” in event Object
- Use the property called “payload” in event Object
- Create a Custom Event and have your own public variable to hold the data to be passed to the handler
- No way to do that.
You need to reposition the children of a container when loadin the application based on some custom logic. Which is the correct place to trigger the logic?
- preinitialize of the Container
- initialize of the container
- creationComplete of the child Components of the container
- creationComplete of the Container
public class Name { private String first, last; public Name(String first, String last) { this.first = first; this.last = last; } public boolean equals(Object o) { if (!(o instanceof Name)) return false; Name n = (Name)o; return n.first.equals(first) && n.last.equals(last); } public static void main(String[] args) { Set s = new HashSet(); s.add(new Name("Donald", "Duck")); System.out.println(s.contains(new Name("Donald", "Duck"))); } } What is the output?
- true
- false
- Compile Error
- None of the above
Expanstion of AJAX ......
- Asyncronous Java eXtensible Language
- Asyncronous Java XML
- Asyncronous JavaScript XML
- Asyncronous J2EE XML
Which command will delete all data from a table and will not write to the rollback segment?
- DROP
- DELETE
- CASCADE
- TRUNCATE
In which case would you use a FULL OUTER JOIN ?
- You want all unmatched data from both table
- You want all matched data from both table
- You want all matched and unmatched data from both table
- You want all unmatched data from one table