Which INFORMAT reads this raw data and stores it as a SAS date value?
Given the following raw data record: 07Jan2005 Which INFORMAT reads this raw data and stores it as a SAS date value?A . dmy9. B. date9. C. ddMMMyy9. D. ddmmmyyyy9.View AnswerAnswer: B
Which ODS statement option terminates output being written to an HTML rile?
Which ODS statement option terminates output being written to an HTML rile?A . END B. QUIT C. STOP D. CLOSEView AnswerAnswer: D
Which option correctly completes the program and creates the report?
00100.00 Total10100.00 Which option correctly completes the program and creates the report?A . LIST B. NOCOLS C. CROSSLIST D. NOCROSSTABView AnswerAnswer: C
What is the result?
The following SAS program is submitted: libname temp ‘SAS data library’; data temp.sales; merge temp.sales work.receipt; by names; run; The input data files are sorted by the NAMES variable: What is the result?A . The program executes successfully and a temporary SAS data set is created. B. The program executes...
How will the Exam variable value be displayed in the FREQ procedure output?
The following SAS program is submitted: How will the Exam variable value be displayed in the FREQ procedure output?A . Fail B. Pass C. 50.5 D. .(missing numeric value)View AnswerAnswer: C
What is the cause of the syntax error?
Given the AIRPLANES data set AlRPLANES TYPE MPG -------- ------ F-18 105 C-130 25 Harrier 75 A-6 110 The following SAS program is submitted: data gt100; set airplanes(keep = type mpg load); load = mpg * 150; run; The program fails to execute due to syntax errors. What is the...
How many observations will the data set WORK.EMPSALARY contain?
The following SAS program is submitted: data work.empsalary; set work.people (in = inemp) work.money (in = insal); if insal and inemp; run; The SAS data set WORKPEOPLE has 5 observations, and the data set WORKMONEY has 7 observations. How many observations will the data set WORK.EMPSALARY contain?A . 0 B....
Which of the following is true?
The following SAS program is submitted: data test; infile ‘file specification’; input name $ amount@@; run; Which of the following is true?A . Two @@ together are the same as one c. B. Two @@ hold the data records until the bottom of the DATA step. C. Two @@ hold...
What is the result?
Given the raw data file AMOUNT: ----I---- 10---I----20---I----30 $1,234 The following SAS program is submitted: data test; infile ‘amount’; input@1 salary 6.; if_error_then description = ‘Problems’; else description = ‘No Problems’; run; What is the result?A . The value of the DESCRIPTION variable is No Probl. B. The value of...
What value will SAS assign to Pos?
The following SAS program is submitted: data WORK.ONE; Text=’Australia, US, Denmark’; Pos=find (Text,’US’,’i’,5); run; What value will SAS assign to Pos?A . 0 B. 1 C. 2 D. 12View AnswerAnswer: D