This SAS Chapter 9 quiz focuses on macro variables, testing understanding through questions on their creation, manipulation, and error handling. It's designed to enhance proficiency in using SAS for dynamic data processing and reporting.
Title "Total Sales for '&month' ";
Title "Total Sales for 'month'";
Title "Total Sales for &month";
Title Total Sales for "&month";
Rate this question:
Options &month;
%PUT &month;
Options symbolgen;
%PUT the macro variable MONTH has the value &month.;
Rate this question:
&let location = storage;
Let &location = storage;
%let location = "storage";
%let location = storage;
Rate this question:
Sales Report for Southeast Area
Sales Report for "Southeast" Area
*Sales Report for "Southeast" Area*
* Sales Report for "Southeast" Area *
Rate this question:
%let currdate = %sysfunc(today(), worddate.);
%let currdate = &sysdate9;
%let currdate = %sysfunc(date());
All of the above
Rate this question:
Can be used to manipulate character strings in macro variable values.
Have the same basic syntax as the corresponding DATA step functions and yield similar results.
All of the above
None of the above
Rate this question:
Expressions, literals, names, and special characters.
Literals, names, numbers, and special characters.
Expressions, names, numbers, and special characters.
Expressions, literals, numbers, and special characters.
Rate this question:
month1 June month2 July period1 June July period2 May June period3 July Aug
month1 June month2 July period1 JuneJuly period2 MayJune period3 July.Aug
month1 June month2 July period1 JuneJuly period2 MayJune period3 JulyAug
month1 June month2 July period1 junejuly period2 Mayjune period3 julyaug
Rate this question:
title "Report for %sysfunc(left(%sysfunc(today(),worddate.)))";
title "Report for %sysfunc(left(today(), worddate.))";
title "Report for %sysfunc(left(%qsysfunc(today(), worddate.)))";
title "Report for %left(today(), worddate.))";
Rate this question:
Quiz Review Timeline (Updated): Jan 30, 2024 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.