Question 36

A raw data file is listed below:

How many observations will the WORK.HOMEWORK data set contain?
  • Question 37

    Which step displays a listing of all the data sets in the WORK library?
  • Question 38

    The following SAS program is submitted, creating the SAS data set ONE:
    data one;
    infile 'file specification';
    input num chars$;
    run;
    ONE
    NUMCHAR
    123
    323
    177
    The following SAS program is submitted:
    proc print data = one;
    where char = 23;
    run;
    What is output?
  • Question 39

    Given the raw data record DEPT:
    ----|----10---|----20---|----30
    Printing 750
    The following SAS program is submitted:
    data bonus;
    infile 'dept';
    inputdept$ 1-11 number 13- 15;
    <insert statement here>
    run;
    Which SAS statement completes the program and results in a value of 'Printing750' for the DEPARTMENT variable?
  • Question 40

    The following SAS program is submitted:
    data work.test;
    First = 'Ipswich, England';
    City = substr(First,1,7);
    City_Country = City!!', '!!'England';
    run;
    Which one of the following is the value of the variable CITY_COUNTRY in the output data set?