SAS Base Programming for SAS 9 Free Sample Questions

20 free sample questions270 in the full practice test

Try simulator

A00-211 Sample Questions

  1. Question 1

    The following SAS program is submitted and reads 100 records from a raw data file:

    Which one of the following IF statements writes the last observation to the output data set?

    Question 1 image
    Answer and explanation

    Correct answer: D

    D

  2. Question 2

    The following SAS program is submitted:

    The SAS data set WORK.SALESJNFO 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 WORK.SALESJNFO are written to the WORK.REPORT data set?

    Question 2 image
    Answer and explanation

    Correct answer: C

    C

  3. Question 3

    The following SAS program is submitted:

    Which one of the following is the length of the variable CITY_COUNTRY in the output data set?

    Question 3 image
    Answer and explanation

    Correct answer: D

    D

  4. Question 4

    Given the following raw data records in DATAFILE.TXT:

    Which output is correct based on the submitted program?

    Question 4 image
    Answer and explanation

    Correct answer: C

    C

  5. Question 5

    The SAS data set named WORK.SALARY contains 10 observations for each department, and is currently ordered by Department. The following SAS program is submitted:

    Which statement is true?

    Question 5 image
    Answer and explanation

    Correct answer: C

    C

  6. Question 6

    Given the SAS data set WORK.EMP_NAME:

    Given the SAS data set WORK.EMP_DEPT:

    The following program is submitted:

    How many observations are in data set WORK.ALL after submitting the program?

    Enter your numeric answer in the space below.

    Question 6 image
    Answer and explanation

    Correct answer: A

    A

  7. Question 7

    Given the SAS data set WORK.EMP_NAME:

    Given the SAS data set WORK.EMP_DEPT:

    The following program is submitted:

    How many observations are in data set WORK.ALL after submitting the program?

    Question 7 image
    Answer and explanation

    Correct answer: B

    B

  8. Question 8

    The contents of the SAS data set PERM.JAN_SALES are listed below:

    A comma delimited raw data file needs to be created from the PERM.JAN_SALES data set. The SALES_DATE values need to be in a MMDDYY10 form.
    Which one of the following SAS DATA steps correctly creates this raw data file?

    Question 8 image
    Answer and explanation

    Correct answer: B

    B

  9. Question 9

    Which one of the following SAS system options prevents the page number from appearing on a report?

    Answer and explanation

    Correct answer: C

    C

  10. Question 10

    Which SAS program correctly combines the data?

    Given the SAS data set WORK.P2000:

    and the SAS data set WORK.P2008:

    The following output is desired:

    Which SAS program correctly combines the data?

    Question 10 image
    Answer and explanation

    Correct answer: C

    C

Register free to unlock 10 more sample questions

Lifetime One

Own this practice test forever.

$79.99
$75.99
one-time
  • Full access to 270 questions
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • Brainy AI Assistant
  • Lifetime updates

Two

Any 2 exams per month.

$20.00/exam
$39.99
/month
  • 2 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 1,000 Brainy AI Credits
  • Cancel anytime

Premium Twelve

Any 12 exams over 3 months.

$15.00/exam
$179.99
/3 months
  • 4 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 15,000 Brainy AI Credits
  • Dedicated support
  • Friend seat included — full access

Trusted by professionals at

NvidiaSupabaseGitHubOpenAITursoClerkClaude AIAmazon