Chapter 2 Worksheet

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

After Submitting a program, what should you always do first? A. Check Your Log B. Check Your Code C. Check Your Editor Window D. Check Your Results Window

A

SAS Detects the end of a step when it encounters I. A RUN Statement II. A QUIT statement III. The beginning of another Step A. I, II and III B. I only C. I and II only D. I and III only

A

SAS steps begin with A. DATA statements or PROC statements B. RUN statements C. DATA statements and PROC statements D. A Semicolon

A

Does this comment contain Syntax Errors? /* Report created for budget presentation; revised October 15. */ proc print data=work.newloan; run; A. Yes. Every comment line must end with a semicolon B. No. The comment is correctly specified C. Yes. The comment contains a semicolon, which causes an error message D. Yes. The comment text incorrectly begins on line one

B

If you submit a program containing unbalanced quotation marks in SAS University Edition, you can simply correct the error and resubmit the program. A. False B. True

B

SAS will work on which of the following operating systems/platforms? I. Windows II. Unix III. Mainframe A. II only B. I, II and III C. I and III Only D. I only

B

The Following is an example of what? 712 data work.NewSalesEmps; 713 length First_Name $ 12 Last_Name $ 18 Note: the Infile 'newemps.csv' is: A. SAS Editor B. SAS Log C. SAS Output Window D. SAS Program

B

What contains information about the processing of the SAS program, including any notes, warnings and error messages? A. Output/Results B. SAS Log C. SAS Editor/Code D. None

B

What happens if you submit the following program? porc print data=work.newsalesemps; run; A. SAS Does Not execute the step B. SAS Assumes that the keyword PROC is misspelled

B

What result would you expect from submitting this step? proc print data=work.newsalesemps run; A. An HTML report of the work.newsalesemps data set B. An error message in the log C. A LISTING report of the work.newsalesemps data set D. The creation of the temporary data set work.newsalesemps

B

Which of the following steps is typically used to generate reports and graphs? A. DATA B. PROC C. RUN D. REPORT

B

Differentiate between a data step and a proc step. A. DATAsteps are typically used to process SAS sets and PROC steps are typically used to process SAS data sets B. DATA steps are typically used to process SAS data sets and PROC steps are typically used to create SAS data sets C. DATA steps are typically used to create SAS data sets and PROC steps are typically used to process SAS data sets D. DATA steps are typically used to modify SAS data sets and PROC steps are typically used to modify SAS data sets

C

The ___________________ becomes the active window each time it receives output. A. Editor/Code Window B. Enhanced Editor C. Output/Results Window D. Log Window

C

When you execute a SAS program, the output generated by SAS is divided into what two major parts? A. SAS log and SAS editor B. SAS output and SAS code C. SAS log and SAS output D. SAS log and SAS descriptor portion

C

Which of the following is a SAS Syntax Requirement? A. Put only one statement on each line B. Put a RUN statement after every DATA or PROC step C. End each statement with a semicolon D. Separate each step with a line space E. Begin Each statement in column one

C

Within the editor, the syntax in your program is _____________ to show step boundaries, keywords, variable and data set names. A. In bold and underlined B. In Bold C. Color-coded D. Underlined

C

____________ contains reports generated by most SAS procedures. A. SAS Output/Results Window B. SAS Editor/Code Window C. SAS Log Window

C

How is SAS different from other programming languages? A. It is not different. All programming languages are alike. B. SAS processes the first half of the program, and then the second half. C. The program is compiled in it's entirety and then executed D. SAS processes each step at a time, statement by statement, independently of one another

D

How many step boundaries does this program contain? data work.staff; length First_Name $ 12 Last_Name $ 18 Job_Title $ 25; infile "&path/newemployees.csv" dlm=','; input First_Name $ Last_Name$ Job_Title $ Salary; run; proc print data=work.staff; run; proc means data=work.staff; var Salary; run; A. Seven B. Five C. Three D. Six

D

In the SAS Log, notes are written in ___________, warnings are written in ______________, and errors are written in _________________. A. Black, Green, Red B. Black, Blue, Red C. Green, Blue, Red D. Blue, Green, Red

D

The Output window displays the ______________ of output generated by the program submitted. A. Last Page B. Code C. First Page D. All Pages

D

What terms does SAS use in the log to refer to table, column, and row? A. Data, Var, Obs B. Table, Column, and Row C. SAS does not use terminology in log D. Data Set, Variable, Observation

D


Set pelajaran terkait

Immunity Inflammation Infection PrepU

View Set

Evolve: Maternity - Women's Health/Disorders

View Set

Prep U Chapter 34: Assessment and Management of Patients with Inflammatory Rheumatic Disorders

View Set

CREDIT LIFE & DISABILITY (ACCIDENT AND HEALTH) INSURANCE

View Set