Premium

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



Question :
Consider the data step:
Which of the following assignment statements for
variable group are functionally equivalent to the original
statement used in the above data step?
  :
1. if Age not in(15,16) then Group=1; else Group=2;
2. if (Age NE 16) or (Age NE 15) then Group=1; else Group=2;
3. Access Mostly Uused Products by 50000+ Subscribers
4. both A or C will work


Correct Answer : Get Lastest Questions and Answer :

Explanation:






Question :
The following SAS program is submitted:
data WORK.ACCOUNTING;
set WORK.DEPARTMENT;
length EmpId $6;
CharEmpid=EmpId;
run;
If data set WORK.DEPARTMENT has a numeric variable EmpId. Which statement is true about the
output dataset?

  :
1. The type of the variable CharEmpid is numeric.
2. The type of the variable CharEmpid is unknown.
3. Access Mostly Uused Products by 50000+ Subscribers
4. The program fails to execute due to errors.


Correct Answer : Get Lastest Questions and Answer :

Explanation:







Question :
The following SAS program is submitted:
data WORK.OUTDS;
do until(Prod GT 6);
Prod + 1;
end;
run;
What is the value of the variable Prod in the output data set?

  :
1. . (missing)
2. 6
3. Access Mostly Uused Products by 50000+ Subscribers
4. Undetermined, infinite loop.

Correct Answer : Get Lastest Questions and Answer :

Explanation:




Related Questions


Question :

Which statement specifies that records 1 through 10 are to be read from the raw data file customer.txt?

  :
1. infile 'customer.txt' 1-10;
2. input 'customer.txt' stop@10;
3. Access Mostly Uused Products by 50000+ Subscribers
4. input 'customer.txt' stop=10;



Question :
The following SAS program is submitted:

What value will SAS assign to Pos?

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


Question :

  :
1. a
2. b
3. Access Mostly Uused Products by 50000+ Subscribers
4. d


Question :The SAS data set WORK.ONE contains a numeric variable named Num ana character variable named
Char:
WORK.ONE
Num Char
------ ------
1 23
3 23
1 77
The following SAS program is submitted:
proc print data=WORK.ONE;
where Num='1';
run;
What is output?
  :The SAS data set WORK.ONE contains a numeric variable named Num ana character variable named
1. Num Char
--- ----
1 23
2. Num Char
--- ----
1 23
1 77
3. Access Mostly Uused Products by 50000+ Subscribers
Num Char
----
1 23
3 23
1 77
4. No output is generated


Question :The following output is created by the FREQUENCY procedure:
Which TABLES statement was used to completed the following program that produced the output?
proc freq data=sales;
(_insert_code_)
run;
  :The following output is created by the FREQUENCY procedure:
1. tables region product;
2. tables region,product
3. Access Mostly Uused Products by 50000+ Subscribers
4. tables region*product;



Question :Given the following data step:
After data step execution, what will data set WORK.GEO contain?

  :Given the following data step:
1. a
2. b
3. Access Mostly Uused Products by 50000+ Subscribers
4. d