Exam2pass
0 items Sign In or Register
  • Home
  • IT Exams
  • Guarantee
  • FAQs
  • Reviews
  • Contact Us
  • Demo
Exam2pass > SAS Institute > SAS Institute Certifications > A00-201 > A00-201 Online Practice Questions and Answers

A00-201 Online Practice Questions and Answers

Questions 4

The following SAS program is submitted:

data work.retail; cost = `20000'; total = .10*cost; run;

Which one of the following is the value of the variable TOTAL in the output data set?

A. 2000

B. `2000'

C. (missing numeric value)

D. ` `(missing character value)

Buy Now

Correct Answer: A

Questions 5

The following SAS program is submitted:

data work.report; set work.sales_info; if qtr(sales_date) ge 3; run;

The SAS data set WORK.SALES_INFO has one observation for each month in the year 2000 and the variable SALES_DATE which contains a SAS date value for each of the twelve months.

How many of the original twelve observations in WORKSALES_INFO are written to the WORKREPORT data set?

A. 2

B. 3

C. 6

D. 9

Buy Now

Correct Answer: C

Questions 6

The following SAS program is submitted:

data numrecords;

infile `file-specification';

input@1 patient $15.

relative$ 16-26@;

if relative = `children' then

input diagnosis $15. @;

else if relative = `parents' then

input @28 doctor $15.

clinic $ 44-53

@54diagnosis $15. @;

input age;

run;

How many raw data records are read during each iteration of the DATA step during execution?

A. 1

B. 2

C. 3

D. 4

Buy Now

Correct Answer: A

Questions 7

The observations in the SAS data set WORK.TEST are ordered by the values of the variable SALARY.

The following SAS program is submitted:

proc sort data = work.test out = work.testsorted;

by name;

run;

Which one of the following is the result of the SAS program?

A. The data set WORKTEST is stored in ascending order by values of the NAME variable.

B. The data set WORKTEST is stored in descending order by values of the NAME variable.

C. The data set WORKTESTSORTED is stored in ascending order by values of the NAME variable.

D. The data set WORKTESTSORTED is stored in descending order by values of the NAME variable.

Buy Now

Correct Answer: C

Questions 8

Which one or the following SAS system options displays the time on a report?

A. TIME

B. DATE

C. TODAY

D. DATETIME

Buy Now

Correct Answer: B

Questions 9

The following SASS program is submitted:

data work.sales;

do year = 1 to 5;

do month = 1 to 12;

x+ 1;

end;

run;

Which one of the following represents how many observations are written to the WORK SALES data set?

A. 0

B. 1

C. 5

D. 60

Buy Now

Correct Answer: B

Questions 10

The following SAS program is submitted:

proc report data = sasuser.houses nowd headline headskip; column style price;

where price < 100000;

title;

run;

Click the Exhibit button to view the output from the REPORT procedure.

Assuming that the PRICE variable is numeric, which one of the following completes the program and produces the output displayed in the exhibit?

A. define style / group `Style'; define price / mean `Price' format = dollar9.;

B. define style / display `Style'; define price / across `Price' format = dollar9.;

C. define style / display `Style'; define price / sum `Price' format = dollar9.;

D. define style / order `Style'; define price / mean `Price' format = dollar9.;

Buy Now

Correct Answer: C

Questions 11

A raw data file is listed below:

1901 2 1905 1 1910 6 1925 . 1941 1

The following SAS program is submitted and references the raw data file above:

data coins; infile `file-specification'; input year quantity; run;

Which one of the following completes the program and produces a non-missing value for the variable TOTQUANTITY in the last observation of the output data set?

A. totquantity + quantity;

B. totquantity = sum(totquantity + quantity);

C. totquantity 0; sum totquantity;

D. retain totquantity 0; totquantity = totquantity + quantity;

Buy Now

Correct Answer: A

Questions 12

The following SAS program is submitted:

data work.clients;

calls = 6;

do while (calls le 6);

calls + 1;

end;

run;

Which one of the following is the value of the variable CALLS in the output data set?

A. 4

B. 5

C. 6

D. 7

Buy Now

Correct Answer: D

Questions 13

The SAS data sets WORK.EMPLOYEE and WORKSALARY are listed below:

WORK.EMPLOYEE WORK. SALARY

name age name salary

Bruce 30 Bruce 25000

Dan 40 Bruce 35000

Dan 25000

The following SAS program is submitted:

data work.empdata;

merge work.employee

work.salary;

by fname;

totsal + salary;

run;

How many variables are output to the WORK.EMPDATA data set?

A. 3

B. 4

C. 5

D. No variables are output to the data set as the program fails to execute due to errors.

Buy Now

Correct Answer: B

Exam Code: A00-201
Exam Name: SAS Base Programming
Last Update: Jul 07, 2026
Questions: 140

PDF (Q&A)

$45.99
ADD TO CART

VCE

$49.99
ADD TO CART

PDF + VCE

$59.99
ADD TO CART

Exam2Pass----The Most Reliable Exam Preparation Assistance

There are tens of thousands of certification exam dumps provided on the internet. And how to choose the most reliable one among them is the first problem one certification candidate should face. Exam2Pass provide a shot cut to pass the exam and get the certification. If you need help on any questions or any Exam2Pass exam PDF and VCE simulators, customer support team is ready to help at any time when required.

Home | Guarantee & Policy |  Privacy & Policy |  Terms & Conditions |  How to buy |  FAQs |  About Us |  Contact Us |  Demo |  Reviews

2026 Copyright @ exam2pass.com All trademarks are the property of their respective vendors. We are not associated with any of them.