Prepare for the Actual SAS Institute Systems A00-231 Exam Practice Materials Collection [Q19-Q39]

Share

Prepare for the Actual SAS Institute Systems A00-231 Exam Practice Materials Collection

SAS Institute Systems Certified Official Practice Test A00-231 - Jan-2024


To pass the SASInstitute A00-231 certification exam, candidates must demonstrate their ability to use SAS programming language to manipulate, analyze, and report on data. A00-231 exam covers a range of topics including data manipulation, data set creation, data analysis, and report writing. Candidates must also demonstrate their ability to use SAS macros, functions, and other advanced programming techniques. SAS 9.4 Base Programming - Performance-based exam certification is ideal for individuals who work with SAS software on a regular basis and want to increase their knowledge and skills in SAS programming. Passing this certification exam can help individuals advance their career and increase their earning potential.

 

NEW QUESTION # 19
The following SAS program is submitted:

Which statement is true about the output data set?

  • A. The type of the variable CharEmpid is character.
  • B. The type of the variable CharEmpid is numeric.
  • C. The type of the variable CharEmpid is unknown.
  • D. The program fails to execute due to errors.

Answer: D


NEW QUESTION # 20
The following SAS DATA step is submitted:
data work.accounting;
set work.department;
length jobcode $ 12;
run;
The WORK.DEPARTMENT SAS data set contains a character variable named JOBCODE with a length of 5.
Which one of the following is the length of the variable JOBCODE in the output data set?

  • A. 0
  • B. 1
  • C. 2
  • D. The length can not be determined as the program fails to execute due to errors.

Answer: B


NEW QUESTION # 21
Which one of the following SAS DATA steps saves the temporary data set named MYDATA as a permanent data set?

  • A. libname sasdata 'SAS-data-library';data sasdata.mydata;keep mydata;run;
  • B. libname sasdata 'SAS-data-library';data sasdata.mydata;save mydata;run;
  • C. libname sasdata 'SAS-data-library';data sasdata.mydata;set mydata;run;
  • D. libname sasdata 'SAS-data-library';data sasdata.mydata;copy mydata;run;

Answer: C


NEW QUESTION # 22
The following SAS program is submitted:
proc contents data = sashelp.class varnum; quit;
What does the VARNUM option print?

  • A. the total number of variables
  • B. a list of the variables in the order they were created
  • C. a list of variable names
  • D. a list of the variables in alphabetic order

Answer: B


NEW QUESTION # 23
The following SAS program is submitted once:

Which procedure output will appear in test.html?

  • A. Only the FREQ procedure output
  • B. Both the PRINT procedure and FREQ procedure output
  • C. Only the PRINT procedure output
  • D. No procedure output due to syntax errors

Answer: D


NEW QUESTION # 24
Which of the following choices is an unacceptable ODS destination for producing output that can be viewed in Microsoft Excel?

  • A. EXCELXP
  • B. WINXP
  • C. MSOFFICE2K
  • D. CSVALL

Answer: B


NEW QUESTION # 25
The following SAS program is submitted:
data work.totalsales;
set work.monthlysales(keep = year product sales);
retain monthsales {12} ;
array monthsales {12} ;
do i = 1 to 12;
monthsales{i} = sales;
end;
cnt + 1;
monthsales{cnt} = sales;
run;
The data set named WORK.MONTHLYSALES has one observation per month for each of five years for a total of 60 observations.
Which one of the following is the result of the above program?

  • A. The program runs with warnings and creates the WORK.TOTALSALES data set with 60 observations.
  • B. The program fails execution due to syntax errors.
  • C. The program fails execution due to data errors.
  • D. The program runs without errors or warnings and creates the WORK.TOTALSALES data set with 60 observations

Answer: B


NEW QUESTION # 26
Given the SAS data set WORK.ORDERS:

The variable Order_id is numeric; Customer is character; and Ship_date is a numeric containing a SAS date value.
A programmer would like to create a new variable called Note, that shows a character value with the Order_id and Ship_date shown with a date9. format. For the first observation, Note would look like the following: "Order 9341 shipped on 02FEB2009".
Which of the following statement will correctly create the value and assign it to Note?

  • A. note=catx('','Order',order_id,'shipped on',transwrd(ship_date,date9.));
  • B. note=catx('','Order',order_id,'shipped on',char(ship_date,date9.));
  • C. note=catx('','Order',order_id,'shipped on',input(ship_date,date9.));
  • D. note=catx('','Order',order_id,'shipped on',put(ship_date,date9.));

Answer: D


NEW QUESTION # 27
The SAS data set SASUSER.HOUSES contains a variable PRICE which has been assigned a permanent label of "Asking Price".
Which SAS program temporarily replaces the label "Asking Price" with the label "Sale Price" in the output?

  • A. proc print data = sasuser.houses; label price = "Sale Price"; run;
  • B. proc print data = sasuser.houses label; label price = "Sale Price"; run;
  • C. proc print data = sasuser.houses label; label price "Sale Price"; run;
  • D. proc print data = sasuser.houses; price = "Sale Price"; run;

Answer: B


NEW QUESTION # 28
The SASDATA.BANKS data set has five observations when the following SAS program is submitted:
libname sasdata 'SAS-data-library';
data allobs;
set sasdata.banks;
capital=0;
do year = 2000 to 2020 by 5;
capital + ((capital+2000) * rate);
output;
end;
run;
How many observations will the ALLOBS data set contain?

  • A. 0
  • B. 1
  • C. 2
  • D. 3

Answer: C


NEW QUESTION # 29
This questions will ask you to provide two missing variable names.
The following SAS program is submitted:
data WORK.TOTAL;
set WORK.SALARY;
by Department Gender;
if First. <insert variable 1 here> then Payroll=0
Payroll+Wagerate;
if Last.<insert variable 2 here>;
run;
The SAS data set WORK.SALARY is currently ordered by Gender within Department.
Which inserted code will accumulate subtotals for each Gender within Department?

  • A. variable 1: Department variable 2: Department
  • B. variable 1: Gender variable 2: Department
  • C. variable 1: Gender variable 2: Gender
  • D. variable 1: Department variable 2: Gender

Answer: C


NEW QUESTION # 30
The SAS data set named WORK.TEST is listed below:
capacity airplanetype staff
150 Large 10
Which one of the following SAS programs created this data set?

  • A. data work.test;capacity = 150;if 100 le capacity le 200 thenairplanetype = 'Large' and staff = 10;else airplanetype = 'Small' and staff = 5;run;
  • B. data work.test;capacity = 150;if 100 le capacity le 200 thendo;airplanetype = 'Large';staff = 10;end;elsedo;airplanetype = 'Small';staff = 5;end;run;
  • C. data work.test;capacity = 150;if 100 le capacity le 200 then;airplanetype = 'Small';staff = 5;else;airplanetype = 'Large';staff = 10;run;
  • D. data work.test;capacity = 150;if 100 le capacity le 200 thendo;airplanetype = 'Large';staff = 10;elsedo;airplanetype = 'Small';staff = 5;end;run;

Answer: B


NEW QUESTION # 31
By default, which variables and data values are used to calculate statistics in the MEANS procedure?

  • A. all non-missing numeric variable values
  • B. all non-missing numeric variable values and numbers stored as character variables
  • C. all missing and non-missing numeric variable values
  • D. all missing and non-missing numeric variable values and numbers stored as character variables.

Answer: A


NEW QUESTION # 32
The following SAS program is submitted:
proc sort data = sasuser.houses out = houses;
by style;
run;
proc print data = houses;
run;
Click on the Exhibit button to view the report produced.
style bedrooms baths price
CONDO 2 1.5 80050
3 2.5 79350
4 2.5 127150
2 2.0 110700
RANCH 2 1.0 64000
3 3.0 86650
3 1.0 89100
1 1.0 34550
SPLIT 1 1.0 65850
4 3.0 94450
3 1.5 73650
TWOSTORY 4 3.0 107250
2 1.0 55850
2 1.0 69250
4 2.5 102950
Which of the following SAS statement(s) create(s) the report?

  • A. id style;
  • B. id style;by style;var style bedrooms baths price;
  • C. id style;by style;var bedrooms baths price;
  • D. id style;var style bedrooms baths price;

Answer: C


NEW QUESTION # 33
A user-defined format has been created using the FORMAT procedure.
How is it stored?

  • A. in a SAS catalog
  • B. in a SAS data set in the WORK library
  • C. in a SAS dataset in a permanent SAS data library
  • D. in a memory resident lookup table

Answer: A


NEW QUESTION # 34
The SAS data set WORK.AWARDS is listed below:
fname points
Amy 2
Amy 1
Gerard 3
Wang 3
Wang 1
Wang 2
The following SAS program is submitted:
proc sort data = work.awards;
by descending fname points;
run;
Which one of the following represents how the observations are sorted?

  • A. Wang 3Wang 1Wang 2Gerard 3Amy 2Amy 1
  • B. Wang 3Wang 2Wang 1Gerard 3Amy 2Amy 1
  • C. Wang 1Wang 2Wang 3Gerard 3Amy 1Amy 2
  • D. Wang 3Gerard 3Wang 2Amy 2Wang 1Amy 1

Answer: C


NEW QUESTION # 35
The following SAS DATA step is submitted:
libname temp 'SAS-data-library';
data temp.report;
set sasuser.houses;
newvar = price * 1.04;
run;
Which one of the following statements is true regarding the program above?

  • A. The program is reading from a permanent data set and writing to a temporary data set.
  • B. The program is reading from a temporary data set and writing to a permanent data set.
  • C. The program is reading from a permanent data set and writing to a permanent data set.
  • D. The program is reading from a temporary data set and writing to a temporary data set.

Answer: C


NEW QUESTION # 36
The following program is submitted:
proc contents data=_all_;
run;
Which statement best describes the output from the submitted program?

  • A. The output displays only the contents of the SAS data sets that are contained in the WORK library.
  • B. The output contains only a list of the SAS data sets that are contained in the WORK library.
  • C. The output contains a list of the SAS data sets that are contained in the WORK library and displays the contents of those data sets.
  • D. The output displays only the variables in the SAS data sets that are contained in the WORK library.

Answer: C


NEW QUESTION # 37
The following SAS program is submitted:
data WORK.DATE_INFO;
Day="01" ;
Yr=1960 ;
X=mdy(Day,01,Yr) ;
run;
What is the value of the variable X?

  • A. the step will not compile because of the character argument in the mdy function.
  • B. the numeric value 0
  • C. a missing value due to syntax errors
  • D. the character value "01011960"

Answer: B


NEW QUESTION # 38
Given the SAS data set WORK.PRODUCTS:

How many variables does the WORK.REVENUE data set contain?

  • A. 0
  • B. 1
  • C. 2
  • D. 3

Answer: A


NEW QUESTION # 39
......


The SAS Institute provides various study materials and resources to help candidates prepare for the exam. These resources include study guides, practice exams, and training courses. Candidates can also take advantage of the SAS Institute community forums, where they can interact with other candidates and SAS experts to clarify their doubts and get tips on how to prepare for the exam.

 

Ace SASInstitute A00-231 Certification with Actual Questions Jan 06, 2024 Updated: https://www.itcertmagic.com/SASInstitute/real-A00-231-exam-prep-dumps.html

2024 The Most Effective A00-231 with 265 Questions Answers: https://drive.google.com/open?id=1Hq5vHS-4zoEntF206dkftp8buHt9MAio