## SAS Certified Base Programmer 123 Questions (2)

When the following SAS program is submitted, the data set **SASDATA.PRDSALES** contains 5000 observations:

libnamesastemp 'SAS-data-library'; options obs = 500; proc print data = sasdata.prdsales (firstobs = 100); run; options obs = max; proc means data = sasdata.prdsales (firstobs = 500); run;

How many observations are processed by each procedure?

A.

400 for PROC PRINT

4500 for PROC MEANS

B.

401 for PROC PRINT

4501 for PROC MEANS

C.

401 for PROC PRINT

4500 for PROC MEANS

D.

500 for PROC PRINT

5000 for PROC MEANS

B

Isn’t there an error in the firstobs part? I would have considered B as an option if it read firstobs= and not firsttobs=.

Thank you very much. Itâ€™s a typo.