SAS_Institute
A00-211 · Question #5
Given the AIRPLANES data set AlRPLANES TYPE MPG -------- ------ F-18 105 C-130 25 Harrier 75 A-6 1 10 The following SAS program is submitted: data gt100; set airplanes(keep = type mpg load); load =…
The correct answer is C. LOAD is not variable in the data set AIRPLANES. See the full explanation below for the reasoning.
Question
Given the AIRPLANES data set AlRPLANES TYPE MPG -------- ------ F-18 105 C-130 25 Harrier 75 A-6 1 10 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 cause of the syntax error?
Options
- AMPG is not a numeric variable.
- BLOAD is not a variable in the data set GT100.
- CLOAD is not variable in the data set AIRPLANES.
- DLOAD must be defined prior to the SET statement.
How the community answered
(38 responses)- A8% (3)
- B3% (1)
- C74% (28)
- D16% (6)
Community Discussion
No community discussion yet for this question.