Click on the Comments to view the Answers

Wednesday, January 27, 2010

Q30

The following SAS program is submitted:

data work.total;
set work.salary(keep = department wagerate);
by department;
if first.department then payroll = 0;
payroll + wagerate;
if last.department;
run;

The SAS data set named WORK.SALARY contains 10 observations for each department, currently ordered by DEPARTMENT.

Which one of the following is true regarding the program above?

A. The BY statement in the DATA step causes a syntax error.
B. FIRST.DEPARTMENT and LAST.DEPARTMENT are variables in the WORK.TOTAL data set.
C. The values of the variable PAYROLL represent the total for each department in the WORK.SALARY data set.
D. The values of the variable PAYROLL represent a total for all values of WAGERATE in the WORK.SALARY data set.

62 comments:

SASGuru said...

Answer: C

For every BY group we get the sum of wagerate in the Payroll variable for each department.

Rujuta........ said...

Answer is C

Pugazh said...

Answer.A

Jagdish_SAS said...

Ans is C

manish chopra said...

Answer C

Ryan Lo said...

Answer is C.
The values of the variable PAYROLL represent the total values of WAGERATE for each department.

yuvraj said...

Answer is C.

kinnari said...

Answer is C

Gaurav Verma said...

Answer is C

Vin said...

Answer is C.

sagar gadavi said...

Answer is C

SAS Cert said...

Answer: C

Try the link below for extra base SAS practice questions.

http://sascert3.blogspot.com/2013/03/base-sas-example-question-11.html

Good luck!

Krishna Rajwanshi said...

Hello everyone,
I am pursuing for Base SAS certification:
Try these link below
http://bit.ly/10Bs8Lk

shanky said...
This comment has been removed by the author.
shanky said...

A. No syntax Error in the program)
B. Those variable are temporary variable.
C. True.
D. For every BY group we get the sum of wagerate in the Payroll variable for each department.

Big Boss said...

god one

Stevina Rumao said...

Answer C

Aditya said...

http://it-certification-dumps.blogspot.in/ for latest dumps

Harsh bhat said...

c

Chirag Patoliya said...

You can refer latest sas base certification questions with accurate answers at sas-exam.com

xiao chelsey said...

c

Poras Sari said...

Well, Thanks for your article.
Its impressive to know something about your note on SAS BASE Course. Please do share your articles like this your articles for our awareness. Mostly we do also provide Online Training on SAS BASE Course. for more info Contact-Us at@ online-training-sas.com/.

sas123 Training said...


Nice information. Our institute Is the Leading online institute in Hyderabad, India to provide sas online trainings with the real time experts and certified professionals. alot sas Online Training.

H. C. said...

C

H. C. said...

C

H. C. said...

C

H. C. said...

C

anshika kapoor said...

C

White Rose said...

Statistical Analysis System(SAS) is a software suite developed by SAS Institute, R is a programming language and software environment for statistical computing. AFS Offers A combo course that covers both SAS and R. Know more about couses and training visit:- http://www.analyticsfinishingschool.com/Analytics-with-SAS-R.html

Williams Creater said...

This is a very good example and useful for as and to get more knowledge for this explaination and use for developed your business sasonlinetraining

Williams Creater said...
This comment has been removed by the author.
jhansi joe said...

Every Business looking SAS certified professionals for their business growth, if you wants to make your career shine just do SAS Training.
Regards,
sas training in Chennai|sas courses in chennai

Harsh Mohan said...

For latest and updated SAS certification dumps in PDF format contact us at completeexamcollection@gmail.com.
Refer our blog for more details http://completeexamcollection.blogspot.in/2015/12/sas-certification-dumps.html

varshini devi said...

Hi, thank you for sharing this pretty useful blog, from the IT industry survey, Big Data/Analytics is the hot trend with the strong demand of talent in the upcoming years; I think you are making a great choice to pursue a Master degree in this area.
Regards,

SAS Training in Chennai|SAS Course in Chennai

Govt Jobs said...

Amazing Information in the post

HSSC Recruitment 2016

Tony Starck said...

Top 10 lists
Tattoos
Tattoos
Tattoos
Tattoos

Harsh Mohan said...

For latest and updated SAS certification dumps in PDF format contact us at completeexamcollection@gmail.com.
Refer our blog for more details
http://completeexamcollection.blogspot.in/2015/12/sas-certification-dumps.html

Priya Sethuraman said...

Correct answer is C. when you use PAYROLL + WAGERATE, variable payroll will automatically be retained through-out the dataset. Its values is resetted at first observation of each department. . At last observation, payroll has the sum of all wagerate for that particular department and is outputed to total dataset. Hence answer is C.


Base SAS training in Chennai

Datawarehousing training in Chennai

Informatica training in Chennai

Hadoop training in Chennai

MSBI training in Chennai

Tek Classes said...

Answer: C
Very informative blog and content thank you for sharing with us keep postingsas training,sas online training,learn sas online,sas online course,sas training in bangalore

Harsh Mohan said...

For latest and updated SAS certification dumps in PDF format contact us at completeexamcollection@gmail.com.
Refer our blog for more details
http://completeexamcollection.blogspot.in/2015/12/sas-certification-dumps.html

Sowmiya said...

Give me some more sample programs it will be useful for me to get the concept and to practice on it.

Sas Training in Chennai

sathya said...

Excellent and very cool idea and the subject at the top of magnificence and I am happy to this post..Interesting post! Thanks for writing it. What's wrong with this kind of post exactly? It follows your previous guideline for post length as well as clarity..

Base SAS Training in chennai

Chinmaye Sri said...

Simply superb article thank you

Manasa Garugu said...

Sarkari Recruitment is one of the biggest Indian Job Site so here you will getOPSC Jobs 2017so

KARTHIK said...

ts ssc supply results 2017

ts ssc hall ticket 2017 date

This site is very good I like this website

Shalini said...

Superb. I really enjoyed very much with this article here. Really it is an amazing article I had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article.thank you for sharing such a great blog with us. expecting for your.
Digital Marketing Company in India
Seo Company in India

Abiya Carol said...

I just see the post i am so happy the post of information's.So I have really enjoyed and reading your blogs for these posts.Any way I’ll be subscribing to your feed and I hope you post again soon.

SEO Training in Chennai
Java Training in Chennai

Sonendra Choudhary said...


9643950605 Croma Campus is one of the best SAS Training in Noida with 100% situation ensures. Croma Campus has very much characterized course modules and instructional meetings for understudies and Weekend classes, evening clump classes with live venture by industry master In Noida.

sathya said...

Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care and we take your comments to heart.As always, we appreciate your confidence and trust in us.

Base SAS Training in Chennai

MSBI Training in Chennai

Abiya Carol said...

Wonderful bloggers like yourself who would positively reply encouraged me to be more open and engaging in commenting. So know it's helpful..

AWS Training in Chennai

SEO Training in Chennai

Digital Marketing Training in Chennai

sathya said...

Thanks for the informative article. This is one of the best resources I have found in quite some time. Nicely written and great info. I really cannot thank you enough for sharing.

Hadoop Training in Chennai

Base SAS Training in Chennai

sai venkat said...

Thanks for your informative blog!!! Keep on updating your with such awesome information.
SAS Online Training
R Programming Online Training|
Tableau Online Training|

sandhosh said...

Interesting blog which attracted me more.Spend a worthful time.keep updating more.
Digital marketing company in Chennai

Unknown said...

said

Unknown said...

said

mohitpadhan india said...

Online mba in India
DEIEDU is the best online Institute in the world with high class course outline and up to date learning materials. DEIEDU is providing the online mba in india, online mba in india, Distance learning mba courses in india, Correspondence mba in India Mba from distance in India, Online Executive Mba in India, distance Mba from India, Online distance mba in India. Distance learning mba degree in India.
Address:
401, fourth floor sg alpha tower
Vashundhra (up)
Phone: 9811210788
Email: info@deiedu.in
Website: http://www.deiedu.in/
online mba in india

Unknown said...

ApplY Online for DSE Nagaland Recruitment

HPPSC Recruitment Notification 2017 Download Here

Click Here PGCIL Executive Trainee Recruitment Notification

Abi said...

Hi, thank you for sharing this pretty useful blog, from the IT industry survey, Big Data/Analytics is the hot trend with the strong demand of talent in the upcoming years; I think you are making a great choice to pursue a Master degree in this area.
SAS Training in Chennai

Regards,

I Digital Academy said...

Thank you for sharing such a nice post.
Best SAP Training in Bangalore
Best Oracle Training in Bangalore

Chaithra L said...

Its a nice post.
Best Oracle Training in Bangalore

sunitha vishnu said...

Really it was an awesome article...very interesting to read..You have provided an nice article....Thanks for sharing..
Android Training in Chennai
Ios Training in Chennai

sunitha vishnu said...

Really it was an awesome article...very interesting to read..You have provided an nice article....Thanks for sharing..
Android Training in Chennai
Ios Training in Chennai

Post a Comment



Technology Top Blogs On our way to 1,000,000 rss feeds - millionrss.com Hihera.com Blog Directory - OnToplist.com blogarama - the blog directory Blog Directory
Disclaimer

SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.

Other brand and product names are trademarks of their respective companies.

This blog is not responsible for any kind of copyright violation. This blog just collects the links hosted or posted by other servers/people/search engines.The creator of this page or the ISP(s) hosting any content on this site take no responsibility for the way you use the information provided on this site.If anybody has any copyright claim on it and doesn’t wish the information provided to be shown on our site, please do respond to this email. We shall remove them off immediately. Any inconvenience is regretted. Please do mention your exact grievance/problems with respect to certain third party links. We assure you that appropriate action will be taken off. Thank you