Description:-
If you use a variable name without a scope prefix, ColdFusion checks the scopes in the following order to find the variable.
ColdFusion searches variables in the below list order when you do not specify the scope, you can improve performance by defining the scope for all variables.

SequenceScope Name
1Local (function-local, UDFs, and CFCs only)
2Arguments
3Thread local (inside threads only)
4Query (not a true scope; variables in query loops)
5Thread
6Variables
7CGI
8Cffile
9URL
10Form
11Cookie
12Client