Multiple choice technology programming languages

Which program creates the output data set Work.Temp2? SAS Data Set Work.Temp Obs Month1 Month2 Month3 1 10 20 30 2 11 22 33 3 55 66 77 4 100 200 300 SAS Data Set Work.Temp2 Obs Month Quarter1 Quarter2 Quarter3 Quarter4 1 Month1 10 11 55 100 2 Month2 20 22 66 200 3 Month3 30 33 77 300

  1. proc transpose data=work.temp out=work.temp2 prefix=Quarter; run;

  2. proc transpose data=work.temp out=work.temp2 name=Month prefix=Quarter; run;

  3. proc transpose data=work.temp out=work.temp2 prefix=Month name=Quarter; run

  4. proc transpose data=work.temp out=work.temp2 prefix=Month index=Quarter; run;

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The PROC TRANSPOSE with name=Month creates a variable 'Month' containing the original variable names (Month1, Month2, Month3), and prefix=Quarter names the transposed columns Quarter1, Quarter2, etc. Option B is correct. Options A, C, and D have incorrect parameter combinations that wouldn't produce the shown output structure.