SAS Programming Quiz | Latest SAS Quiz
SAS Programming Quiz
This SAS Programming Quiz is for freshers and experienced persons in SAS Programming. SAS Programming Quiz has multiple-choice questions (MCQs), which gives you complete knowledge of this language. This SAS practice test contains the right answers to each question, refer the link below of each question to explore your knowledge in this field. SAS Programming Quiz contains some tricky SAS interview questions, which will help you for prepare for SAS interview.
Still, if you are not confident about this SAS Programming Quiz, refer to our article, SAS Programming Language. It will clear your queries.
You may also refer to SAS Online Quiz Part – I to check your knowledge.
Best Of Luck!! for SAS Programming Quiz
Q1. What is the name of the input data set in the program below?
Q2. What is the name of the output data set in the program below?
Q3. In SAS, one can test single or joint hypothesis after successful completion of
Q4. The data set orion.sales contains nine variables. Given this DATA step, how many variables does the descriptor portion of work.comp contain?
drop Gender Salary Birth_Date;
Q5. The data set orion.sales contains nine variables. Given this DATA step, how many variables does the descriptor portion of work.comp contain?
keep Employee_ID Gender Job_Title Salary;
Q6. A KEEP statement in a DATA step omits all variables except Name, Color, and Price from the output data set. Are the omitted variables included in the PDV?
Q7. Which procedure can be used to view the permanent labels and formats stored in a data set?
Q8. Which of the following SAS functions returns a number from 1 to 12?
Q9. The data set orion.sales contains nine variables. Given this DATA step, how many variables does the descriptor portion of work.comp contain?
drop Gender Salary Country;
Q10. Which DATA step ensures that all observations are assigned a non-missing value for Bonus?
Q11. Which of the following determines the length of a new variable at compile time?
Q12. We use a DO group in a DATA step when you want to execute multiple statements for a true IF-THEN expression
Q13. Which of the following statements is true about merging SAS data sets by using the DATA step?
Q14. Which of the following programs concatenates the data sets sales and products, in that order?
Q15. What is the syntax error in this DATA step?
Q16. If you run this DATA step, what observations does the dataset bonuses contain?
merge managers (in=M)
if M=0 and S=1;
Q17. Which of the following is a valid name for a character format?
Q18. Which of the following DATA steps correctly reads the permanent dataset salesinfo from the sporting library and creates a new data set named salesinfo2 in the same library?
Q19. What value will be assigned to Units?
Q20. In the program below, what is the value of benefit for the observation shown?
Hope you all had fun solving this SAS Programming Quiz. Stay tuned for more and for any doubts post them in the comments section below.