Q1. SIMULATION Scenario: This project will use data setcert.input04. At any time, you may save your program asprogram04incert\programs. Write a SAS program that will create the data setresults.output04. In this program, complete the following mathematical actions, in the following order: Round VAR1 and VAR2 to the nearest integer values. Multiply the rounded VAR1b y the rounded VAR2 and assign the new value to VAR3. Add VAR12 through VAR19 (8 variables) together, ignoring missing values. Assign the sum to VAR20. For observation 16, what is the value ofVAR20? Enter your numeric answer in the space below. Round your answer to the nearest whole number. Save your program asprogram04.sasincert\programs before continuing with the next project
A.3175
Correct Answer: A
Q2. The following SAS program is submitted: data work.test; type='SQL'; if type='SAS' then description='SAS Program'; else description='other'; length description 8; run; What occurs when the program is submitted? Select one:
A.The variable Description is created as an 11-byte character variable and is assigned the value 'SAS program' in the DATA step.
B. The variable Description is created as a 5-byte character variable and is assigned the value 'SAS P' in the DATA step.
C. The variable Description is created as an 8-byte character variable and is assigned the value 'SAS Prog' in the DATA step.
D. The variable Description is created as an 11-byte character variable and the DATA step fails due to errors.
Correct Answer: D
Q3. A PROC PRINT report was created with the following title: Asia Sports Vehicle Summary After the PROC PRINT report is run, a programmer would next like to produce a PROC FREQ report with the following title: Asia Sports Vehicle Summary Distribution by Make Which statement(s) would produce the new report titles? Select one:
A.title 'Distribution by Make';
B. title 'Asia Sports Vehicle Summary'; title 'Distribution by Make';
C. title 'Asia Sports Vehicle Summary'; title2 'Distribution by Make';
D. title 'Asia Sports Vehicle Summary'; subtitle 'Distribution by Make';
Correct Answer: C
$ 39
Reviews
There are no reviews yet.