Question 111
Given the SAS data set WORK.ORDERS:
The variable order_id is numeric; customer is character; and shipped is numeric, contains a SAS date
value, and is shown with the DATE9. format. A programmer would like to create a new variable, ship_note,
that shows a character value with the order_id, shipped date, and customer name. For example, given the
first observation ship_note would have the value "Order 9341 shipped on 02FEB2009 to Josh Martin".
Which of the following statement will correctly create the value and assign it to ship_note?
Question 112
The following SAS program is submitted:
If the value for the variable Jobcode is: PILOT2, what is the value of the variable Description?
Question 113
Given the SAS data set WORK.ONE:
The following SAS program is submitted:
The data set WORK.TWO is created, where Day would be 1 for Sunday, 2 for Monday, 3 for Tuesday, ... :
Which expression successfully completed the program and creates the variable DAY?
Question 114
Given the SAS data set ONE:
Given the SAS data set WORK.ONE:
The following SAS program is submitted:
Which report is produced?
Question 115
Consider the following data step:
The computed variables City and State have their values assigned using two different methods, a
RETAIN statement and an Assignment statement. Which statement regarding this program is true?
