1. Question: Which of the following methods of the XML object class can be used to add a new node to an XML object?

    A
    addNode()

    B
    appendNode()

    C
    addChild()

    D
    appendChild()

    E
    prependChild()

    Note: Not available
    1. Report
  2. Question: When a variable is of the type protected, it is accessible in:

    A
    all child classes irrespective of the package

    B
    only child classes in the same package

    C
    only child classes outside the current package

    D
    not accessible in any of the child classes.

    Note: Not available
    1. Report
  3. Question: What does the addItem() method of the ArrayCollection class do?

    A
    It adds an item at the beginning of the collection.

    B
    It adds an item at the end of the collection.

    C
    It removes an item from the beginning of the collection.

    D
    It removes an item from the end of the collection.

    Note: Not available
    1. Report
  4. Question: Given the code snippet below, what will be the value of myFlag after the 2nd assignment: var myFlag : Boolean=false; myFlag=Boolean (new Date ( ) );

    A
    True

    B
    False

    Note: Not available
    1. Report
  5. Question: Which of the following statements is correct?

    A
    The '.' and '@' operator can be used only to read data.

    B
    The '.' operator can be used to read data and write data but the '@' operator can be used only to read data.

    C
    The '.' and '@' operator can be used both to read and write data.

    D
    The '@' operator can be used to read data and write data but the '.' operator can be used only to read data.

    Note: Not available
    1. Report
  6. Question: Which of the following is not a valid Action script data type?

    A
    int

    B
    uint

    C
    long

    D
    String

    Note: Not available
    1. Report
  7. Question: The only difference between a timer and a loop is that timers are machine speed independent while loops are not.

    A
    True

    B
    False

    Note: Not available
    1. Report
  8. Question: Look at the following function declarations and then choose the correct option. i. public function myFunction():*; ii. public function myFunction():void; iii. public function myFunction():String;

    A
    only i & ii are valid

    B
    only ii & iii are valid

    C
    only i & iii are valid

    D
    i, ii & iii are all valid

    Note: Not available
    1. Report
  9. Question: What will be the output of the following code snippet? var myArray1 : Array = new Array ("One", "Two", "Three"); for(var i : int=0; i<3; i++) { delete myArray1[i]; } trace(myArray1.length);

    A
    Undefined

    B
    0

    C
    3

    D
    Runtime error: Null pointer reference

    Note: Not available
    1. Report
  10. Question: Given the following instantiation of a date type variable, choose the statement which is true. var myDate : Date = new Date()

    A
    The value of myDate is the current time stamp.

    B
    The value of myDate is an instance of the date class with all values set to either 0 or blank.

    C
    The value of myDate is null.

    D
    None of these

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