O'Reilly logo

Exercises and Projects for The Little SAS Book, Fifth Edition by Susan J. Slaughter, Lora D. Delwiche, Rebecca A. Ottesen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 11

Debugging Your SAS Programs

Multiple Choice

Short Answer

Programming Exercises

Multiple Choice

  1.   Using the FIRSTOBS= and OBS= options will control the number of lines of raw data read by which statement?

a.   INFILE

b.   SET

c.   PROC PRINT

d.   All of the above

  2.   Writing programs that are easy to read will make your code easier to debug. Which of the following is not just a simple habit that you can use to make programs easier to read?

a.   Placing each statement on a new line

b.   Indenting statements within DATA and PROC steps

c.   Using DO and END statements

d.   Using comments in your program

  3.   Which type of log message will prevent your program from running?

a.   Errors

b.   Warnings

c.   Notes

d.   All of the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required