1. Question: What will be the output of the following code snippet? var myArray1 : Array = new Array("One", "Two", "Three"); var myArray2 : Array = myArray1; myArray2[1] = "Four"; trace(myArray1);

    A
    One,Two,Three

    B
    Four,Two,Three

    C
    One,Four,Three

    D
    Two,Three,Four

    Note: Not available
    1. Report
  2. Question: Based on the above mentioned declaration of myXML, how can we access the id attribute of the 'employee' tag?

    A
    myXML.managers.employee[1].@id

    B
    myXML.employeeList.managers.employee[1].@id

    C
    myXML.managers.employee[1].id

    D
    myXML.employeeList.managers.employee[1].id

    Note: Not available
    1. Report
  3. Question: Which of the following methods of the String class does not accept a regular expression as its parameter?

    A
    search()

    B
    substring()

    C
    replace()

    D
    match()

    Note: Not available
    1. Report
  4. Question: Given the following code snippet: public function helloWorld(value:int) : String { switch(value){ case 1: return "One"; break; case 2: return "Two"; break; case 3: return "Three"; break; default: return "No Match"; } } What will be returned if we pass call the above function as helloWorld(2):

    A
    One

    B
    Two

    C
    Three

    D
    No match

    Note: Not available
    1. Report
  5. Question: A constant (const) variable can be initiated only once.

    A
    True

    B
    False

    Note: Not available
    1. Report
  6. Question: Which of the following classes is not used to interact with the client system environment?

    A
    Application Class

    B
    ApplicationDomain Class

    C
    System Class

    D
    Capabilities Class

    Note: Not available
    1. Report
  7. Question: The minimum version of flash player required to run Action script 3.0 is:

    A
    6.0

    B
    8.0

    C
    9.0

    D
    10.0

    Note: Not available
    1. Report
  8. Question: Which of the following syntax would be used to call a method name helloWorld(), (defined in the html Wrapper) from actionscript?

    A
    Application.call ("helloWorld");

    B
    ExternalApplication.call ("helloWorld");

    C
    ExternalInterface.call ("helloWorld");

    D
    helloWorld ();

    Note: Not available
    1. Report
  9. Question: Which of the following property of the String class returns the no. of characters in a string?

    A
    size

    B
    numChar

    C
    length

    D
    None of these

    Note: Not available
    1. Report
  10. Question: Given the declaration 'a timer', which of the following statements is correct? var myTimer:Timer = new Timer (500,5);

    A
    When the timer is started, the TimerEvent.TIMER event is dispatched 5 times with a difference of 0.5 seconds between 2 successive events.

    B
    When the timer is started, the TimerEvent.TIMER_COMPLETE event is dispatched 5 times with a difference of 500 seconds between 2 successive events.

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