Adobe ColdFusion Quiz # 3

Instructions
Quiz: Adobe ColdFusion Quiz # 3
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 # 3
Question 1 of 30
00:00
  • Which of the following is NOT a required Application.cfc setting for using ORM?

  • Which of the following prints out "Fail"?

  • Where is considered the best place to name your application so the request is tied to the right application?

  • True or False? In ColdFusion 8, you can upload multiple files at once by setting CFFILE action to "uploadAll"

  • How many remote IP addresses can access an installation of the free developer edition of Adobe ColdFusion?

  • Which of the following versions of ColdFusion has passed its core support deadline, but is still within its extended support period?

  • Which of the following is NOT a valid Array function?

  • Which of the following IS NOT used to create a XML document object?

  • Which of the following will result in an error?

  • What is the outcome of the code?  <cfset structInsert(CGI, 'newVar','CF',true)/>  <cfoutput>#CGI.newVar#</cfoutput>

  • Which of the following are NOT valid CFML to check whether num1 is greater than or equal to num2?

  • By default, in which scope does a ColdFusion application store login information?

  • Given a page, customtag.cfm, called with will invoke the code twice whereas called with will invoke the code once.

  • From the below array, how do you access the value "banana"?

  • Can ColdFusion create a CAPTCHA?

  • What is the correct output for the following? #str2

  • True or False? Using <cfloop> to loop over a file opens the entire file in memory.

  • As in JavaScript, in ColdFusion you can write a function inside another function

  • I just added a record to a table with an auto-incrementing primary key. If I stored the results of my query in a variable called lastRecord, how would I find the primary key of the record I just added?

  • True or False? Arrays are passed by reference like Structs.

  • What does this code do? #DateFormat(date, "dd mmm yyyy")#

  • Examine the data in the EMPLOYEES table given below:

    LAST_NAME  DEPTARTMENT_ID          SALARY  
    ALLEN            10                3000
    MILLER           20                1500
    King             20                2200  
    Davis            30                5000


    Which of the following queries will execute without error?



  • What is the output of the following code:

    <cfscript>
    function calculateresult()
    {
    var a=55;
    var b=5;
    b=a+b;
    b=b+b;
    return b;
    }
    </cfscript>
    <cfoutput>#calculateresult()#</cfoutput>



  • Which of the following allows the use of CFML tags within its body?


  • What is the output of the following code:
    <cfscript>
    function calculateresult()
    {
    var a=55;
    var b=5;
    b=b-a*b+a;
    return b;
    }
    </cfscript>
    <cfoutput>#calculateresult()#</cfoutput>


  • What is the output of the following code:
    <cfset stringToSearch = "The quick brown fox jumped over the lazy dog.">
    <cfoutput>
    #findoneof("aeiou",stringToSearch)#
    #findoneof("aeiou",stringToSearch,4)#
    #findoneof("@%^*()",stringToSearch)#
    </cfoutput>


  • You need to create a website using ColdFusion that spans across several servers. What will be the preferred technique for maintaining session state across the servers considering that some users might have cookies disabled on their browsers?


  • Which of the below statements are correct regarding the following code:

    <cfset a = GetTickCount()>
    <cfloop from="1" to="10000" index="i">
    </cfloop>
    <cfset b = GetTickCount()>
    <cfscript>
    c = GetTickCount();
    for (i = 1; i LTE 10000; i = i+1) ;
    d = GetTickCount();
    </cfscript>
    <cfoutput>#b-a# vs. #d-c#</cfoutput>




  • You created a Coldfusion form to get the guest information from your website. The name of the input elements is same as that in the database. The name of the data source is "GuestDSN" and the table name is "TbGuest." Which of the following codes helps you insert data in the table?



  • What will be the output of the given expression:

    evaluate("23" & 2 + 5)



Liked this quiz? Share it with friends:

Adobe ColdFusion Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

Adobe ColdFusion Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it