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.

68 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

Unknown 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

Unknown said...

Answer is C

Vin said...

Answer is C.

Unknown said...

Answer is C

Zach Anderson 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!

SAS Training India 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

Unknown said...

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

Unknown said...

c

Unknown 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/.

H. C. said...

C

H. C. said...

C

H. C. said...

C

Unknown said...

C

Unknown 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

Unknown 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

Unknown said...
This comment has been removed by the author.
Unknown 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

Unknown 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

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

Unknown 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

Unknown 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

Unknown 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

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|

Unknown said...

said

Unknown said...

said

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

Unknown said...

Useful Information, your blog is sharing unique information....
Thanks for sharing!!!
SAS data certified scientist

Online sas certification course

Online sas certification training course

Online sas certification training

raju v said...

Awesome,
Thank you so much for sharing such an awesome blog...
with Placement Assistance
sas data analytics training with placement support

Mahesh said...


You have provided an nice article, Thank you very much for this one. And i hope this will be useful for many people.. and i am waiting for your next post keep on updating these kinds of knowledgeable things...
SAS Course



Unknown said...

Thank you so much for sharing such a best blog...
BEST TRAINING IN NOIDA
BEST ANDROID TRAINING IN NOIDA

Kritika said...

Great post. Thank you for sharing such useful information. Please keep sharing
SAS Training in Delhi

Unknown said...

Best java summer training
Best android Summer Training

Unknown said...

games online klik di sini

cheat games online
http://www.sateayam.org/

https://bolavitaayam.wordpress.com/2018/06/17/langkah-meyakinkan-ayam-yang-akan-menang-di-sabung-ayam-online/

sathya shri said...

Really nice experience you have. Thank you for sharing. It will surely be an experience to someone.
angularjs Training in bangalore

angularjs Training in bangalore

angularjs Training in chennai

automation anywhere online Training

angularjs interview questions and answers

Dharani M said...

Thanks for sharing this useful information
sas training in Marathahalli

sas training institutes in Marathahalli

Ranjith said...

Great Article… I love to read your articles because your writing style is too good, its is very very helpful for all of us and I never get bored while reading your article because, they are becomes a more and more interesting from the starting lines until the end.

rpa training in chennai |best rpa training in chennai|
rpa training in bangalore | best rpa training in bangalore

siva said...

The knowledge of technology you have been sharing thorough this post is very much helpful to develop new idea.
here by i also want to share this.
Java training in Chennai

Java training in Bangalore

Java online training

Java training in Pune

manisha said...

Thank you for sharing such great information very useful to us.
SAS Training institute in Delhi

educational blogs said...

It’s really a nice and useful piece of information. I am glad that you shared this useful information with us. Please keeps us to date like this .thank you for sharing.

Python corporate training in Nigeria

educational blogs said...

Thanks for sharing this valuable information and we collected some information from this post.

Data Science Corporate training

Prince Dwivedi said...

Join information science preparing in Greater Noida. As the monstrosity of the information builds, it is earnest to discover strategies to get profitable data. Accordingly, there is a urgent requirement for experts with fitting PC abilities. Preparing in information science is fundamental for experts and cooler individuals searching for a vocation as an information researcher. To pick up inside and out learning of Data Science, you can enroll for Mirorsoft Technologies Data Science accreditation preparing with all day, every day backing and lifetime access.To handle and investigate incredibly enormous informational indexes utilizing propelled open source devices and advanced information examination calculations, you should be appropriately prepared in information science.




Data Science Training In Greater Noida
Digital Marketing Course In Greater Noida

Prince Dwivedi said...

The name Bihar is gotten from the Sanskrit and Pali word vihāra (Devanagari: विहार), signifying "home". The district generally including the present state was spotted with Buddhist viharas, the houses Buddhist priests in the antiquated and medieval periods. Medieval essayist Minhaj al-Siraj Juzjani records in the Tabaqat-I Nasiri that in 1198 Bakhtiyar Khalji submitted a slaughter in a town related to the word, later known as Bihar Sharif, around 70 km away from Bodh Gaya
Wikipedia of bihar

DumpsPass4sure said...

It is really difficult to pass Microsoft exam without consulting a valid study guide so I downloaded Pass4sure Microsoft Dumps for complete preparation. It took very short time period to get fully prepared all syllabus topics. I am thankful that Dumpspass4sure gave me opportunity to perform extraordinary with the help of Microsoft PDF questions and answers.

Unknown said...

Our many years of experience have made us leaders in language instruction and intercultural training. We have designed programs to create world-class executives with leadership capabilities in the global context. We are best english speaking course in noida because of following reasons:
Join English Speaking Course In Noida

Realtime Experts said...

I am very grateful to you that you share very informative post with us.Sap videos.best oracle training in bangalore

manisha said...

This is good information and really helpful for the people who need information about this.
Android Summer Training Program in Delhi
Android Summer Training Institute in Delhi
Android Summer internship in Delhi

Jyoti Singh said...

Really nice way to present your blog and information is also too good. Thanks for sharing it. If you are searching for more courses than visit here:-
digital marketing institute
android application development
microsoft data science certification
certified ethical hacker certification
open school
python class
web design classes
mobile app development training

Android Training in Jaipur said...

Thanks for this post ,Very informative article.I got multiple new information from here and hope it's very helpful for my next task
Visit : https://pythontraining.dzone.co.in/training/data-science-training.html

fastjobs24 said...


all govt exams Syllabus

Sharma said...

This is most informative and also this post most user friendly and super navigation to all posts...
Artificial Intelligence Certification Training
Java Certification Training
AWS Certification Training
Machine Learning Certification Training
Data Science Certification Training
DevOps Certification Training

Abhikaran said...

Thanks For sharing
full stack training in delhi
AI training course in Delhi
Power BI Institute in Delhi
tableau training in delhi
SASVBA
GMB
For more information

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