1. Question: Given a number, num = 23, which of the following methods will be used to convert it to a String:

    A
    num.toString();

    B
    num.toSentence();

    C
    num.toWord();

    D
    num.toNumber();

    Note: Not available
    1. Report
  2. Question: Which of the following is not a valid quantifier metacharacter used in Regular expressions?

    A
    +

    B

    C
    *

    D
    ?

    Note: Not available
    1. Report
  3. Question: The compiled output of an Action script file is:

    A
    '.class' file

    B
    '.swf' file

    C
    '.as' file

    D
    '.mxml' file

    Note: Not available
    1. Report
  4. Question: Given the following code snippet, what will be the output when helloWorld() is run? public function helloWorld() : void { trace("Line 1" ); var num : Number=25; try{ num=num/0; trace ("Value of num in try: "+num.toString()); }catch (err : IOError) { trace("Value of num in catch: "+num.toString()); }finally{ num=0; } trace("Value of num: "+num.toString()); }

    A
    Line1 Value of num in try: 25 Value of num in catch: 25 Value of num: 0

    B
    Line1 Value of num in catch: 25 Value of num: 0

    C
    Line1 Value of num in try: 25 Value of num in catch: 25

    D
    Line 1 Value of num in try: Infinity Value of num: 0

    Note: Not available
    1. Report
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
Copyright © 2025. Powered by Intellect Software Ltd