Question 71

The following SAS program is submitted:
data stats;
set revenue;
array weekly{5} mon tue wed thu fri;
total = weekly{i} * .25;
output;
end;
run;
Which one of the following DO statements completes the program and processes the elements of the WEEKLY array?
  • Question 72

    The following SAS program is submitted:
    data work.staff;
    JobCategory = 'FA';
    JobLevel = '1';
    JobCategory = JobCategory || JobLevel;
    run;
    Which one of the following is the value of the variable JOBCATEGORY in the output data set?
  • Question 73

    Given the SAS data set SASDATA TWO:
    SASDATA TWO
    XY
    52
    31
    56
    The following SAS program is submitted:
    data sasuser.one two sasdata.three;
    set sasdata two;
    if x = 5 then output sasuser.one;
    else output sasdata two;
    run;
    What is the result?
  • Question 74

    Which statement describes a characteristic of the SAS automatic variable _ERROR_?
  • Question 75

    The SAS data set WORK.ONE contains a numeric variable named Num ana character variable named Char:
    WORK.ONE
    Num Char
    ------ ------
    1 23
    3 23
    1 77
    The following SAS program is submitted:
    proc print data=WORK.ONE;
    where Num='1';
    run;
    What is output?