Click on the Comments to view the Answers

Wednesday, January 27, 2010


The following SAS program is submitted:

data stats;
set revenue;
array weekly{5} mon tue wed thu fri;

total = weekly{i} * .25;

Which one of the following DO statements completes the program and processes the elements of the WEEKLY array?

A. do i = 1 to 5;
B. do weekly{i} = 1 to 5;
C. do i = mon tue wed thu fri;
D. A DO loop cannot be used because the variables referenced do not end in a digit.


SASGuru said...

Answer: A

Rujuta........ said...

A. do i = 1 to 5;

siva said...

Answer A

Ryan Lo said...

Answer is A.

kinnari said...

Do i=1 to 5

Gaurav Verma said...


Aparna Kakani said...

can some body explain why is it A instead of D

Dora Halmi said...
This comment has been removed by the author.
Dora Halmi said...

Aparna the answer is A and not D because if your variables are months of the year, or days of the week, which can be consecutive then you don't need digits at the end, SAS will know the days and months following each-other.

Harsh Mohan said...

For latest and updated SAS certification dumps in PDF format contact us at
Refer our blog for more details

Post a Comment

Technology Top Blogs On our way to 1,000,000 rss feeds - Blog Directory - blogarama - the blog directory Blog Directory

SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.

Other brand and product names are trademarks of their respective companies.

This blog is not responsible for any kind of copyright violation. This blog just collects the links hosted or posted by other servers/people/search engines.The creator of this page or the ISP(s) hosting any content on this site take no responsibility for the way you use the information provided on this site.If anybody has any copyright claim on it and doesn’t wish the information provided to be shown on our site, please do respond to this email. We shall remove them off immediately. Any inconvenience is regretted. Please do mention your exact grievance/problems with respect to certain third party links. We assure you that appropriate action will be taken off. Thank you