Test Online Free SAS Institute A00-232 Exam Questions and Answers

The questions for A00-232 were last updated On Apr.04 2023

Get A00-232 Full Access
 / 2

Question No : 1
Which of the clauses below correctly sorts rows by the values of the columns Price and SqFeet?

Answer:
Explanation:
The ORDER BY clause specifies how the rows are to be sorted. You follow the keywords ORDER BY by one or more column names or numbers, separated by commas.

Question No : 2
Which of the following correctly references the macro named Printdsn as shown here:

image083

Answer:
Explanation:
To call a macro that includes positional parameters, you precede the macro name with a percent sign. You list the values for the macro variables that are defined by the parameters in parentheses. List values in the same order in which the parameters are listed, and separate them with commas. Remember that a macro call is not a SAS language statement and does not require a semicolon.

Question No : 3
Which statement is false with respect to a set operation that uses the EXCEPT, UNION, or INTERSECT set operator without a keyword?

Answer:
Explanation:
In set operations that use the operators EXCEPT, INTERSECT, or UNION, and no keyword, columns are overlaid based on their position in the SELECT clause. It does not matter whether the overlaid columns have the same name. When columns are overlaid, the column name is taken from the first table that is specified in the SELECT clause.

Question No : 4
For the program below, select an iterative DO statement to process all elements in the Contrib array.

image139

Answer:
Explanation:
In the DO statement, you specify the index variable that represents the values of the array elements.
Then specify the start and stop positions of the array elements.

Question No : 5
Which of the following programs correctly associates more than one data value with one key?
A)



B)



C)



D)



Answer:
Explanation:
Answer a is correct because the code correctly associates two data values, City and Name, with one key, Code. The code also uses the three required methods correctly. Answer b defines two keys and one data value, while answer c defines two data and two keys. Answer d is invalid because it does not use the required methods properly.

Question No : 6
Which of the statements or clauses in the PROC SQL program below is written incorrectly?

image055

Answer:
Explanation:
The SELECT clause in the program is written incorrectly. Columns that are listed in the clause must be separated by commas, not just blanks.

Question No : 7
Which statement contains the incorrect syntax for a one-dimensional array?

Answer:
Explanation:
The items in an ARRAY statement must be specified in the following order: ARRAY array-name[number-of-array-elements]<$ length array-elements _TEMPORARY_ (initial-values)>;

Question No : 8
Which of the following is false?

Answer:
Explanation:
The SYMPUTX routine can be used in a DATA step. In the DATA step, the SYMPUTX routine performs automatic conversion on numeric values that you attempt to assign as values for macro variables, using the BEST12. format. However, you cannot use the SYMPUTX routine to create a macro variable during the execution of a PROC SQL query.

Question No : 9
Which program correctly searches a string for a substring and returns the position of a substring?
A)

image245

B)

image247

C)

image249

D)

image251

Answer:
Explanation:
Use the PRXMATCH function in a Perl regular expression to search a string for a substring and return the position of a substring.

Question No : 10
Which ARRAY statement correctly loads the following values into the array DataSurv?

image227

A)

image229

B)

image231

C)

image233

D)

image235

Answer:
Explanation:
In a two-dimensional array, elements are referenced using two numbers. The first number corresponds to the row and the second number corresponds to the column. The dimension values are separated with a comma. Initial values are loaded into a two-dimensional array by specifying the values one row at a time, left to right.

 / 2
  TOP 50 Exam Questions
Exam