카테고리 없음

QUESTION NO: 28

IT grow. 2019. 3. 10. 21:32
반응형

QUESTION NO: 28  

The contents of the raw data file PRODUCT are listed below: --------10-------20-------30 

24613 $25.31 

The following SAS program is submitted: data inventory; 

infile'product'; 

input idnum 5. @10 price; 

run; 

Which one of the following is the value of the PRICE variable? 

 

A. 25.31  

B. $25.31  

C. . (missing numeric value)  

D. No value is stored as the program fails to execute due to errors.  

Answer: A




Solution : 답은 A인데 , 문제상 오류가 있다 . 

그래서 여기서 알아 두어야 하는 것만 짚어본다면 , 

@10 이라는 것은 price변수에서 10번째 값부터 읽어온다는 것을 의미한다.

대신 여기서 price는 숫자여야 한다 .

반응형