SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Coldfusion
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Escapes special XML characters in a string - so that the string is safe to use with XML.
XmlFormat()
<CFMODULE>
IsXmlAttribute()
<CFFUNCTION: ACCESS: PACKAGE>
2. Creates a ColdFusion XML document object that contains the markup in the tag body.
IsXmlRoot()
onError()
<CFXML>
<CFFUNCTION: ACCESS: REMOTE>
3. Displays and logs debugging data about the state of an application at the time the tag executes. Tracks runtime logic flow - variable values - and execution time. Displays output at the end of the request or in the debugging section at the end of the
onError()
<CFWDDX>
TimeSpan()
<CFTRACE>
4. Available only to the component that declares the method and any components that extend the component in which it is defined
<CFMODULE>
TimeSpan()
<CFFUNCTION: ACCESS: PRIVATE>
<CFFUNCTION>
5. Converts an XML document that is represented as a string variable into an XML document object.
TimeSpan()
<CFERROR:EXCEPTION>
onApplicationEnd()
XMLParse()
6. Creates a date/time object that defines a time period. You can add or subtract it from other date/time objects and use it with the cached within attribute of <CFQUERY>.
<CFMODULE>
XmlFormat()
TimeSpan()
<CFINVOKE>
7. Name of parent component from which to inherit methods and properties
<CFCOMPONENT: EXTENDS>
XmlFormat()
<CFMODULE>
XmlValidate()
8. Creates a date/time object that defines a time period. You can add or subtract it from other date/time objects and use it with the cachedwithin attribute of <CFQUERY>.
GetFileInfo()
CreateTimeSpan()
<CFWDDX>
onError()
9. Will stop execution of the entire page and not return control back to the calling page.
XmlFormat()
XmlGetNodeType()
<COLUMNMAP>
<CFABORT>
10. Determines whether a CFC is being called as a web service. Returns true if CFC is being called as a web service - otherwise false is returned.
XmlFormat()
IsSOAPRequest()
IsXmlDoc()
XmlValidate()
11. Uses a Document Type Definition (DTD) or XML Schema to validate an XML text document or an XML document object.
URLEncodedFormat()
ToString()
XmlValidate()
<CFQUERYPARAM>
12. Creates a ColdFusion object - of a specified type
<CFRETURN>
<CFFUNCTION: ACCESS: PACKAGE>
<CFOBJECTCACHE>
<CFOBJECT>
13. Invokes a custom tag for use in ColdFusion application pages. Used to avoid custom tag name conflicts
<CFMODULE>
<CFCOMPONENT: EXTENDS>
IsXML()
XMLChildPos()
14. Flushes the query cache
<CFDIRECTORY: MODE >
<CFWDDX>
XmlElemNew()
<CFOBJECTCACHE>
15. Applies an XSLT to an XML document object that is represented as a string variable. An XSLT converts an XML document to another format or representation by applying an XSL stylesheet to it. Returns a string; an XML document after the XSLT is applied.
XmlGetNodeType()
XmlTransform()
ARGUMENTCOLLECTION
<CFERROR:REQUEST>
16. Uses an XPath language expression to search an XML document that is represented as a string variable. Returns an array of XML object nodes that match the search criteria.
URLEncodedFormat()
XMLSearch()
<CFEXIT>
<CFOBJECTCACHE>
17. Errors recognized by server-side type validation. Cannot include CFML tags - but you can display values of the error variables by enclosing them in number signs (#) - as in #Error.InvalidFields#.
<CFERROR:VALIDATION>
<CFABORT>
XmlNew()
XmlElemNew()
18. Determines whether the function parameter is an XML Document Object Model (DOM) attribute node. Returns true - if the function argument is an XML attribute node - otherwise returns false.
ToString()
IsXmlAttribute()
onApplicationEnd()
<CFDIRECTORY: MODE >
19. Specifies whether constructor code in the component can generate HTML output; does not affect output in the body of cffunction tags in the component.
<CFCOMPONENT: OUTPUT>
<CFLOG>
<CFFUNCTION: ACCESS: PRIVATE>
<CFEXIT>
20. Available to a locally executing page or component method
<CFFUNCTION: ACCESS: PUBLIC>
<CFERROR:REQUEST>
<COLUMNMAP>
StructFind()
21. Converts a value to a string. ColdFusion has the ability to convert an XML document object to a string by using this function.
ToString()
TimeSpan()
<CFCOMPONENT: EXTENDS>
XmlValidate()
22. Determines whether a function parameter is the root element of an XML document object. Returns true - if the function argument is the root object of an XML document object; False - otherwise
<CFOBJECTCACHE>
XmlGetNodeType()
IsXmlRoot()
XmlValidate()
23. Creates an XML document object element. Returns an XML document object element. The other choices are not valid ColdFusion functions.
XmlNew()
XmlValidate()
<CFWDDX>
XmlElemNew()
24. Replaces special characters in a string with their HTML-escaped equivalents and inserts <pre> and</pre> tags at the beginning and end of the string
<CFCOMPONENT: EXTENDS>
onError()
XMLSearch()
HTMLCodeFormat()
25. Determines whether a function parameter is an Extended Markup language (XML) document object. Returns true - if the function argument is an XML document object; False - otherwise.
<COLUMNMAP>
XMLChildPos()
XmlElemNew()
IsXmlDoc()
26. Defines a function that you can call in CFML. Required to defined ColdFusion component methods.
<CFFUNCTION>
IsXmlAttribute()
HTMLCodeFormat()
XmlNew()
27. Writes a message to a log file
<CFEXECUTE>
<CFLOG>
<CFEXIT>
XmlTransform()
28. Determines whether a string is well-formed XML text.
IsXML()
ToString()
onError()
<CFEXIT>
29. Runs at the beginning of the request. It is useful for user authorization (login handling) - and for request-specific variable initialization - such as gathering performance statistics.
OnRequestStart()
<CFOBJECTCACHE>
HTMLCodeFormat()
<CFOBJECT>
30. Available to a locally or remotely executing page or component method - or a remote client through a URL - Flash - or a web service. To publish the function as a web service - this option is required.
<CFQUERYPARAM>
IsXmlAttribute()
DirectoryExists()
<CFFUNCTION: ACCESS: REMOTE>
31. Determines whether a function parameter is an XML document object element. Returns true - if the function argument is an XML document object element; False - otherwise.
<CFCOMPONENT: EXTENDS>
IsXmlElem()
<CFERROR:REQUEST>
URLEncodedFormat()
32. Runs when an uncaught exception occurs in the application. Use this method to handle errors in an application-specific manner. This method overrides any error handlers that you set in the ColdFusion Administrator or in cferror tags. It does not overr
IsXmlElem()
onError()
<CFERROR:REQUEST>
<CFLOG>
33. Available only to the component that declares the method - components that extend the component - or any other components in the package
XmlTransform()
<CFABORT>
<CFFUNCTION: ACCESS: PACKAGE>
StructFind()
34. Invokes a component method from within a ColdFusion page or component - or invokes a web service.
<CFERROR:EXCEPTION>
<COLUMNMAP>
<CFINVOKE>
IsXmlDoc()
35. This tag aborts processing of the currently executing CFML custom tag - exits the page within the currently executing CFML custom tag - or re-executes a section of code within the currently executing CFML custom tag
TimeSpan()
XmlNew()
<CFCACHE>
<CFEXIT>
36. Sets permissions on directories. It applies only to UNIX/LINUX OSes and is used when the ACTION attribute is set to CREATE.
HTMLCodeFormat()
<CFDIRECTORY: MODE >
<CFCACHE>
XMLParse()
37. Any encountered error - including undeclared ones. Cannot include CFML tags - but you can display values of the error variables by enclosing them in number signs (#) - as in #error.MailTo#.
<CFERROR:REQUEST>
<CFABORT>
<CFMODULE>
XMLChildPos()
38. Attribute of the <CFFEED> tag is used only for the create action with a query attribute. It is a structure that specifies a mapping between the names of the columns in the object specified by the query attribute and the columns of the ColdFusion feed
<CFLOG>
<CFOBJECTCACHE>
<COLUMNMAP>
XmlTransform()
39. Use this method for any clean-up activities that your application requires when it shuts down - such as saving data in memory to a database - or to log the application end to a file. You cannot use this method to display data on a user page - because
<CFCOMPONENT: OUTPUT>
DirectoryExists()
IsXmlDoc()
onApplicationEnd()
40. Used to incrementally output a CFML page request to the web browser before a CFML page is completely processed
CreateTimeSpan()
<CFCOMPONENT: EXTENDS>
HTMLCodeFormat()
<CFFLUSH>
41. Returns result values from a component method.
<CFMODULE>
XMLChildPos()
URLEncodedFormat()
<CFRETURN>
42. Verifies the data type of a query parameter and - for DBMSs that support bind variables - enables ColdFusion to use bind variables in the SQL statement. Bind variable usage enhances performance when executing a <CFQUERY> statement multiple times. Thi
<CFFUNCTION: ACCESS: REMOTE>
<CFCOMPONENT: OUTPUT>
<CFOBJECT>
<CFQUERYPARAM>
43. Attribute of the <CFINVOKE> that allows you to pass parameters to web services. Name of a structure; associative array of arguments to pass to the method.
<CFABORT>
<CFCOMPONENT: OUTPUT>
ARGUMENTCOLLECTION
<CFRETURN>
44. Returns the filename - path - parent directory - type - size - when the file was most recently modified - whether the file has read permission - write permission - and if it is hidden?
XmlFormat()
<CFDIRECTORY: MODE >
GetFileInfo()
<CFCACHE>
45. Creates an XML document object.
XmlNew()
IsXML()
<CFEXECUTE>
<CFABORT>
46. An exception of the type specified by the exception attribute. Uses the full range of CFML tags. Error variables must be in cfoutput tags.
<CFCOMPONENT: OUTPUT>
IsXmlElem()
<CFXML>
<CFERROR:EXCEPTION>
47. Serializes and deserializes CFML data structures to the XML-based WDDX format. The WDDX is an XML vocabulary for describing complex data structures in a standard - generic way. Implementing it lets you use the HTTP protocol to such information among
TimeSpan()
<CFWDDX>
IsXmlElem()
XMLParse()
48. Determines whether a directory exists. Returns Yes - if the specified directory exists; No - otherwise.
<CFFLUSH>
onError()
<CFERROR:REQUEST>
DirectoryExists()
49. Replaces special characters in a string with their HTML-escaped equivalents
XmlFormat()
HTMLEditFormat()
ARGUMENTCOLLECTION
StructFind()
50. Generates a URL-encoded string. For example - it replaces spaces with %20 - and non-alphanumeric characters with equivalent hexadecimal escape sequences.
XMLParse()
<CFFUNCTION: ACCESS: PACKAGE>
URLEncodedFormat()
HTMLCodeFormat()