Multiple choice technology programming languages

How many observations will be there in the output dataset TEMP? Data temp; Set test (firstobs=50 obs=450); Run;

  1. 450

  2. 401

  3. 400

  4. 500

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The 'firstobs=50 obs=450' option tells SAS to start reading at observation 50 and stop at observation 450. The number of observations processed is (450 - 50) + 1 = 401.