Quiz:
Creating List Reports
Select the best answer for each question and click Score My Quiz.
-
Which PROC PRINT step below creates
the following output?
Record |
On |
Changed |
Flight |
1 |
232 |
18 |
219 |
2 |
160 |
4 |
219 |
3 |
163 |
14 |
219 |
4 |
241 |
9 |
219 |
5 |
183 |
11 |
219 |
-
Which of the following PROC PRINT steps correctly specifies and prints labels?
-
Which of the following statements
selects from a data set only those observations where the value for
the variable
Style is RANCH, SPLIT,
or TWOSTORY?
-
If you want to sort your data
and create a temporary data set named Calculations
to store the sorted data, which of the following steps should you
submit?
-
Which options are used to create the following PROC PRINT listing output?
13:27 Monday, March 22, 1999 |
Patient |
Arterial |
Heart |
Cardiac |
Urinary |
203 |
88 |
95 |
66 |
110 |
54 |
83 |
183 |
95 |
0 |
664 |
72 |
111 |
332 |
12 |
210 |
74 |
97 |
369 |
0 |
101 |
80 |
130 |
291 |
0 |
|
-
Which of the following statements
can you use in a PROC PRINT step to create this output?
Month |
Instructors |
AerClass |
WalkJogRun |
Swim |
01 |
1 |
37 |
91 |
83 |
02 |
2 |
41 |
102 |
27 |
03 |
1 |
52 |
98 |
19 |
04 |
1 |
61 |
118 |
22 |
05 |
3 |
49 |
88 |
29 |
|
8 |
240 |
497 |
180 |
-
What happens if you submit the
following program?
proc sort data=clinic.diabetes;
run;
proc print data=clinic.diabetes;
var age height weight pulse;
where sex='F'; run;
-
If you submit the following program,
which output does it create?
proc sort data=finance.loans out=work.loans;
by months amount;
run;
proc print data=work.loans noobs;
var months;
sum amount payment;
where months<360; run;
|
a. |
Months |
Amount |
Payment |
12 |
$3,500 |
$308.52 |
24 |
$8,700 |
$403.47 |
36 |
$10,000 |
$325.02 |
48 |
$5,000 |
$128.02 |
|
$27,200 |
$1,165.03 |
|
|
b. |
Months |
Amount |
Payment |
12 |
$3,500 |
$308.52 |
24 |
$8,700 |
$403.47 |
36 |
$10,000 |
$325.02 |
48 |
$5,000 |
$128.02 |
|
27,200 |
1,165.03 |
|
|
c. |
Months |
Amount |
Payment |
12 |
$3,500 |
$308.52 |
48 |
$5,000 |
$128.02 |
24 |
$8,700 |
$403.47 |
36 |
$10,000 |
$325.02 |
|
$27,200 |
$1,165.03 |
|
|
d. |
Months |
Amount |
Payment |
12 |
$3,500 |
$308.52 |
24 |
$8,700 |
$403.47 |
36 |
$10,000 |
$325.02 |
48 |
$5,000 |
$128.02 |
|
|
$1,165.03 |
|
-
Choose the statement below that
selects rows where 1) the amount is less than or equal to $5000, and
2) the account is 101-1092 or the rate equals 0.095.
-
What does PROC PRINT display
by default?
|