SAS Programming Certification Test Exam | Questions & 100% Correct Answers (Verified) | Latest Update | Grade A+
13.2 What is an advantage of storing dates and times as SAS numeric date and time values? a. They can easily be edited. b. They can easily be read and understood. c. They can be used in text strings like other character values. d. They can be used in calculations like other numeric values. : Correct answer: d In addition to tracking time intervals, SAS date and time values can be used in calculations like other numeric values 2.2 How many program steps are executed when the program below is processed? data s; set ; run; proc sort data=s; by name; run; proc print data=s; 2 | P a g e run; A. 3 B. 4 C. 5 D. 6 : Correct answer: a When it encounters a DATA, PROC, or RUN statement, SAS stops reading statements and executes the previous step in the program. This program contains one DATA step and two PROC steps, for a total of three program step 2.5 With the system option VALIDVARNAME=ANY, which of the following variable names is valid? a. 4BirthDate b. $Cost c. _Items_ d. Tax-Rate e. All of the above : Correct answer: e If you use VALIDVARNAME=ANY, the name can begin with or contain any characters, including blanks, national characters, special characters, and multi-byte characters. The name can be up to 32 bytes long. The name must contain at least one character, and the variable name can contain mixed-case letter
Document information
- Uploaded on
- April 16, 2024
- Number of pages
- 62
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers