SAS Base Certification – Question 1

Question 1: The following program is submitted.

1
2
3
4
5
6
data WORK.TEST;
input Name $ Age;
datalines;
John +35
;
run;

Which values are stored in the output data set?

Options:


A) Name Age
---------------------
   John 35

B) Name Age
---------------------
   John (missing value)

C) Name Age
---------------------
(missing value) (missing value)

D) The DATA step fails execution due to data errors.

*The SAS certification sample problem and answer are sourced from the official SAS sample questions page. All answer logs, data sets, output, and commentary are provided by this blog.

Correct Answer

Incorrect Answer

Click to see Answer Explanation below

thanks for your support

1 Comment

    mbvenkat Dec 31, 2015

    + and – signs will treat as Standard type of numeric data, and Hence no error.

    Reply

Leave a Comment

Please keep in mind that comments are moderated and rel="nofollow" is in use. So, please do not use a spammy keyword or a domain as your name, or it will be deleted. Let us have a personal and meaningful conversation instead.