Adobe ColdFusion Quiz # 5

Instructions
Quiz: Adobe ColdFusion Quiz # 5
Subject: Basic Adobe Coldfusion
Total Questions: 30 MCQs
Time: 30 Minutes

Note

  • Do not refresh the page while taking the test.
  • Results along with correct answers will be shown at the end of the test.
Adobe ColdFusion Quiz # 5
Question 1 of 30
00:00
  • When would you prefer to use the <cfstoredproc> tag in place of the <cfquery> tag?


  • What does the Randomize function return?


  • What is the output of the following code:
    <cfoutput>#REReplace("I love jelly","jell(y|ies)","cookies")#</cfoutput>


  • Which of the following tags was introduced in the ColdFusion MX series?


  • How will you test whether a cookie has already been set on the clients browser?


  • You have created an extension to Coldfusion tag named "CalcClass." It needs one integer argument named "IntValue." Which of the following enables you to call that in the Coldfusion code?


  • What does the cfproperty tag do?


  • What will be the result of placing the following code in any cfm file:

    <!---
    <cflock timeout=20 scope="Session" type="Exclusive">
       <cfset StructDelete(Session, "ShoppingCartItems")>
    </cflock>
    --->


  • What does the cfNTauthenticate tag do?


  • What is the output of the following code:
    <cfset yourDate = CreateDate(2002, 11, 23)>
       <cfoutput>
    This is day #Day(YourDate)# in the month of
        #MonthAsString(Month(yourDate))#, which has
        #DaysInMonth(yourDate)# days.
        </cfoutput>



  • What is the output of the following code:

    <cfoutput>
       <cfset stringToSearch = "The quick brown fox jumped over the lazy dog.">
       #find("the",stringToSearch)#
       #find("the",stringToSearch,35)#
       #find("no such substring",stringToSearch)#
    </cfoutput>



  • What is the output of the following code:

    <cfoutput>#IncrementValue(123.35)#</cfoutput>



  • What is the output of the following code:
    <cfset strabc=setVariable("abc","abc123")>
    <cfset strxyz=setVariable("xyz","xyz321")>
    <cfoutput>
       strabc = #strabc# , strxyz = #strxyz#
    </cfoutput>



  • Which of the following statements is incorrect with regard to Coldfusion Tags?


  • What is the output of the following code:

    <cfsilent>
      <cfset a = 100>
      <cfset b = 99>
      <cfset c = b-a>
      <cfoutput>Inside cfsilent block<br>
      b-a = #c#</cfoutput><br>
    </cfsilent>

    <cfoutput>
        b-a = #c#
    </cfoutput>



  • Which of the following is not a valid array function?


  • A coldfusion list is defined as follows:

    <cfset list1="24,25,26,27,">
    <cfset list2="24,,25,26,27">
    <cfset list3="24,,,,25,26,27,">
    <cfset list4="24,25,,26,,27,,">

    What will you get on printing "listlen" for all the above lists?


  • Which of the following tags is not useful in handling exceptions?


  • Query of Queries cannot be performed on cfassociate.


  • What is correct syntax for accessing an item of a structure?


  • You have defined a field (EmailAd) on your user registration form to get the user email. Which of the following helps you validate the data before passing it to the database?


  • Which of the following ColdFusion conversion functions validates XML against a DTD?

  • Which of the following tags specifies the name of the file to be included in your ColdFusion page?

  • Which of the following ColdFusion 9 tags do NOT allow custom attributes and do NOT return any value?

  • Which of the following is the correct way to define a component method parameter named temp?

  • Which of the following tags is used to catch and process exceptions in ColdFusion application pages?

  • If ColdFusion mappings and custom tag roots can exist within the web root, then from which of the following locations can the CFC be accessed?

  • Which of the following DOM level core specifications does ColdFusion 9 conform to?

  • For which of the following tags does the cfprocparam define its parameters?

  • Which of the following statements holds true if you import CFCs in the Application.cfm page?

Liked this quiz? Share it with friends:

Adobe ColdFusion Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it