Given the following snippet:
#--x# - #x++#
What is the output?
A. 1 - 1
B. 1 - 3
C. 1 - 2
D. -1
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.
You want to create a ColdFusion component using by CFScript with a single public method named doSomething().
Which syntax should you use?
A.
B. component { public function doSomething() { ... } }
C.
D. /* component */ public function doSomething() { ... }
You have read xml stored in a database column into the variable xData.
Which two statements convert the variable from an XML document to an XML object? (Choose two.)
A.
B.
C.
D.
E.
You are using the xmlSearch() function to retrieve data from an XML document. Which function signature most accurately describes the data types of the arguments?
A. xmlSearch(xml object, xpath)
B. xmlSearch(string, xpath);
C. xmlSearch(string, regular expression)
D. xmlSearch(xml object, regular expression)
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
Which tag allows you to retrieve an RSS document and save it to a file?
A. CFoutput
B. cffeed
C. CFrss
D. cfatom
What is the name of the
A. source
B. address
C. feed
D. url
In your application, you need to create a directory to which files can be copied. Which attribute specifies the location of the directory to be created?
A. destination
B. directory
C. name
D. newDirectory