Premium

Base SAS Certified Associate: Programming Fundamentals Using SAS Questions and Answers (Dumps and Practice Questions)



Question : The following code was modified to
generate the results further below:

proc format;
value agegrp
low-12 ='Pre-Teen'
13-high = 'Teen';
run;
proc means data=SASHELP.CLASS;
var Height;
class Sex Age;
format Age agegrp.;
run;
The following results were generated to display
only specific statistics and limit the decimals with the
modification: Which statement below was
modified or added to generate the results above:
 : The following code was modified to
1. var Height / nobs min max mean maxdec=1;
2. proc means data=SASHELP.CLASS maxdec=1 ;
3. Access Mostly Uused Products by 50000+ Subscribers
4. output nobs min max mean maxdec=1;


Correct Answer : Get Lastest Questions and Answer :

Explanation:




Question :

The following SAS program is submitted:

What types of variables are DayOfMonth, MonthOfYear, and Year?
 :
1. DayOfMonth, Year, and MonthOfYear are character.
2. DayOfMonth, Year, and MonthOfYear are numeric.
3. Access Mostly Uused Products by 50000+ Subscribers
4. DayOfMonth, Year, and MonthOfYear are date values.

Correct Answer : Get Lastest Questions and Answer :


Explanation:





Question :

The following SAS program is submitted:
data ONE TWO SASUSER.TWO
set SASUSER.ONE;
run;
Assuming that SASUSER.ONE exists, how many temporary and permanent SAS data sets are created?
 :
1. 2 temporary and 1 permanent SAS data sets are created
2. 3 temporary and 2 permanent SAS data sets are created
3. Access Mostly Uused Products by 50000+ Subscribers
4. there is an error and no new data sets are created

Correct Answer : Get Lastest Questions and Answer :

Explanation:


Related Questions


Question :

62. The following SAS program is submitted:

proc report data=survey nowd;
column age choice1;
(insert DEFINE statement here)
define choice1/display;
run;
Which one of the following DEFINE statements completes the program and displays values of the variable Age in ascending order?


 :
1. define age/sort;
2. define age/order;
3. Access Mostly Uused Products by 50000+ Subscribers
4. define age/order by age;


Question :

Which one of the following statements is true when SAS encounters a data error?


 :
1. The execution phase is stopped, and a system abend occurs.
2. A missing value is assigned to the appropriate variable, and execution continues.
3. Access Mostly Uused Products by 50000+ Subscribers
4. A missing value is assigned to the appropriate variable, and execution stops at that point.


Question :

The following SAS program is submitted:

data test;
input country $8. date mmddyy10.;
cards;
Germany 12/31/2000France 01/32/2001;
run;

Which one of the following is the value of the variable _ERROR_ when the variable _N_ has a value of 2?



 :
1. 0
2. 1
3. Access Mostly Uused Products by 50000+ Subscribers
4. false



Question : You have been given a data sets in row and column format as below, please find number of observations and variables in it?

EmployeeName,salary,dateofBirth
Rahul,100K,08071978
Vineet,NA,08091970
Venkat,200K,09091973
Sonal,150K,09081988


 : You have been given a data sets in row and column format as below, please find number of observations and variables in it?
1. 3 observations, 4 variables
2. 3 observations, 3 variables
3. Access Mostly Uused Products by 50000+ Subscribers
. Question does not have entire information.



Question :

A raw data record is listed below:
--------10-------20-------30
1999/10/25
The following SAS program is submitted:
data projectduration;
infile 'file-specification';
input date $ 1 - 10;

run;
Which one of the following statements completes the program above and computes the duration of the project in days as of today's
date?


 :
1. duration = today( ) - put(date,ddmmyy10.);
2. duration = today( ) - put(date,yymmdd10.);
3. Access Mostly Uused Products by 50000+ Subscribers
4. duration = today( ) - input(date,yymmdd10.);



Question :

The following SAS program is submitted:
data work.month;
date = put('13mar2000'd,ddmmyy10.);
run;
Which one of the following represents the type and length of the variable DATE in the output data set?

 :
1. numeric, 8 bytes
2. numeric, 10 bytes
3. Access Mostly Uused Products by 50000+ Subscribers
4. character, 10 bytes