0% found this document useful (0 votes)
81 views5 pages

SAS Tests

The document contains questions about valid SAS variable names, data set names, basic concepts like number of variables, observations, data types, and default numeric storage length. It asks to identify valid SAS names from lists, classify data set names, identify number of variables and observations in a sample data set, and determine if statements about SAS concepts are true or false.

Uploaded by

NELYY
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views5 pages

SAS Tests

The document contains questions about valid SAS variable names, data set names, basic concepts like number of variables, observations, data types, and default numeric storage length. It asks to identify valid SAS names from lists, classify data set names, identify number of variables and observations in a sample data set, and determine if statements about SAS concepts are true or false.

Uploaded by

NELYY
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

1.

Identify which of the following variable names are valid SAS names:
Height
HeightInCentimeters
Height_in_centimeters
Wt-Kg
x123y456
76Trombones
MiXeDCasE

2. In the following list, classify each data set name as valid or invalid:
Clinic
clinic
work
hyphens-in-the-name
123GO
Demographics_2006

3. You have a data set consisting of Student_ID, English, History, Math, and Science_Scores on
10 students.
a) The number of variables is ____5______
b) The number of observations is ___10_______

4. True or false:

a) You can place more than one SAS statement on a single line.
b) You can use several lines for a single SAS statement.
c) SAS has three data types: character, numeric, and integer.
d) OPTIONS and TITLE statements are considered global statements.

5. What is the default storage length for SAS numeric variables (in bytes)?
8
3.1

3.2
3.3

3.4

3.5
3.6

3.7

3.8

3.9
3.10

3.11

You might also like