SAS Chapter 1 Basic Concepts

10 Questions | Total Attempts: 701

SettingsSettingsSettings
SAS Chapter 1 Basic Concepts

Practice preparing for the SAS certification test.


Related Topics
Questions and Answers
  • 1. 
    • A. 

      3 observations, 4 variables

    • B. 

      3 observations, 3 variables

    • C. 

      4 observations, 3 variables

    • D. 

      Can't tell because some values are missing

  • 2. 
    How many steps are executed when the program below is processed? data user.tables;      infile jobs;      input date name $ job $; run; proc sort data=user.tables;      by name; run; proc print data=user.tables; run;
    • A. 

      Three

    • B. 

      Four

    • C. 

      Five

    • D. 

      Six

  • 3. 
    What type of variable is the variable AcctNum in the data set below?
    • A. 

      Numeric

    • B. 

      Character

    • C. 

      Can be either character or numeric

    • D. 

      Can't tell from the data shown

  • 4. 
    What type of variable is the variable Wear in the data set below, assuming that there is a missing value in the data set?
    • A. 

      Numeric

    • B. 

      Character

    • C. 

      Can be either character or numeric

    • D. 

      Can't tell from the data shown

  • 5. 
    Which of the following variable names is valid?
    • A. 

      4BirthDate

    • B. 

      $Cost

    • C. 

      _Items_

    • D. 

      Tax-Rate

  • 6. 
    Which of the following files is a permanent SAS file?
    • A. 

      Sashelp.PrdSale

    • B. 

      Sasuser.MySales

    • C. 

      Profits.Quarter1

    • D. 

      All of the above

  • 7. 
    In a DATA step, how can you reference a temporary SAS data set named Forecast?
    • A. 

      Forecast

    • B. 

      Work.Forecast

    • C. 

      Sales.Forecast

    • D. 

      Only a and b above

  • 8. 
    What is the default length for the numeric variable Balance?
    • A. 

      5

    • B. 

      6

    • C. 

      7

    • D. 

      8

  • 9. 
    How many statements does the following SAS program contain? proc print data=new.prodsale           label double;      var state day price1 price2; where state='NC';      label state='Name of State'; run;
    • A. 

      Three

    • B. 

      Four

    • C. 

      Five

    • D. 

      Six

  • 10. 
    What is a SAS library?
    • A. 

      Collection of SAS files, such as SAS data sets and catalogs

    • B. 

      In some operating environments, a physical collection of SAS files

    • C. 

      In some operating environments, a logically related collection of SAS fils

    • D. 

      All of the above