Question 80:

 The SAS data set named COMPANY.PRICES is listed below:

 COMPANY.PRICES

 prodid price producttype sales returns

 K12S 5.10 NETWORK 15 2

 B132S 2.34 HARDWARE 300 10

 R18KY2 1.29 SOFTWARE 25 5

 3KL8BY 6.37 HARDWARE 125 15

 DY65DW 5.60 HARDWARE 45 5

 DGTY23 4.55 HARDWARE 67 2

 The following SAS program is submitted:

 libname company 'SAS-data-library';

 data hware inter soft;

 set company.prices (keep = producttype price);

 if price le 5.00;

 if producttype = 'HARDWARE' then output HWARE;

 else if producttype = 'NETWORK' then output INTER;

 else if producttype = 'SOFTWARE' then output SOFT;

 run;

 How many observations does the HWARE data set contain?

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

 Correct Answer : 2

 Exp: Following three observation satisfy condition if price le 5.

 B132S 2.34 HARDWARE 300 10

 R18KY2 1.29 SOFTWARE 25 5

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