Rajesh,
Go here
http://www.allaire.com/CFDOCS/dochome.htm
Click on the "Search" icon and you'll find answers on most of
your questions.
Brainbench test is based on the Allaire documentation.
Tuesday, January 09, 2001, 10:19:14 PM, you wrote:
Rajesh> Hi All,
Rajesh> Though I have cleared the exam of BrainBench and eCertifications.com but I
Rajesh> am confused about the answers to the following questions. Could you people
Rajesh> help me out!
Rajesh> 1. When creating a CFX tag using Java, what does the
Rajesh> \cfusion\java\class\cfx.jar file contain?
Rajesh> A. Transaction Object, CF Object, Query Object
Rajesh> B. Request Object, Response Object, Query Object
Rajesh> C. Step Object, Request Object, Responce Object
Rajesh> D. Process Object, Status Object, Request Object
Rajesh> E. Status Object, Response Object, CFQuery Object
Rajesh> Answer: ?
Rajesh> 2. Sample Code:
Rajesh> 1 <CFIF NOT IsAuthenticate("Admin")>
Rajesh> 2 <CFTRY>
Rajesh> 3 <CFAUTHENTICATE SECURITYCONTEXT="Edge" USERNAME=#user# PASSWORD=#pwd#>
Rajesh> 4 <CFCATCH TYPE="Security">
Rajesh> 5 Access denied. </CFCATCH></CFTRY></CFIF>
Rajesh> Which of the lines in the above code contains an error?
Rajesh> A. Line 3
Rajesh> B. Line 1
Rajesh> C. Line 5
Rajesh> D. Line 4
Rajesh> E. Line 2
Rajesh> Answer: ?
Rajesh> 3. 1 < (Less Than)
2 >> (Greater Than)
Rajesh> 3 ' (Single Quote)
Rajesh> 4 " (Double Quote)
Rajesh> 5 % (Percent)
Rajesh> The function XMLFormat(string) is used to create an XML safe string. Which
Rajesh> of the following characters does it filter?
Rajesh> A. 1,2,3
Rajesh> B. 3, 4
Rajesh> C. 1,2,3,4
Rajesh> D. 3,4,5
Rajesh> E. 1,2,5
Rajesh> Answer: ?
Rajesh> 4. Which of the following is a list of valid CFCACHE parameters?
Rajesh> A. ClientCache, Write, Flush, and Cache
Rajesh> B. Cache, Optimal, Flush, and ClientCache
Rajesh> C. Cache, Write, Read, and Optimal
Rajesh> D. Write, Flush, ClientCache, and Optimal
Rajesh> E. Cache, Write, Flush, and Optimal
Rajesh> Answer: ?
Rajesh> 5. What is the name of the page that is similar to the application.cfm but
Rajesh> is run after the main page is done?
Rajesh> A. Application2.cfm
Rajesh> B. ApplicationEnd.cfm
Rajesh> C. OnPageEnd.cfm
Rajesh> D. OnRequestEnd.cfm
Rajesh> E. PageEnd.cfm
Rajesh> Answer: ?
Rajesh> 6. Sample Code:
Rajesh> <CFSET Txt = Evaluate("CALLER.#ATTRIBUTES.VariableName#")>
Rajesh> <CFSET Txt = Replace("#Txt#", "_", "x", "ALL")>
Rajesh> <CFSET Txt = SetVariable("CALLER.#ATTRIBUTES.VariableName#",Txt)>
Rajesh> When the above module is called with <cfmodule template="sample.cfm"
Rajesh> VariableName="Text_Var">, what is the result?
Rajesh> A. Recurse the caller routine until all characters are x.
Rajesh> B. Blank the value of the variable Text_Var.
Rajesh> C. Double call the caller routine backwards.
Rajesh> D. Remove all _ symbols from the contents of the variable Text_Var.
Rajesh> E. Change the name of the variable Text_Var to TextVar
Rajesh> Answer: ?
Rajesh> 7. Which of the following a valid ACTION within the CFTRANSATION tag?
Rajesh> A: END
Rajesh> B: ROLLOVER
Rajesh> C: READ
Rajesh> D: COMMIT
Rajesh> Answer: ?
Rajesh> 8. When working with CFSLIDER attributes, <CFSLIDER NAME="Lyk" RANGE="1,10"
SCALE="1" VALUE="5">>, the VALUE attribute indicates
Rajesh> A: the number of values.
Rajesh> B: the starting value.
Rajesh> C: the highest real value.
Rajesh> D: none of the above.
Rajesh> Answer: ?
Rajesh> 9. While using the CFFILE tag with the UPLOAD action, which File variable is
Rajesh> not matched correctly with the return?
Rajesh> A: File.FileExisted: indicates whether a file already exists in the
Rajesh> specific directory
Rajesh> B: File.ServerFile: the filename a file was saved as on the server
Rajesh> C: File.ServerFileName: the filname and extension of the file that was
Rajesh> uploaded to the server
Rajesh> D: File.OldFileSize: the size of the file that was overwritten by the
Rajesh> uploaded file
Rajesh> Answer: ?
Rajesh> 10. To reduce the file size of ColdFusion templates by reducing white space
Rajesh> from the Administrator select ____ within the Server section.
Rajesh> A: Limit file size
Rajesh> B: Enforce suppression
Rajesh> C: Suppress white space by default
Rajesh> D: Eliminate white space
Rajesh> Answer: ?
Rajesh> 11. HTML and JAVASCRIPT are supported within an error template.
Rajesh> A: True
Rajesh> B: False
Rajesh> Answer: ?
Rajesh> 12. In a SQL query, if a subquery will return more than one result, it must
Rajesh> be placed in the
Rajesh> A: WHERE clause
Rajesh> B: FROM clause
Rajesh> C: SELECT clause
Rajesh> D: GROUP by clause
Rajesh> Answer: ?
Rajesh> 13. Which of the following is false regarding the <CFOBJECT> tag?
Rajesh> a. Skip Question
Rajesh> b. Using CFOBJECT, any automation server object type that is currently
Rajesh> registered on a machine can be invoked
Rajesh> c. CFOBJECT allows you to create and use COM (Component Object Model)
Rajesh> objects
Rajesh> d. Using CFOBJECT, you can use a utility like Microsoft's OLEView to browse
Rajesh> COM objects
Rajesh> e. All the above
Rajesh> Answer: ?
Rajesh> 14. What is the purpose of the Delay Evaluation (DE) function in Cold
Rajesh> Fusion?
Rajesh> a. Skip Question
Rajesh> b. Returns its argument with double quotes wrapped around it and all double
Rajesh> quotes inside it escaped
Rajesh> c. Prevents the evaluation of a string as an expression when it is passed as
Rajesh> an argument to IIf or Evaluate
Rajesh> d. Both a and b
Rajesh> e. None of the above
Rajesh> Answer: ?
Rajesh> 15. What is the purpose of the Network Listener Module (NLM)?
Rajesh> a. Skip Question
Rajesh> b. NLM is a Java applet used to listen for incoming messages and redirect
Rajesh> them to the standard Cold Fusion server
Rajesh> c. NLM is only used on the Unix Operating System
Rajesh> d. NLM is a stand-alone program that acts as a network front-end for the
Rajesh> standard Cold Fusion server
Rajesh> e. All the above
Rajesh> Answer: ?
Rajesh> 16. Which of the following statements is false regarding the difference
Rajesh> between CFScript and JavaScript?
Rajesh> a. Skip Question
Rajesh> b. CFScript uses ColdFusion expressions, which are neither a subset nor a
Rajesh> superset of JavaScript expressions
Rajesh> c. CFScript is case-sensitive
Rajesh> d. In CFScript, assignments are statements, not expressions
Rajesh> e. In CFScript, some implicit objects are not available, such as Window and
Rajesh> Document
Rajesh> Answer: ?
Rajesh> Answer: C
Rajesh> 17. Which of the structure functions listed below do all of the following:
Rajesh> 1) contains data, 2) returns
Rajesh> TRUE if the structure contains no data, 3) returns FALSE if it does contain
Rajesh> data?
Rajesh> a. Skip Question
Rajesh> b. StructCopy
Rajesh> c. StructUpdate
Rajesh> d. StructKeyExists
Rajesh> e. StructIsEmpty
Rajesh> Answer: ?
Rajesh> Answer: E
Rajesh> 18. What are the two types of custom tags available in Cold Fusion 4.01?
Rajesh> a. Skip Question
Rajesh> b. Local and shared custom tags
Rajesh> c. Local and client custom tags
Rajesh> d. Private and public custom tags
Rajesh> e. Client and shared custom tags
Rajesh> Answer: ?
Rajesh> Answer: C
Rajesh> Regards,
Rajesh> Bitto
Rajesh> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Rajesh> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
--
Regards,
Alex mailto:[EMAIL PROTECTED]
May all your Internet Dreams come true!
http://www.intellinetusa.com/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists