Page 1 of 1

Which <cfthread> tag action allows code between the starting and ending <cfthread> tags?

Posted: Thu Mar 17, 2022 12:20 pm
by answerhappygod
Which <cfthread> tag action allows code between the starting and ending <cfthread> tags?
A. run
B. terminate
C. sleep
D. join


Answer : A



You are using <cfajaxproxy> to retrieve data asynchronously from a CFC function on the server.
Which data format is used to send back the data response?
A. plain text
B. AMF
C. JSON
D. XML


Answer : C


The following CFM page named input.cfm receives a URL variable and returns its value in upper case.
<h3>Echoing input:</h3>
<cfoutput>
<cfif isdefined("url.InputText")>
#uCase(url.InputText)#
<cfelse>

No input -
</cfif>
</cfoutput>
Which <cfdiv> tag uses the correct binding expression to pass the value of a <cfinput> control named myInput and display the value returned from the first page?
A. <cfdiv bind="url:output.cfm?InputText=#myInput.value#"/>
B. <cfdiv bind="output.cfm?InputText={myInput.value}"/>
C. <cfdiv bind="url:output.cfm?InputText={myInput.value}"/>
D. <cfdiv bind={url:output.cfm?InputText=#myInput.value#}"/>


Answer : C



Which kind of ColdFusion data can be serialized into the JSON format with the serializeJSON() function?
A. only query objects
B. any data object
C. only CFC instances
D. query objects and arrays


Answer : B



You are using the <cfdocument> tag to generate a PDF document.
What happens to the output file if you omit the file attribute of the tag?
A. The file is output to the browser.
B. The file is NOT created.
C. A runtime error occurs.
D. The file is saved to server RAM.


Answer : A