일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- 김윤상
- sas base
- 김윤상 객경 정오표
- 강웅
- 에듀윌특별판
- 객관식 경영학
- 아비무쌍 #오존
- 금강마신
- 신입사원 채용
- 객경
- 노경찬
- 코레일
- 부산교통공사
- 산업인력공단 #산인공 #ncs #모듈형 #정오표
- 에듀윌 봉모
- 부교공
- 모듈형 #산인공 #산업인력공단 #ncs #예시문제 #해설
- 객관식 경영학 정오표
- 2024 부산교통공사 면접
- 천소소
- 아비무쌍
- 토르마무
- 부교공 면접
- 무협
- Today
- Total
나루다루
SAS BASE Q72. first/last 본문
QUESTION NO: 72
The SAS data set named WORK.SALARY contains 10 observations for each department, and is currently ordered by Department. The following SAS program is submitted:
data WORK.TOTAL;
set WORK.SALARY(keep=Department MonthlyWageRate);
by Department;
if First.Department=1 then Payroll=0;
Payroll+(MonthlyWageRate*12);
if Last.Department=1;
run;
Which statement is true?
A. The by statement in the DATA step causes a syntax error.
B. The statement Payroll+(MonthlyWageRate*12); in the data step causes a syntax error.
C. The values of the variable Payroll represent the monthly total for each department in the WORK.SALARY data set.
D. The values of the variable Payroll represent a monthly total for all values of WAGERATE in the WORK.SALARY data set.
Answer: C
# 문제 풀이
- 반복되는 문제
'Study > SAS BASE' 카테고리의 다른 글
SAS BASE Q74. array (0) | 2018.11.02 |
---|---|
SAS BASE Q73. truncover (0) | 2018.11.02 |
SAS BASE Q71. firstobs & obs (0) | 2018.11.02 |
SAS BASE Q70. find (0) | 2018.11.02 |
SAS BASE Q69. first/last (0) | 2018.11.02 |