Premium

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



Question : You have written below statements for generating HTML output
ods html body='/folders/myfolders/hadoopexam/hesample102.html'
contents='/folders/myfolders/hadoopexam/contents.html'
frame='/folders/myfolders/hadoopexam/frame102.html';
Once successfully executed, than what is the expected in the contents.html file

 : You have written below statements for generating HTML output
1. It will have all the contents from the respective PROC step

2. It will have three separate reports generated.

3. Access Mostly Uused Products by 50000+ Subscribers

4. It will have links which points to the contents in the frame102.html file


Correct Answer : Get Lastest Questions and Answer :
Explanation: HTML reports can be generated in the framed output. Hence, we need to provide three html files link in this case. What exactly
would be the contents of the file it can be defined using option body=, similarly which file will have all the links can be defined using contents=
option.




Question : You have written below statements for generating HTML output
ods html body='/folders/myfolders/hadoopexam/hesample102.html'
contents='/folders/myfolders/hadoopexam/contents.html'
frame='/folders/myfolders/hadoopexam/frame102.html';
What contents.html file can have?

 : You have written below statements for generating HTML output
1. Heading for all the outputs generated from the PROC steps.

2. Heading for all the outputs generated from the DATA steps.

3. Access Mostly Uused Products by 50000+ Subscribers

4. Each HTML files till now have created using SAS program


Correct Answer : Get Lastest Questions and Answer :
Explanation: You can use ODS HTML to generate the HTML output. However, it is possible in a single program you are generating multiple
reports. Hence, to create a framed output you will be using these three options together body=, contents=, and frame= . Where contents= will have links
to all the generated report by your program. As you know, reports will be generated using PROC steps only, hence all the PROC steps which are creating
the output will have links in the html file generated by contents= option.




Question : You have written below statements for generating HTML output
ods html body='/folders/myfolders/hadoopexam/hesample102.html'
contents='/folders/myfolders/hadoopexam/contents.html'
frame='/folders/myfolders/hadoopexam/frame102.html';

What would be there in frame102.html file?

 : You have written below statements for generating HTML output
1. It will have contents from contents.html file

2. It will have contents from hesample102.html file

3. Access Mostly Uused Products by 50000+ Subscribers

4. It does not have anything it, it is just a frame around the output.


Correct Answer : Get Lastest Questions and Answer :
Explanation: Frames file will contain the output from both the files. Hesample102html and contents.html file, and both the file will be
integrated in fram102.html file.


Related Questions


Question : You have bene given below dataset


Which of the following code read LOCATION and Course_duraction correctly?

A. Input
#2 location $ duration ;

B. Input
@2 location $ duration ;

C. Input
#1 course_name $ course_date mmddyy8.
#2 location $ duration ;

D. Input
#2 location $ duration ;
#1 course_name $ course_date mmddyy8.

  : You have bene given below dataset
1. A,B,C
2. A,C,D
3. Access Mostly Uused Products by 50000+ Subscribers
4. B,C,D
Correct Answer : Exp : Question is asking to read data for both location and course_duration which always appears in nd line. So we can use line
position control for that. In option @2 is used which is not correct line control syntax we can rule it out. Now remaining all three are correct.


Question : You have been given below dataset


Which of the following program can read data correctly?

  : You have bene given below dataset
1. input
course_id $ /
course_name $ training_date mmddyy8. /
location $ duration /
Fee INSTITUTE $;


2. input
# 1 course_id $
#4 course_name $ training_date mmddyy8. /
location $ duration /
Fee INSTITUTE $;


3. Access Mostly Uused Products by 50000+ Subscribers
# 4 course_id $ /
#1 course_name $ training_date mmddyy8. /
location $ duration /
Fee INSTITUTE $;


4. input
# 4 course_id $
#1 course_name $ training_date mmddyy8. /
location $ duration /
Fee INSTITUTE $;



Question : Which of the following read correctly course_name, corse_date, location, duration , course_fee and institute in this order


 : Which of the following read correctly course_name, corse_date, location, duration , course_fee and institute in this order
1. input course_name $ training_date mmddyy8. /
location $ duration /
Fee INSTITUTE $;


2. input
#1 course_name $ training_date mmddyy8. /
#2 location $ duration /
#3 Fee INSTITUTE $;


3. Access Mostly Uused Products by 50000+ Subscribers
location $ duration /;
Fee INSTITUTE $;


4. input
@1course_name $ training_date mmddyy8. /
@2 location $ duration /
@3 Fee INSTITUTE $;




Question : You need to write a do loop which counts upto but in each iteration step should be incremented by value .

 : You need to write a do loop which counts upto  but in each iteration step should be incremented by value .
1. Do hecounter=1 to 100 by 10;

2. Do hecounter=1 to 100 by 10++;

3. Access Mostly Uused Products by 50000+ Subscribers

4. Do hecounter+10=1 to 100 ;



Question : You have been given below file which has multiple observations in single record


You want to produce result such that
Course_name -> course_date course_fee

So that you decided to use @@ double trailing sign, which of the following statement is true for that?

A. You will have to read multiple input statement for single raw record across multiple iteration of the data steps than you will use it.
B. You should put it at the end of input statement
C. You should put it at the beginning of input statement
D. Hold on the line will be released if pointer moves past of the record

 : You have been given below file which has multiple observations in single record
1. A,B,C
2. B,C,D
3. Access Mostly Uused Products by 50000+ Subscribers
4. A,B,D


Question : You have been given below dataset


And you will be using single @ sign to read this data, which statement is true regarding that?

 : You have been given below dataset
1. Record which is hold by trailing @ sign will be released once end of the record is reached.

2. Record which is hold by trailing @ sign will be released once data step next iteration begins.

3. Access Mostly Uused Products by 50000+ Subscribers

4. It will never release hold on the record automatically, you have to explicitly mark using @@ sign.



Question : You have been given below dataset


Each raw record has 3 observation, which of the following program can read it perfectly?

 : You have been given below dataset
1. input course_name $ course_date mmddyy8. course_fee @@;

2. input course_name $ course_date mmddyy8. course_fee @;

3. Access Mostly Uused Products by 50000+ Subscribers

4. @ input course_name $ course_date mmddyy8. course_fee @;