SAS Base Programming for SAS 9 Free Practice Exam Questions

38 real SAS Base Programming for SAS 9 exam questions with answers and AI explanations. SAS Institute certification prep — page 1 of 4.

  1. Question 2: The SAS data set WORK.AWARDS is listed below: fname points Amy 2 - Amy 1 - Gerard 3 - Wang 3 - Wang 1 - Wang 2 - The following SAS program is submitted: proc s…
  2. Question 3: The following SAS program is submitted: libname temp 'SAS-data-library'; data work.new; set temp.jobs; format newdate mmddyy10.; qdate = qtr(newdate); ddate =…
  3. Question 5: The following SAS program is submitted: data work.empsalary; set work.people (in = inemp) work.money (in = insal); if insal and inemp; run; The SAS data set WO…
  4. Question 6: The following SAS program is submitted, creating the SAS data set ONE: data one; infile file specification; input num chars$; run; ONE - NUM CHAR - ------- ---…
  5. Question 7: The following SAS program is submitted: data work.retail; cost = 20000; total= .10* cost run; What is the result?
  6. Question 9: The following SAS program is submitted: data ONE TWO SASUSER.TWO set SASUSER.ONE; run; Assuming that SASUSER.ONE exists, how many temporary and permanent SAS d…
  7. Question 10: After a SAS program is submitted, the following is written to the SAS log: 105 data WORK.JANUARY; 106 set WORK.ALLYEAR(keep=Product Month Quantity Cost); 107 i…
  8. Question 11: Given the contents of the raw data file EMPLOYEE: ----|----10----|----20----|----30 Alan - 19/2/2004 ACCT - Rob - 22/5/2004 MKTG - MaryJane - 14/3/2004 EDUC -…
  9. Question 12: Given the SAS data set SASDATA TWO: SASDATA TWO - X Y - -- -- 5 2 3 1 5 6 The following SAS program is submitted: data sasuser.one two sasdata.three; set sasda…
  10. Question 13: Given the SAS data set PRICES: Prodid price producttype sales returns K125 5.10 NETWORK 15 2 B132S 2.34 HARDWARE 300 10 R18KY2 1.29 SOFTWARE 25 5 3KL8BY 6.37 H…