Classic Quiz
Quiz General knowledge

Quiz Sas Programming 1

520 played - 12 yrs ago

Chapter 1 From Book

 

Medium QUIZ 24 QUESTIONS
medium
hard
 
Question 1 / 24

What does the following code do?

medium
 
Question 2 / 24

Is the data being imported in this code external or instream?

hard
 
Question 3 / 24

The little "@" symbols is a line pointer.

hard
 
Question 4 / 24

The "mmddyy08. " thing is a FORMAT

medium
 
Question 5 / 24

In the code below, the FORMAT year4. does what exactly?

hard
 
Question 6 / 24

Is the data being input free-format or fixed field?

medium
 
Question 7 / 24

Will the dataset test available when SAS is run again?

medium
 
Question 8 / 24

The name field is numeric or character? How do you know?

hard
 
Question 9 / 24

What's the different between an informat and a format?

medium
 
Question 10 / 24

Format's can't ever be associated with data permanently?

medium
 
Question 11 / 24

The words record/field/variable all mean the same thing.

hard
 
Question 12 / 24

The code shown does what exactly with respect to the year cutoff statement and the code highlighted in blue?

hard
 
Question 13 / 24

How do the year cutoff lines and the code highlighted in blue interact?

hard
 
Question 14 / 24

The following code does what exactly?

medium
 
Question 15 / 24

Are the fields lastname and month numeric data sasuser. sales; infile saledata; input LastName $ 1-7 Month $ 9-11 Residential 13-21 Commercial 23-31; Total=residential+commercial; ru

hard
 
Question 16 / 24

Data sasuser. sales; infile saledata; input LastName $ 1-7 Month $ 9-11 Residential 13-21 Commercial 23-31; Total=residential+commercial; run; proc print data=sasuser. sales; run;

medium
 
Question 17 / 24
In the code shown, what's the result of the line that says total=?

In the code shown, what's the result of the line that says total=?

medium
 
Question 18 / 24
In the code shown, residential and commerical are what kinds of fields?

In the code shown, residential and commerical are what kinds of fields?

medium
 
Question 19 / 24
According to the code shown, we're creating a custom format of character type, so we can use it just as we use formats that come with SAS.

According to the code shown, we're creating a custom format of character type, so we can use it just as we use formats that come with SAS.

medium
 
Question 20 / 24
What does the code below show?

What does the code below show?

medium
 
Question 21 / 24
When proc print is run, how will the letter  C  in the original file look?

When proc print is run, how will the letter "C" in the original file look?

medium
 
Question 22 / 24
When the data step is executed in the code shown, how is the data read?

When the data step is executed in the code shown, how is the data read?

hard
 
Question 23 / 24
When the code below is run, how will the dollar9. 2 format format the data?

When the code below is run, how will the dollar9. 2 format format the data?

hard
 
Question 24 / 24

Where are formats stored?

Quiz Giving Advice
195 played - 1 mth ago
Quiz Red logos
74 played - 2 mths ago
Quiz Logos
171 played - 3 mths ago
Quiz Logos and Brands
149 played - 3 mths ago
Quiz Brand logos #1
100 played - 3 mths ago
Quiz Brand logos
148 played - 3 mths ago
Quiz Car brand logos
189 played - 3 mths ago
Quiz General culture - 1
140 played - 3 mths ago
Quiz Monkeys in all their states!
108 played - 3 mths ago
Quiz Animals in song titles
61 played - 3 mths ago
Quiz Logos
118 played - 3 mths ago
Quiz Brand logos
155 played - 4 mths ago
Quiz The logos
133 played - 4 mths ago