1. Question: Which of the following are primitive datatypes in Action script 3.0:

    A
    Array

    B
    Date

    C
    String

    D
    XML

    E
    Null

    Note: Not available
    1. Report
  2. Question: Given the following code snippet, what will be the output when helloWorld( ) is run? public function helloWorld() : void { trace("Code Start" ); try{ throw new Error ("Test_Error"); trace("try"); } catch(err : Error) { trace("catch"); return; }finally{ trace("finally"); } trace("Code End"); }

    A
    Code Start try catch finally Code End

    B
    Code Start catch finally

    C
    Code Start try catch finally

    D
    Code Start catch

    Note: Not available
    1. Report
  3. Question: Which of the following is a valid variable name?

    A
    _123

    B
    123

    C
    my@Var

    D
    my-Var

    Note: Not available
    1. Report
  4. Question: What will be the output of the following code snippet? var num1 : String="Hello"; var num2:String="Hello"; if (num1===num2) { trace ("Equal"); } else { trace ("Unequal"); }

    A
    Equal

    B
    Unequal

    C
    ""

    D
    Compilation error: Syntax error

    Note: Not available
    1. Report
  5. Question: Which property of the Event object contains information about the component which generated that event?

    A
    target

    B
    currentTarget

    C
    type

    D
    eventPhase

    Note: Not available
    1. Report
  6. Question: An Swf in a local security sandbox:

    A
    can access all resources in the local security sandbox.

    B
    can access some but not all resources in the local security sandbox.

    C
    can access no resources in the local security sandbox.

    D
    can access resources in the local as well as the remote security sandbox.

    Note: Not available
    1. Report
  7. Question: Which kind of an error is thrown when parsing error occurs in the action script?

    A
    Type error

    B
    Syntax error

    C
    Argument error

    D
    Verify error

    Note: Not available
    1. Report
  8. Question: What will the output of the following trace statement? trace(myXML..employee.(lastName=="Zmed"));

    A
    All employee blocks are printed on the console.

    B
    The first employee block is printed on the console.

    C
    The complete structure of myXML is printed in the console.

    D
    Only the lastName tag with value "Zmed" is printed.

    Note: Not available
    1. Report
  9. Question: Given that two event listeners are registered for a component CompA as: CompA.addEventListener(MouseEvent.CLICK, func1); CompA.addEventListener(MouseEvent.CLICK, func2); What will happen when a click event is fired on CompA?

    A
    func1 is called but func2 is not called.

    B
    func2 is called but func1 is not called.

    C
    Either func1 or func2 are randomly chosen and called.

    D
    Both func1 and func2 are called.

    Note: Not available
    1. Report
  10. Question: The source of an ArrayCollection is of the type:

    A
    ArrayCollection

    B
    int

    C
    String

    D
    Array

    Note: Not available
    1. Report
Copyright © 2025. Powered by Intellect Software Ltd