Valid A00-215 Dumps shared by ExamDiscuss.com for Helping Passing A00-215 Exam! ExamDiscuss.com now offer the newest A00-215 exam dumps, the ExamDiscuss.com A00-215 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com A00-215 dumps with Test Engine here:
The sashelp. class data set has 19 observations. Given the frequency information about the Age, shown below: How many observations are written to output data set when the following code is submitted?
Correct Answer: B
The code creates two datasets, preteen and teen, based on the age variable from the sashelp.class dataset. The if statement checks each observation, and if the age is less than 13, the observation is written to the preteen dataset; otherwise, the observation is written to the teen dataset. From the provided frequency table, we can see that there are 7 observations with ages less than 13 (2 for age 11 and 5 for age 12), so the preteen dataset will have 7 observations. Since the sashelp.class dataset has a total of 19 observations, the remaining 12 observations (19 total - 7 preteen = 12 teen) will be written to the teen dataset. Thus, the answer is: B. preteen will have 7 observations and teen will have 12 observations. References: * SAS documentation on the DATA step and IF-THEN/ELSE logic, SAS Institute.