| Exam Code/Number: | A00-201Join the discussion |
| Exam Name: | SAS base programming exam |
| Certification: | SASInstitute |
| Question Number: | 140 |
| Publish Date: | Dec 01, 2026 |
|
Rating
100%
|
|
A raw data record is listed below:
----|----10---|----20---|----30
Printing 750
The following SAS program is submitted:
data bonus;
infile 'file-specification';
input dept $ 1 - 11 number 13 - 15;
< insert code here>
run;
Which one of the following SAS statements completes the program and results in a value of 'Printing750' for the DEPARTMENT variable?
The following SAS program is submitted:
data allobs;
set sasdata.origin (firstobs = 75 obs = 499);
run;
The SAS data set SASDATA.ORIGIN contains 1000 observations.
How many observations does the ALLOBS data set contain?
The contents of the raw data file PRODUCT are listed below:
----|----10---|----20---|----30
24613 $25.31
The following SAS program is submitted:
data inventory;
infile 'product';
input idnum 5. @10 price;
run;
Which one of the following is the value of the PRICE variable?
Which one of the following SAS system options displays the time on a report?
CORRECT TEXT
The SAS data set QTR1_REVENUE is listed below:
The following SAS program is submitted:
proc sort data = qtr1_revenue;
by destination descending revenue;
run;
Which one of the following represents the first observation in the output data set?