You are on page 1of 3

3/14/2018 Ask Analytics: Base SAS Certification Questions Series - Part 4

More Next Blog» Create

Random Base SAS Advanced SAS SAS 'n' Stats Fundoo Stuff SAS Certification Magic with Excel R Python Interview FAQs Hot Jobs Who we are

On your plate
Base SAS Certification Questions Series - Part 4
statistics R Advanced SAS Base S
The Global SAS certification exam is administered by SAS and Linear Regression interview Text Mining Logis
Regression cluster analysis Magic of Excel Python Ba
Pearson VUE together. There are 60-65 multiple choice SAS certification Decision Science time-ser
questions in Base SAS certification exam and candidate must forecasting Macro ARIMA Market Basket Analysis NLP
achieve 70% score to pass multiple choice questions in Visualization SAS Gems Sentiment Analysis automation C
Dashboards Factor Analysis Principal Component Analy
 110 minutes. SAS Projetcs Conjoint Analysis X Commands guesstimate

We had started a series of articles to help you prepare for this


examination. Here comes the fourth one covering few more. Ask Analytics
2,164 likes

Like Page Sign Up


Q10. The following SAS program is submitted:
Data work.test;
Be the first of your friends to like this
Author = 'Agatha Christie';
First = substr(scan(Author,1,' '),1 ,1);
Run;

Which one of the following is the length of the variable FIRST in the output data set?

A. 1
B. 6
C. 15
D. 200

Answer of the question is highlighted.

Explanation: 

Here, we need to understand how variables are created in PDV(Program Data Vector). In PDV first
the variables Author will be created with the length of (15 bytes / 15 characters) because of
number of letters between the strings of the assignment statement  Author = 'Agatha Christie';
Since the source variable in the assignment statement  First = substr(scan(Author,1,' '),1 ,1); is Search This Blog
Author, so variable First will have the same length of (15 bytes / 15 characters).  Searc

Popular Posts

Q11. The following SAS program is submitted: Market Basket Analysis in R


Data work.test; Market Basket Analysis in R with
First = 'lpswich, England'; example How can we identify the
different products which can be
City = substr(First,1,7); bundled together to increase the
City_Country = City||' , ' || 'England'; sal...
run;
Create your own Google in Excel
Learn to create G o o g l e  in Exce
Which one of the following is the value of the variable CITY_COUNTRY in the output data set?
Excited ? Confused ? ... Don't be, as
you are one click away from learnin
A. lpswich!! how to create y...
B. lpswich, England
Descriptive Statistics With Proc
C. lpswich, ‘England’
Univariate
D. lpswich         , England Feel your data ! Before going to a
battle, a warrior better know what
Answer of the question is highlighted. he is fighting against and so a data
analyst ! It is advised to ...
http://www.askanalytics.in/2015/09/base-sas-certification-questions-series_18.html 1/3
3/14/2018 Ask Analytics: Base SAS Certification Questions Series - Part 4

Explanation:  SQL in SAS


SQL and Excel are omnipresent ! I a
Again, in PDV the variable City is created with length of 16 bytes, because the source variable for
stating from my experience in
City is Name and has a length of 16 bytes with trailing blanks. Thus, variable City_Country will Analytics industry. Every analyst in
concatenate 'lpswich         ' and 'England'. his/her life time, sometime would
n...

Base SAS - Importing Data into SAS


How to read/Import data into SAS
Q12. The following SAS program is submitted: This is the first article in the series
Base SAS that covers the very first
data work.flights;
thing that an analyst nee...
destination = ‘CPH’;
    select(destination); Understanding p-value
      when(’LHR’) city = ‘London’; A tale about  p-value You keep seei
      when(’CPH’) city = ‘Copenhagen’; the term 'p-value' every now and
then, but don't understand what it
    otherwise; really mean...
    end;
run; Difference between Nodupkey and
Nodup in Proc Sort ?
What is the difference between the
Which one of the following is the value of the variable CITY_COUNTRY in the output data set? Nodupkey and Nodup options in Pro
Sort ? Since ages SAS interviewers
A. London have not stopped asking this q...
B. Copenh
Difference between K-Means and
C. Copenhagen Hierarchical Clustering - Usage
D. ‘ ‘(missing character value) Optimization
When should I go for K-Means
Answer of the question is highlighted. Clustering and when for Hierarchica
Clustering ? Often people get confused, which on
of the two i.e. K-Me...
Explanation: 
Here, the first when condition will specify the length  to 6 bytes, thus the length will remain same Text Mining in R - Part 7
in this data step and city will keep only 6 character ( Copenhagen). Sentiment Analysis in R - Coolest
Method So Far So far we have
discussed all the basics, a
rudimentary method, an evolved
method and a c...
Enjoy reading our other articles and stay tuned with ...
SAS Macros - Part 4 - A finishing tou
to Macro
Kindly do provide your feedback in the 'Comments' Section and share as much as possible. We have already covered most abou
Macros our previous articles.  This
article has been written in order to
Posted by Saurabh Singh
give it a finishing touch. ...

Follow by Email

1 comment Email address... Subm

Add a comment as Kui Shen

Top comments

Ask Analytics shared this via Google+ 2 years ago  -  Shared publicly
  1  ·  Reply

http://www.askanalytics.in/2015/09/base-sas-certification-questions-series_18.html 2/3
3/14/2018 Ask Analytics: Base SAS Certification Questions Series - Part 4
Newer Post Home Older Post

Subscribe to: Post Comments (Atom)

Dating single Russian girls Need A Date? Single Russian & Stop The Food Craving Instantly And This Is Why Russian Girls Purchase Tokens FUND and Get Bonuses
and beautiful Ukrainian Ukrainian Girls Want Your Love Lose Weight Easily With Minimum Make The Best Girlfriends up to 50% During March. Simple and Fas
women Now! Exercises

Impress with your Solution of previous Fall in love with excel

Copyright 2015: Ask Analytics. Simple theme. Powered by Blogger.

http://www.askanalytics.in/2015/09/base-sas-certification-questions-series_18.html 3/3

You might also like