- Which of following tags with errors will NOT be caught with a <cfcatch > block?
- < CFEST X = 5 / 0 >
- < CFSET X = "Y" + 1 >
- < cfinclude template="myFile.cfm" > where myFile.cfm is NOT found.
- None of these.
- If you have the following variable definition in the Application.cfm file, what is the scope of the variable after it is created?
< cfset x="foo" >
- Variables (local)
- Application
- Session
- Request
- Which of the following scope variables can not store a ColdFusion query object?
- Request Scope Variables.
- Thread Scope Variables.
- Client Scope variables.
- Local scope Variables.
- What will be the outputof the following code?
ABC < cfcontent reset="Yes" type="text/html" > DEF.
- ABC
- DEF
- ABCDEF
- None Of these
- Choose the correct syntax for looping over a structure.
- < cfloop collection="struct" item="i" >
- < cfloop collection="#struct#" item="s" >
- < cfloop from="#struct#" index="i" to="#StructLen(struct)#" >
- < cfloop collection="#struct#" index="i" >
- Which of the following is not true about < cfheader >?
- It creates attribute/value pairs in the request header.
- It creates attribute/value pairs in the response header.
- It can be used to prevent a server from caching a page.
- None of these.
- What is the correct syntax to include a template ?
- < cfinclude template="./myinclude.cfm" >
- < cfinclude template="C:\inetpub\wwwroot\doccomments\myinclude.cfm" >
- < cfinclude template="http://localhost:8500/doccomments/myinclude.cfm" >
- None of these.
- What is the output of below code?
< cfset variables.str="Hello" >
< cfoutput > #variables.str# </cfoutput >
< cfsilent>
< cfset variables.str="World" >
< cfoutput> #variables.str # </cfoutput >
< /cfsilent >
- Hello World
- Hello
- World
- None of these.
- Which of the following not true about structCopy() and duplicate() ?
- structCopy(): Copies nested structures by reference.
- structCopy(): If the original structure get changed then it doesn't affects the copied structure.
- duplicate(): There is no reference to the original variable
- duplicate(): This is also known as deep copy.
- Which of the following will not “obey” a timeout, whether it is set in the ColdFusion Administrator or in code on the CFM page?
- cfquery
- cfthread
- cfstoredproc
- None of these.
Tips and Tricks for ColdFusion and Other Web Technologies like Java, jQuery, DataBase
Showing posts with label ColdFusion Question. Show all posts
Showing posts with label ColdFusion Question. Show all posts
Sunday, March 25, 2012
Test Your ColdFusion skill ( Part - II)(ColdFusion - 8 and 9 )
Labels:
ColdFusion,
ColdFusion Question
Monday, November 07, 2011
Test Your ColdFusion skill ( Part - I)(ColdFusion - 8 and 9 )
- 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.
- What is the scope of the following variable. <cfset x = “Hello World”>
- Request scope
- URL scope
- Application Scope
- variable(local) scope
- <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.
- Choose the scope of variable which always requires the scope before accessing the variables.
- local scope.
- form scope
- url scope
- request scope
- Which of the following scope is not appropriate for ColdFusion.
- caller
- this
- attributes
- response
- 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.
- Which of the following is not a functionality of “cfsetting”.
- Manage request time out.
- Enable cfoutput.
- Suppress white space.
- Show debugging out put.
- 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.
- Which operator is used to test for equality?
- ===
- IS
- =
- ISEQ
- Chose the incorrect ColdFusion output.
- YesNoFormat(“false“) = No
- YesNoFormat(“0”) = No
- YesNoFormat("-1") = No
- YesNoFormat("No") = No
Labels:
ColdFusion,
ColdFusion Question,
Exam,
Question,
Test
Subscribe to:
Posts (Atom)