Classic
Quiz Sciences

Quiz Reading sas data sets over view chapter 12

68 played - 12 yrs ago

Chapter 12 from the book

 

Hard QUIZ 9 QUESTIONS
hard
1

Data work. cardiac(drop =age group); set clinic. fitness(keep=age weight group); if group=2 and age>40; run ; if you run this, what's in work. cardiac?

2

Which snippet reads the dataset orders correctly and creates the fastorder dataset?

3

There are 500 obs in the dataset USA. what's the result of submitting this code? data work. getobs5(drop=obsnum); obsnum=5; set company. usa(keep=manager payroll) point=obsnum; stop; run;

4

Does this code work? data work. getobs5(drop=obsnum); obsnum=5; set company. usa(keep=manager payroll) point=obsnum; output; stop; run;

5

Data work. getobs5(drop=obsnum); obsnum=5; set company. usa(keep=manager payroll) point=obsnum; output; run; what's missing to prevent a loop?

6

How many records in this set? data work. getobs5(drop=obsnum); obsnum=5; set company. usa(keep=manager payroll) point=obsnum; output; stop; run;

7

What happens when this code runs? data work. addtoend; set clinic. stress2 end=last; if last; run;

8

When the PDV is created, at the compilation stage, variables are created in the dataset and the observations are what?

9

The data step executes