Day 15

Quiz

1: What is the default delimiter character for a list?
A1: The comma. Other characters can be used when reading the list by specifying the DELIMITERS parameter in <CFLOOP>.
2: Name three ways to get data into a list.
A2: By manually creating the list with <CFSET>; by dynamically generating list contents with a <CFQUERY>; or by assigning form input to a list .
3: What is a structure key?
A3: It's a unique identifier for a bit of data stored in the structure.
4: Which of the three variable types covered in this chapter can be passed via a URL?
A4: Only lists can be passed in URLs because they are made up of only plain text. Structures and arrays are more complex.
5: When assigning data to arrays, what do the two bracketed numbers after the ...

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.