Day 9

Quiz

1: Name three ways variables can be defined in ColdFusion applications.
A1: By the results of a query, by user input from a form, or by the <CFSET> tag. Other methods include server, session, and application variables, which are defined either within CF Administrator, or by your Web server .
2: Do <CFIF> statements have to be enclosed in <CFOUTPUT> tags?
A2: No.
3: Describe, in plain language, the flow of a <CFIF>-<CFELSE> statement .
A3: You should have answered something like the following: "If this is true, do this; if not, do that."
4: What is the distinguishing feature of the form input type password?
A4: When a user types text into a password form field, only asterisks are displayed .
5: Why are ColdFusion variables called "typeless"? ...

Get Sams Teach Yourself ColdFusion® in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.