This SAS quiz features real-time questions assessing skills in data handling, debugging, and SQL operations within SAS. It is designed for learners seeking to test and enhance their proficiency in SAS programming, ensuring readiness for practical applications in data analysis.
MLOGIC
FEEDBACK
MPRINT
VALIDATE
Rate this question:
PROC SQL; CREATE TABLE THREE LIKE SELECT * FROM ONE OUTER UNION SELECT * FROM TWO; QUIT;
PROC SQL; CREATE TABLE THREE AS SELECT * FROM ONE OUTER UNION SELECT * FROM TWO; QUIT;
PROC SQL; VALIDATE CREATE TABLE THREE AS SELECT * FROM ONE OUTER UNION SELECT * FROM TWO; QUIT;
PROC SQL; CREATE TABLE THREE AS SELECT * FROM ONE OUTER UNION, SELECT * FROM TWO; QUIT;
Rate this question:
True
False
Rate this question:
MLOGIC
SYSTEMOPTION
%PUT AUTOMATIC ;
%PUT _ALL_;
Rate this question:
Moves the output pointer to a new line if a PUT statement attempts to write an item beyond the last ODS column in the buffer
Stops the output pointer to a new line if a PUT statement attempts to write an item beyond the last ODS column in the buffer
Discards the output pointer to a new line if a PUT statement attempts to write an item beyond the last ODS column in the buffer
None of the above
Rate this question:
Proc sql; Create unique index daily on work.CLASS (GENDER, CLASS) ;
Proc sql; New unique index daily on work.CLASS (GENDER, CLASS);
Proc sql; Create unique index GENDER, CLASS on work. CLASS (GENDER, CLASS);
Proc sql; Create PRIMARY index on work. CLASS (GENDER, CLASS);
Rate this question:
Proc sql; Select * from sasuser.cars (idxwhere=no) where speed > 150 ; Quit;
Proc sql; Select * from sasuser.cars (idxwhere=ignore) where speed > 150; Quit;
Proc sql; Select * from new. Cars (idxwhere=point) where speed > 150; Quit;
Proc sql; Select * from new. Cars (idxwhere=yes) where speed > 150; Quit;
Rate this question:
%let text=%bquote(Joan's Report);
%let text=Joan%str(')s Report;
%let text=bquote(Joan's Report);
%let text=Joan%str(',)s Report;
Rate this question:
%let summitname= %substr(&summit,%length(&summit)-4);
%let summitname= %nrsubstr(summit,1,%length(&summit)-4);
%let summitname= %substr(&summit,1,%length(&summit)-4);
%let summitname= %substr(&summit,1,length (&summit)-4);
Rate this question:
Macro variable C resolves to 1.11111
Macro variable C resolves to 1.12
Macro variable C resolves to 1
Macro variable C resolves to 10/9
Rate this question:
20
40
NULL/BLANK
Unable to determine/error
Rate this question:
It cannot be used with the keyword ALL.
It overlays columns by name, not by position.
When used in EXCEPT, INTERSECT, and UNION set operations, it removes any columns not found in both tables.
When used in OUTER UNION set operations, it causes same-named columns to be overlaid.
Rate this question:
You can use FILENAME and %INCLUDE statements for compiling the macro
You can use the PROC CATALOG statement to compile the macro
The SOURCE entry is deleted at the end of the session
You do not need to compile the macro before you invoke it in a program.
Rate this question:
Proc sql; delete from newdata.class Where age
Proc sql; delete from newdata.class age
Proc sql; delete from newdata.class Where age
Proc sql; delete from newdata.class Where age
Rate this question:
40
50
60
70
Rate this question:
Proc sql; select * from class1 union all select * from class2 where class1.rank=class2.rank; quit;
Proc sql; select * from class1 union all select * from class2 quit;
Proc sql; select * from class1,class2; quit;
Proc sql; select * from class1 union select * from class2 quit;
Proc sql; select * from class1 union select * from class2 order by exams; quit;
Proc sql; select * from class1 outer union select * from class2 on class1.exams=class2.exams quit;
Proc sql; select * from class1 left join select * from class2 on class1.exams=class2.exams; quit;
Proc sql; select * from class1 union all select * from class2 quit;
Rate this question:
Data work.class; Set class1 class2 class3; Where id >5; Run;
Data work.class; Set class1 class2 class3; Where id ge 5; Run;
Data work.class; merge class1 class2 class3; Where id ge 5; Run;
Data work.class; merge class1 class2 class3; Where id > 5; Run;
Rate this question:
New, R,S and _COL1_
New, P and COL1 only
_COL1_,_COL2_ AND _COL3_ ONLY
P,Q AND R ONLY
Rate this question:
Quiz Review Timeline (Updated): Mar 20, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.