Premium

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



Question :

Which statement is true concerning the SAS automatic variable _ERROR_?
 :
1. It cannot be used in an if/then condition.
2. It cannot be used in an assignment statement.
3. Access Mostly Uused Products by 50000+ Subscribers
4. It is automatically dropped.


Correct Answer : Get Lastest Questions and Answer :

Explanation:





Question :
Given the SAS data set WORK.TEMPS:
 :
1. a
2. b
3. Access Mostly Uused Products by 50000+ Subscribers
4. d


Correct Answer : Get Lastest Questions and Answer :

Explanation:





Question :
The following SAS program is submitted:
data WORK.ACCOUNTING;
set WORK.DEPARTMENT;
label Jobcode='Job Description';
run;
Which statement is true about the output dataset?
 :
1. The label of the variable Jobcode is Job (only the first word).
2. The label of the variable Jobcode is Job Desc (only the first 8 characters).
3. Access Mostly Uused Products by 50000+ Subscribers
4. The program fails to execute due to errors. Labels must be defined in a PROC step.


Correct Answer : Get Lastest Questions and Answer :

Explanation:


Related Questions


Question :

The following SAS program is submitted:
data work.month;
date = input('13mar2000',date9.);
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, 9 bytes
3. Access Mostly Uused Products by 50000+ Subscribers
4. character, 9 bytes


Question :

The following SAS program is submitted:
data work.products;
Product_Number = 5461;
Item = '1001';
Item_Reference = Item'/'Product_Number;
run;
Which one of the following is the value of the variable ITEM_REFERENCE in the output data set?
 :
1. 1001/5461
2. 1001/ 5461
3. Access Mostly Uused Products by 50000+ Subscribers
4. The value cannot be determined as the program fails to execute due to errors.


Question : The following SAS program is submitted:
data work.retail;
cost = '20000';
total = .10 * cost;
run;
Which one of the following is the value of the variable TOTAL in the output data set?

 : The following SAS program is submitted:
1. 2000
2. '2000'
1. . (missing numeric value)
2. ' ' (missing character value)


Question : Which one of the following SAS statements correctly computes the average of four numerical values?

 : Which one of the following SAS statements correctly computes the average of four numerical values?
1. average = mean(num1 - num4);
2. average = mean(of num1 - num4);
3. Access Mostly Uused Products by 50000+ Subscribers
4. average = mean(num1 num2 num3 num4);


Question :

The following SAS program is submitted:
data work.test;
Author = 'Agatha Christie';
First = substr(scan(author,1,' ,'),1,1);
run;
Which one of the following is the length of the variable FIRST in the output data set?

 :
1. 1
2. 6
3. Access Mostly Uused Products by 50000+ Subscribers
4. 200


Question :

The following SAS program is submitted:
data work.test;
Author = 'Christie, Agatha';
First = substr(scan(author,2,' ,'),1,1);
run;
Which one of the following is the value of the variable FIRST in the output data set?


 :
1. A
2. C
3. Access Mostly Uused Products by 50000+ Subscribers
4. ' ' (missing character value)