SAS Certified Base Programmer 123 Questions (14)
A raw data file is listed below:
RANCH,1250,2,1,Sheppard Avenue,"$64,000" SPLIT,1190,1,1,Rand Street,"$65,850" CONDO,1400,2,1.5,Market Street,"80,050" TWOSTORY,1810,4,3,Garris Street,"$107,250" RANCH,1500,3,3,Kemble Avenue,"$86,650" SPLIT,1615,4,3,West Drive,"94,450" SPLIT,1305,3,1.5,Graham Avenue,"$73,650"
The following SAS program is submitted using the raw data file as input:
data work.condo_ranch; infile'file-specification' dsd; input style $ @; if style = 'CONDO' or style = 'RANCH'; input sqfeet bedrooms baths street $ price : dollar10.; run;
How many observations will the output data set contain?
A. 0
B. 3
C. 5
D. 7
Topics:
SAS Base Questions |
3 Comments »
B
how can the answer be B when all the observations are printed but with mising values.. like the previuos question the answer should be D. Can anyone tell me a proper answer?
Hi, I got the answer…you are right..