Given the following code stub:
Which returns the string "two"?
A. obj.key.basic
B. obj.basic[2]
C. obj.basic[1]
D. obj.basic.2
You want to convert a query column containing numeric data into a comma-delimited list. Which function should you use?
A. ValueList()
B. ArrayToList()
C. ColumnList()
D. ListAppend()
Which statement about a regular expression is true?
A. It is a term used for common design patterns.
B. It is a method of discussing design with clients.
C. It allows developers to discuss code syntax.
D. It is a method of searching strings.
A
the
What is the most likely reason for this?
A. Query objects cannot be saved to the SESSION scope.
B. The SESSION scope only allows a limited number of variables per user.
C. The SESSION scope allocates limited memory per user.
D. Session management must enabled in the current application.
You are using the onError method of Application.cfc.
Which two types of arguments can be passed to the onError method? (Choose two.)
A. String
B. Array
C. Struct
D. CFerror
E. CFcatch
Which
A.
B.
C.
D.
You capture the RESULT structure of a query that performs an INSERT, UPDATE, or DELETE operation. What does the structure's RECORDCOUNT property represent?
A. the number of rows in the table after the query is executed
B. the number of rows in the table before the query is executed
C. different values for the INSERT, UPDATE or DELETE operations
D. the number of rows affected by the query
You want to create an instance of the component Part, then access the property partID by using the following code:
Which component syntax should you use?
A.
B. component { var partID = 0; }
C. component { local.partID = 0; }
D. component { this.partID = 0; }
What is the name of the ColdFusion function that rolls back a transaction?
A. transactionRollback()
B. transRollback()
C. rollBack()
D. rollbackTransaction()
You are using the
Where does ColdFusion look for the file if the value of the template attributes starts with a slash (/) character?
A. in the hard disk volume root folder
B. in a mapped directory
C. in the web server's document root folder
D. in the folder containing the file with the currently executing code
You are using
A. in the folder containing the file with the currently executing code
B. in the CustomTags folder under the ColdFusion installation folder
C. in a mapped directory
D. in the first custom tag path folder as configured in ColdFusion Administrator
After migrating your fully-tested application from development into production, you begin receiving the following error message on your production server:
Unable to read WSDL from URL: mywebservice.
Error: java.net.MalformedURLException: no protocol: mywebservice.
Error on line 55:
What should you do to resolve the error?
A. replace the webservice attribute value with "mywebservice.cfc?wsdl"
B. migrate your CF Administrator web services configuration from development into production
C. replace
D. add the following attribute to the
A file name data.txt is stored in the same directory as the currently executing CFM page.
What is the correct syntax to read the contents of the file into a variable named content?
A.
B.
C.
D.
Given the following statement:
Which function definition defines a private function named fullName that returns a string?
A. string function fullName()
B. function fullName():String
C. private string function fullName()
D. private function fullName():String