Select the best answer
for each question. After completing the quiz, check your answers using
the answer key in the appendix.
-
Which PICTURE statement
displays a nine-digit account number with six leading asterisks followed
by the last five digits, such as ******56789?
-
picture actfmt low-high='99999'(prefix='******');
-
picture actfmt (prefix='******') low-high='99999';
-
picture actfmt low-high='999999999' (prefix='******');
-
picture actfmt (prefix='*****') low-high='999999999';
-
Which PICTURE statement
generates a date format that produces the following results when used
with the Date column?
-
picture DateFmt low-high='%m/%d/%Y' (datatype=date);
-
picture DateFmt (default=10 )low-high='%m/%d/%Y'
(datatype=date);
-
picture DateFmt low-high='%m/%d/%Y'
(datatype=date default=10);
-
picture DateFmt (default=10) low-high='%m/%d/%Y'
(datatype=datetime);
-
Which of the following
are format options that can be placed after the format name?
PICTURE format-name<(format-options)><value-range-set-1 =
'template-value'
(template-options)>
<value-range-set-n
= 'template-value'
(template-options)>;
-
What system option do
you have to specify in order to use the new function that you created
in a DATA step or a supported PROC step?
-
Which directives create
the following value?
-
-
-
%Y.%0m.%0d @ %I:%0M:%0S%p
-
-
Complete the FUNCTION
statement to create a function named TitleName that consists of two
character arguments.
proc fcmp outlib=certadv.functions.samp;
function TitleName ___________________ $50;
if JobCode='S' then return(catx(' ','Software',',JobTitle'));
else if JobCode='M' then return(catx(' ','Manager of ',',JobTitle'));
-
-
-
('JobTitle' $, 'JobCode' $)
-
('JobTitle $', 'JobCode $')
-
Which statement is true
concerning the following PROC FCMP statement?
proc fcmp outlib=certadv.funcs.dev;
-
The custom function
will be stored in the SAS table Funcs.Dev.
-
The custom function
will be stored in the Certadv package within the SAS table Funcs.Dev.
-
The custom function
will be stored in the Dev folder within the SAS package Certadv.Funcs.
-
The custom function
will be stored in the Dev package within the SAS table Certadv.Funcs.