Question 39: You have been given below datasets (Fixed width)

 Following output has been generated

 A.

 data course2017;

 input COURSE_ID 1-3 COURSE_NAME$ 5-20 LOCATION$ 22-30 FEE 32-35 DATE$  36-47

 DURATION 48-50;

 TotalFee=(FEE*18/100)+FEE;

 RETAIN ENTIREFEE 100000;

 ENTIREFEE+TotalFee;

 if TotalFee gt 1000 AND TOTALFee le 6000 then FEETYPE='VERYLOW';

 B.

 data course2017;

 input COURSE_ID 1-3 COURSE_NAME$ 5-20 LOCATION$ 22-30 FEE 32-35 DATE$  36-47

 DURATION 48-50;

 TotalFee=(FEE*18/100)+FEE;

 RETAIN ENTIREFEE 100000;

 ENTIREFEE+TotalFee;

 if TotalFee > 6000 AND TotalFee<=8000 then FEETYPE='LOW';

 if TotalFee gt 1000 AND TOTALFee le 6000 then FEETYPE='VERYLOW';

 if TotalFee>8000 then FEETYPE='MODERATE';

 C.

 data course2017;

 input COURSE_ID 1-3 COURSE_NAME$ 5-20 LOCATION$ 22-30 FEE 32-35 DATE$  36-47

 DURATION 48-50;

 TotalFee=(FEE*18/100)+FEE;

 RETAIN ENTIREFEE 100000;

 ENTIREFEE+TotalFee;

 if TotalFee gt 1000 AND TOTALFee le 6000 then (FEETYPE='VERYLOW' OR FEETYPE='LOW');

 D.

 data course2017;

 input COURSE_ID 1-3 COURSE_NAME$ 5-20 LOCATION$ 22-30 FEE 32-35 DATE$  36-47

 DURATION 48-50;

 TotalFee=(FEE*18/100)+FEE;

 RETAIN ENTIREFEE 100000;

 ENTIREFEE+TotalFee;

 if TotalFee gt 1000 AND TOTALFee le 6000 then FEETYPE='VERYLOW';

 if TotalFee > 6000 AND TotalFee<=8000 then FEETYPE='LOW';

 if TotalFee>8000 then FEETYPE='MODERATE';

  1. A
  2. Get all Questions and Answer from here
  3. You need to have paid subscription to access all questions
  4. Thanks for considering SAS Certification Material

 Correct Answer : 4 Exp : This type of questions are time consuming, so we need to do more quick on that to rule out which cannot

 be possible answer.

You can access to full explanation to question and answer from this page.