In SAS, character variables are indeed capable of holding alphabetic characters, numeric digits, and other special characters, which makes Option A the correct answer. This flexibility allows for storing a wide range of data as text, including combinations that may include symbols and numbers typically found in addresses, identification codes, or textual data that includes special characters. Unlike numeric variables, character variables do not interpret the data as numbers but as literal strings of characters. Options B, C, and D contain inaccuracies regarding how data types and values are treated in SAS. Specifically, numeric values in SAS are never enclosed in quotes (which contradicts B), character variables can exceed 200 bytes depending on the specific declaration (contradicting C), and while numeric variables can indeed include numbers, decimal points, minus signs, and scientific notation, they do not typically include currency symbols as part of the variable's numeric value (contradicting D).
References:SAS documentation on data types, SAS Institute.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit