← All SAS Flashcard Decks

Programming & Syntax Flashcards

7 cards from real SAS practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 7 Programming & Syntax flashcards as text
  1. What is the purpose of a 'DATA' step in SAS?

    Answer: To create datasets and manipulate data.

    The 'DATA' step is used to create datasets, read and manipulate data in SAS.

  2. How would you create a new variable in a SAS 'DATA' step?

    Answer: all of the above.

    This question tests knowledge of adding variables in the 'DATA' step.

  3. What is the function of 'PROC PRINT' in SAS?

    Answer: It prints the contents of a dataset.

    The 'PROC PRINT' step is used to display the contents of a dataset in SAS.

  4. Which of the following SAS procedures is used for descriptive statistics?

    Answer: PROC MEANS.

    This question checks knowledge of procedures used for descriptive statistics in SAS.

  5. What does the 'INFILE' statement do in SAS?

    Answer: It identifies the external file to read data from.

    The 'INFILE' statement is used to specify the file to read in a 'DATA' step.

  6. Which SAS function would you use to compute the mean of a numeric variable?

    Answer: all of the above.

    This question tests knowledge of statistical functions in SAS.

  7. How do you check for missing values in a dataset in SAS?

    Answer: Using the 'IS MISSING' function.

    This question checks knowledge of identifying missing values in a dataset.

How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy

Sources & references

Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy

  1. sas.com — Eligibility, retake fee, retake policy, test delivery, exam format, passing score, time limit · verified Oct 2026
  2. pearsonvue.com — Test delivery, score release · verified Oct 2026