The Global SAS certification exam is administered by SAS and Pearson VUE together. There are 60-65 multiple choice questions in Base SAS certification exam and candidate must achieve 70% score to pass multiple choice questions in 110 minutes.
The Global SAS certification exam is administered by SAS and Pearson VUE together. There are 60-65 multiple choice questions in Base SAS certification exam and candidate must achieve 70% score to pass multiple choice questions in 110 minutes.Q13. A raw data record is shown below:
07Jan2002
A. date9.
B. dmonyy9.
C. ddmmmyy9.
D. ddmmmyyyy9.
Answer of the question is highlighted.
Explanation:
Date9. is the informat used to read this non-standard data (07Jan2002) into a number 15347 (that is number of days past from the Base date 01Jan1960).
Q14. The following SAS program is submitted:
data work.new;
mon = 3;
day = 23;
year = 2000;
date = mdy(mon,day,year); run;
Which one of the following is the value of the DATE variable?
A. a character string with the value ‘23mar2000’
B. a character string with the value ‘03/23/2000’
C. a numeric value of 14692, which represents the SAS date value for March 23, 2000
D. a numeric value of 3232000, which represents the SAS date value for March 23, 2000
Answer of the question is highlighted.
Explanation:
Here mdy function will concatenate the month, day and year to make a complete date and store it as a number 14692 (that is number of days past from the Base date 01Jan1960).
Q15. The following SAS program is submitted:
data work.month; d
ate = input(’13mar2000’,date9.);
run;
Which one of the following represents the type and length of the variable DATE in the output data set?
A. numeric, 8 bytes
B. numeric, 9 bytes
C. character, 8 bytes
D. character, 9 bytes
Answer of the question is highlighted.
Explanation:
Here, input function will convert the character value to numeric variable and a numeric variable always has a length of 8 bytes.
Enjoy reading our other articles and stay tuned with ...
Kindly do provide your feedback in the 'Comments' Section and share as much as possible.
2CC7991F
ReplyDeleteKayapınar
Darıca
Gürcistan
Karasu
Tepebaşı
Ömerli
Gölhisar
Kızılay
Gölcük