Premium

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



Question : When you have following HTML ods
ods html
path='/folders/myfolders/hadoopexam/' (url='http://hadoopexam.com/sas/')
body='hesample103.html'
contents='toc103.html'
frame='frame103.html';
What is the reason for using URL option here?

 : When you have following HTML ods
1. It will directly upload the files on HadoopExam.com if connection is open with the server.

2. It will have relative URL created in the output, so these generated reports can be uploaded on the server.

3. Access Mostly Uused Products by 50000+ Subscribers

4. It can only be uploaded only one serer where website is hosted.


Correct Answer : Get Lastest Questions and Answer :
Explanation: Using the URL option will help you to create the relative URL. Hence, this files can directly be uploaded on the server as a
source file.




Question : Which of the following option will help you to create PDF output as below.

 : Which of the following option will help you to create PDF output as below.
1. style=Sapphire

2. bookmarklist=Sapphire

3. Access Mostly Uused Products by 50000+ Subscribers

4. color=Sapphire


Correct Answer : Get Lastest Questions and Answer :
Explanation: Whenever you want to change the output color or appearance of the PDF and HTML file you can use STYLE= option.




Question : You are using the below code to generate report in HTML format
ods html
path='/folders/myfolders/hadoopexam/' (url='http://hadoopexam.com/sas/')
body='hesample103.html'
contents='toc103.html'
frame='frame103.html';
What is the use of providing PATH option?

 : You are using the below code to generate report in HTML format
1. It will have URL appended with the PATH values and relative link will be created in all html files.

2. This is the path of the Server location where the website is hosted and file needs to be manually uploaded on that server.

3. Access Mostly Uused Products by 50000+ Subscribers

4. It is the location where all the logs of the SAS program will be stored.


Correct Answer : Get Lastest Questions and Answer :
Explanation: Whenever you run a SAS program to generate HTML output and you want that these files needs to be stored in a particular
location on that machine where the SAS program is running you can use PATH= option. Also, it will help you to not repeat the same values for contents
and frame option.


Related Questions


Question : You want to write a loop where as soon as variable is read needs to be written in output which of the following program snippet is correct?

 : You want to write a loop where as soon as variable is read needs to be written in output which of the following program snippet is correct?
1. Do counter=1 to 10;
Input hecoursefee : comman9. @;
Output;
End; run;


2. Do counter=1 to 10;
Input hecoursefee : comman9. @;
End; Output;
run;



3. Access Mostly Uused Products by 50000+ Subscribers
Input hecoursefee : comman9. @;
Output;
End; run; Output;



4. Do counter=1 to 10;
Input hecoursefee : comman9. @;
End; run;



Question : You have below raw data file which contains cours_name location fee and then location and corresponding fee upto times in each record.
Which of the following program can read this file and create 20 observation is SAS data set. Also each observation has course_name, location and fee as
show below.

A.
filename course72 '/folders/myfolders/hedata/course72.txt';
data data72;
infile course72;
input course_name $ @;
input location $ Fee @;
output;
input location $ Fee @;
output;
input location $ Fee @;
output;
input location $ Fee @;
output;
run;

B.
filename course72 '/folders/myfolders/hedata/course72.txt';
data data72;
infile course72;
input course_name $ @;
output;
run;

C.
filename course72 '/folders/myfolders/hedata/course72.txt';
do sequence=1 to 3;
infile course72;
input course_name $ @;
input location $ Fee @;
output;
input location $ Fee @;
output;
input location $ Fee @;
output;
input location $ Fee @;
output;
end;
run;

D.
filename course72 '/folders/myfolders/hedata/course72.txt';
data data72;
infile course72;
input course_name $ @@;
output;
run;

 : You have below raw data file which contains cours_name location fee and then location and corresponding fee upto  times in each record.
1. A



2. B


3. Access Mostly Uused Products by 50000+ Subscribers


4. D


Question : When you read data sequentially which of the following file will create problem ?


 : When you read data sequentially which of the following file will create problem ?
1. A
2. B
3. Access Mostly Uused Products by 50000+ Subscribers
4. D


Question : You are planning to have statement which can repetitively run when he_fee< , select correct statement from below

 : You are planning to have statement which can repetitively run when he_fee< , select correct statement from below
1. Do he_fee <9999;

2. Do he_fee lt 9999;

3. Access Mostly Uused Products by 50000+ Subscribers

4. Do while he_fee<9999;



Question : Which of the following is correct example of summation

 : Which of the following is correct example of summation
1. HadoopExam=1+1;

2. HadoopExam+1;

3. Access Mostly Uused Products by 50000+ Subscribers

4. HadoopExam,+1



Question : You have been given below input and output sas data, which of the given program perfectly generate this ouput

A.
filename course73 '/folders/myfolders/hedata/course73.txt';

data data73;
infile course73 missover;
input course_name $ location $ Fee @;
sequence=0;
do while (Fee ne .);
sequence+1;
output;
input location $ Fee @;
end;
run;

B.
filename course73 '/folders/myfolders/hedata/course73.txt';

data data73;
infile course73 missover;
input course_name $ location $ Fee @;

do while (Fee ne .);
output;
input location $ Fee @;
end;
run;

C.
filename course73 '/folders/myfolders/hedata/course73.txt';

data data73;
infile course73 missover;
input course_name $ @;
do sequnce=1 to 4;
input location $ Fee @;
output;
end;
run;

D.
filename course72 '/folders/myfolders/hedata/course72.txt';

data data72;
infile course72;
input course_name $ @;
do sequnce=1 to 4;
input location $ Fee @;
output;
end;
run;


 : You have been given below input and output sas data, which of the given program perfectly generate this ouput
1. A


2. B


3. Access Mostly Uused Products by 50000+ Subscribers


4. D