SAS Base Certification – Practice Exam 2

Question 2:The following SAS program is submitted:

1
2
3
4
5
6
data product;
   infile 'file-specification';
   input @1  prod_id 4.
         @6  sell_date date9.
         @16 category $;
run;

How many numeric variables are written to the data set?

Options:

a.	0 - The code has a syntax error and does not execute. 
b.	1
c.	2
d.	3

*This blog is not affiliated with SAS or the SAS Institute. All answer logs, data sets, output, and commentary are provided by this blog.

Correct Answer

Incorrect Answer

Click to see Answer Explanation below

thanks for your support

Leave a Comment

Please keep in mind that comments are moderated and rel="nofollow" is in use. So, please do not use a spammy keyword or a domain as your name, or it will be deleted. Let us have a personal and meaningful conversation instead.