Monday, November 07, 2011

Test Your ColdFusion skill ( Part - I)(ColdFusion - 8 and 9 )




  1. Which of the following page executes first when a ColdFusion Application runs.

    Application.cfm
    Application.cfc
    index.cfm
    The page which will be mentioned in the URL.

  2. What is the scope of the following variable. <cfset x = “Hello World”>

    Request scope
    URL scope
    Application Scope
    variable(local) scope

  3. <cfcookie name="person.name" value="wilson, john">
    When the above cookie variable will expire.

    After one day.
    When the browser will close.
    After time out period of session.
    After time out period of Application.

  4. Choose the scope of variable which always requires the scope before accessing the variables.

    local scope.
    form scope
    url scope
    request scope

  5. Which of the following scope is not appropriate for ColdFusion.

    caller
    this
    attributes
    response

  6. What is the use of the tag “cfimap”

    Access google map in ColdFusion
    Access google map in igoogle.
    Manage your email in your mail account.
    Crate a mapping in ColdFusion admin.

  7. Which of the following is not a functionality of “cfsetting”.

    Manage request time out.
    Enable cfoutput.
    Suppress white space.
    Show debugging out put.

  8. How to call onSessionStart method in your application explicitly.

    By StructDelete method .
    By using StructClear method.
    By using <cfapplication> tag.
    We can’t call this method explicitly.

  9. Which operator is used to test for equality?

    ===
    IS
    =
    ISEQ

  10. Chose the incorrect ColdFusion output.

    YesNoFormat(“false“) = No
    YesNoFormat(“0”) = No
    YesNoFormat("-1") = No
    YesNoFormat("No") = No



2 comments:

  1. I think for Question No. 9 there should be Multiple options
    Because inside CFSCRIPT you can use both == and IS operator
    like

    if(a == b){
    //write your code here
    }
    else{
    }
    //in another way
    if(a IS b){
    }
    else{
    }

    ReplyDelete
  2. Thanks kantsubodh for you comment. I have modified the option. :)

    ReplyDelete

Followers