EZ Study

Actuarial Biology Chemistry Economics Calculators Confucius Engineer
Physics
C.S.

SAS Programing Certification Exam
Practice Questions & Answer set-23

Practice Question 114

Which one of the following ODS statement options terminates output being written to an HTML file?
A. END     B. QUIT     C. STOP     D. CLOSE


Answer is D.

Practice Question 115

The following SAS program is submitted:

proc means data = sasuser.shoes;

where product in ('Sandal' , 'Slipper' , 'Boot');
run;
Which one of the following ODS statements completes the program and sends the report to an HTML file?
A. ods html = 'sales.html';
B. ods file = 'sales.html';
C. ods file html = 'sales.html';
D. ods html file = 'sales.html';


Answer is D.

Practice Question 116

The following SAS program is submitted:
proc format;
value score 1 - 50 = 'Fail'
Click to Get Those Highly Recommended SAS Programmers' Books
51 - 100 = 'Pass';
run;
proc report data = work.courses nowd;
column exam;
define exam / display format = score.;
run;
The variable EXAM has a value of 50.5.
How will the EXAM variable value be displayed in the REPORT procedure output?
A. Fail
B. Pass
C. 50.5
D. . (missing numeric value)


Answer is C.

Practice Question 117

The following SAS program is submitted:
options pageno = 1;
proc print data = sasuser.houses;
run;
proc means data = sasuser.shoes;
run;
The report created by the PRINT procedure step generates 5 pages of output.
What is the page number on the first page of the report generated by the MEANS procedure step?
A. 1     B. 2     C. 5     D. 6


Answer is D.

Practice Question 118

Which one of the following SAS system options prevents the page number from appearing on a report?
A. NONUM     B. NOPAGE     C. NONUMBER     D. NOPAGENUM


Answer is B.

Related links:

Continue to SAS Practice Exam Question Answer Set-24   SAS interview Questions Answers
Back to SAS Practice Exam Question Answer Set-22   SAS Tutorial   Statistics Tutorial