SAS_Institute
A00-212 · Question #156
The variable TOTOBS has a value of 123, which represents the total number of observations in a SAS data set. Which assignment statement correctly creates the variable PTOBS that guarantees a valid…
Sign in or unlock A00-212 to reveal the answer and full explanation for question #156. The question stem and answer options stay visible for context.
Question
The variable TOTOBS has a value of 123, which represents the total number of observations in a SAS data set. Which assignment statement correctly creates the variable PTOBS that guarantees a valid observation number in that SAS data set?
Options
- Aptobs = ranuni(0) * totobs;
- Bptobs = int(ranuni(0) * totobs);
- Cptobs = ceil(ranuni(0) * totobs);
- Dptobs = floor(ranuni(0) * totobs);
Unlock A00-212 to see the answer
You've previewed enough free A00-212 questions. Unlock A00-212 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.