Practice for the basic SAS certification exam.
Data work.salesrep; infile empdata; input ID $ 1-4 LastName $ 6-12 FirstName $ 14-18 City $ 20-29; run; proc print data=work.salesrep; run;
Data work.salesrep; infile empdata; input ID $ 1-4 Name $ 6-12 FirstName $ 14-18 City $ 20-29; run; proc print data=work.salesrep; run;
Data work.salesrep; infile empdata; input ID $ 1-4 name1 $ 6-12 name2 $ 14-18 City $ 20-29; run; proc print data=work.salesrep; run;
All of the above
Rate this question:
Filename crime 'C:\States\Data\Crime';
Filename crime C:\States\Data\Crime;
Fileref crime 'C:\States\Data\Crime';
Filename 'C:\States\Data\Crime' crime;
Rate this question:
You change them
You cancel them
You end your SAS session.
All of the above
Rate this question:
Infile products obs 15;
Infile products obs=15;
Input products obs=15;
Input products 1-15;
Rate this question:
Income=income*1.00;
Income=income+(income*2.00);
Income=income*2;
Income=*2;
Rate this question:
All of the above
Rate this question:
Data finance.newloan; input datalines; if country='JAPAN'; MonthAvg=amount/12; 1998 US CARS 194324.12 1998 US TRUCKS 142290.30 1998 CANADA CARS 10483.44 1998 CANADA TRUCKS 93543.64 1998 MEXICO CARS 22500.57 1998 MEXICO TRUCKS 10098.88 1998 JAPAN CARS 15066.43 1998 JAPAN TRUCKS 40700.34 ;
Data finance.newloan; input Year 1-4 Country $ 6-11 Vehicle $ 13-18 Amount 20-28; if country='JAPAN'; MonthAvg=amount/12; datalines; run;
Data finance.newloan; input Year 1-4 Country 6-11 Vehicle 13-18 Amount 20-28; if country='JAPAN'; MonthAvg=amount/12; datalines; 1998 US CARS 194324.12 1998 US TRUCKS 142290.30 1998 CANADA CARS 10483.44 1998 CANADA TRUCKS 93543.64 1998 MEXICO CARS 22500.57 1998 MEXICO TRUCKS 10098.88 1998 JAPAN CARS 15066.43 1998 JAPAN TRUCKS 40700.34 ;
Data finance.newloan; input Year 1-4 Country $ 6-11 Vehicle $ 13-18 Amount 20-28; if country='JAPAN'; MonthAvg=amount/12; datalines; 1998 US CARS 194324.12 1998 US TRUCKS 142290.30 1998 CANADA CARS 10483.44 1998 CANADA TRUCKS 93543.64 1998 MEXICO CARS 22500.57 1998 MEXICO TRUCKS 10098.88 1998 JAPAN CARS 15066.43 1998 JAPAN TRUCKS 40700.34 ;
Rate this question:
Data_null_; set work.patients; infile 'c:\clinic\patients\referrals.dat'; input id 1-4 sex 6 age 8-9 height 11-12 weight 14-16 pulse 18-20; run;
Data referrals.dat; set work.patients; input id 1-4 sex 6 age 8-9 height 11-12 weight 14-16 pulse 18-20; run;
Data _null_; set work.patients; file c:\clinic\patients\referrals.dat; put id 1-4 sex 6 age 8-9 height 11-12 weight 14-16 pulse 18-20; run;
Data _null_; set work.patients; file 'c:\clinic\patients\referrals.dat'; put id 1-4 sex 6 age 8-9 height 11-12 weight 14-16 pulse 18-20; run;
Rate this question:
Input StockNumber $ 1-3 Finish $ 5-9 Style $ 11-18 Item $ 20-24 Price 27-32;
Input StockNumber $ 1-3 Price 27-32 Item $ 20-24 Finish $ 5-9 Style $ 11-18;
Input $ StockNumber 1-3 Price 27-32 $ Item 20-24 $ Finish 5 9 $ Style 11-18;
Input StockNumber $ 1-3 Price $ 27-32 Item $ 20-24 Finish $ 5-9 Style $ 11-18;
Rate this question:
Quiz Review Timeline (Updated): Mar 19, 2022 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
SAS QUIZ(100% NEW AND REAL TIME QUESTIONS)
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...
Questions:
20 |
Attempts:
476 |
Last updated:
Mar 20, 2023
|
SAS Chapter 22: Using Best Practices
In our ongoing SAS quiz series, we turn our attention to the different practices and which is the best to use in a given situation. What do you know about IF statements, PROC...
Questions:
5 |
Attempts:
106 |
Last updated:
Dec 06, 2023
|
SAS Chapter 12: Storing Macro Programs
This SAS Chapter 12 quiz focuses on storing macro programs. It tests knowledge on %INCLUDE statements, storing macros in SAS catalogs, using the Stored Compiled Macro Facility,...
Questions:
10 |
Attempts:
330 |
Last updated:
Mar 15, 2023
|
SAS Chapter 11: Creating And Using Macro Programs
This quiz assesses knowledge in SAS Macro Programming, focusing on macro creation, parameter handling, and conditional statements. It tests the ability to define, reference, and...
Questions:
10 |
Attempts:
1201 |
Last updated:
Aug 21, 2023
|
SAS Chapter 10: Processing Macro Variables At Execution Time
This quiz, titled 'SAS Chapter 10: Processing Macro Variables at Execution Time,' tests knowledge on macro variable processing in SAS. It covers creating, assigning, and...
Questions:
10 |
Attempts:
354 |
Last updated:
Mar 17, 2023
|
SAS Chapter 9: Introducing Macro Variables
This SAS Chapter 9 quiz focuses on macro variables, testing understanding through questions on their creation, manipulation, and error handling. It's designed to enhance...
Questions:
10 |
Attempts:
724 |
Last updated:
Jan 30, 2024
|
Wait!
Here's an interesting quiz for you.