Home / CSE MCQs / SAS ::

CSE MCQs :: SAS

  1. For which of the following type of variables, it will make utmost sense to create dummy variables?
  2. A.
    Gender
    B.
    Race
    C.
    Both a and b
    D.
    Date of birth

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. The following SAS program is submitted:
    libname rawdata1 'location of SAS data library';
    filename rawdata2 'location of raw data file';
    data work.testdata;
    infile
    input sales1 sales2;
    run;

    Which one of the following is needed to complete the program correctly?
  4. A.
    rawdata1
    B.
    rawdata2
    C.
    'rawdata1'
    D.
    'rawdata2'

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. Which of the following keywords is used in SAS to store values in variables?
  6. A.
    Input
    B.
    Data
    C.
    Datalines
    D.
    Run

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Which one of the following statement can't be part of "PROC FREQ?
  8. A.
    Output
    B.
    Weight
    C.
    Set
    D.
    Tables

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. How many variables would be in table "AV after executing the below SAS program?

    data AV;
        merge Employee Salary;
        by name;
        totsal + salary;
    run;
  10. A.
    3
    B.
    4
    C.
    5
    D.
    6

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Which of the following are correct PROC statements?
  12. A.
    PROC contents
    B.
    PROC means
    C.
    PROC freq
    D.
    All of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. Which of the following analysis explains "what has happened"?
  14. A.
    Descriptive
    B.
    Diagnostic
    C.
    Predictive
    D.
    Prescriptive

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Which of the following keywords is used to define the variables in SAS Dataset?
  16. A.
    Assign
    B.
    Create
    C.
    Input
    D.
    Data

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. What happens If the value of the observation weight variable is ZERO?
  18. A.
    Observation is kept from analysis
    B.
    Observation is skipped from analysis
    C.
    Observation is deleted from analysis
    D.
    None of the above

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Which of the following statements are used to read delimited raw data file and create an SAS data set?
  20. A.
    DATA and SET
    B.
    DATA, SET and INFILE
    C.
    DATA, SET and INPUT
    D.
    DATA, INFILE and INPUT

    View Answer

    Workspace

    Discuss Discuss in Forum