The contents of the raw data file AMOUNT are listed below:
--------10-------20-------30
$1,234
The following SAS program is submitted:
data test;
infile 'amount';
input @1 salary 6.;
run;
Which one of the following is the value of the SALARY variable?
A. 1234
B. 1,234
C. $1,234
D. . (missing numeric value)Click Comment link to get answer
Repeat question answer is D.
ReplyDeleteTerima kasih
DeleteAnswer D
ReplyDeleteD(missing)
ReplyDeleteD
ReplyDeleteD,
ReplyDeleteshould have been DOLLAR6. informat.
Answer is D should have been use DOLLAR OR COMMA
ReplyDeleteD
ReplyDeleteThe answer id D missing numeric , it is not repeated question
ReplyDeleteD
ReplyDeleteAnswer is D
ReplyDeleteRead in using Dollar format or read in as a character.
If it is supposed to use DOLLARw.d and we use COMMAw.d, the results will be similar but without the dollar sign. I suppose the result will be 1234, if we use 6. rather than DOLLAR6. Why missing value?
ReplyDeleteAs the program says it is a number SAS will expect a number instead of ($)character. That's the reason the result window shows the missing value and the log window explain what happened really.
DeleteAll the versions of did not do the automatic conversion;The older version of sas cannot convert them automatically.
I think the answer is D,
ReplyDeleteB & C are out as there cannot be any , or $ in the data.
I opted A out as without the proper informat Dollarw.d, SAS will not be able to read the non standard data $ and ,.
Can the admin plz answer this?
Sakar Sham;
ReplyDeleteSome where we said automatic conversion, this rule does not apply on Dollars sign?
Jahangir
ReplyDeleteAnswer: D
D
ReplyDeleteya answer is d
ReplyDeleteanswer is d
ReplyDeleteAnswer: D
ReplyDeleteCheck out the below question I just posted on my blog that's geared towards the Base SAS Certification exam.
http://sascert3.blogspot.com/2013/03/base-sas-example-question-31.html
Good luck!
Hi Sakar Sham,
ReplyDeleteAutomatic conversion happens only when we do a computation which can be done only by numeric variables.
D
ReplyDeleteFor latest and updated SAS certification dumps in PDF format contact us at completeexamcollection@gmail.com.
ReplyDeleteRefer our blog for more details: http://completeexamcollection.blogspot.in/2015/12/sas-certification-dumps.html
D
ReplyDeletewhy ans D??
ReplyDeletecan u explain?/
Very useful and informative blog and article , thank you for sharing with us keep posting selenium training,selenium online training,selenium training in bangalore, selenium job oriented training in bangalore
ReplyDeleteD
ReplyDeleteHello everybody.
ReplyDeleteI really like you post.
I would like to share page collection with you!
gclub
gclub casino online
Well Said, you have furnished the right information that will be useful to anyone at all time. Thanks for sharing your Ideas.
ReplyDeleteSAS Online Training
Tableau Online Training|
R Programming Online Training|
Your blog is very useful for me,Thanks for your sharing.
ReplyDeleteดูหนังออนไลน์
??
ReplyDeleteNavodaya Selection test 2019 for 9th class vacant admission seats was going to start. Recently the chancellor of Navodaya vidyalaya samithi has give the press advertisement for downloading the hall tickets and
ReplyDeleteNavodaya Admit Card 2019 class 6th. Along with them the admission test date, venues are also declared.
Option A & B are not possible as character variable name will take Joe as value & numeric variable number will try to take xx as value. But since xx is character value and implicit type conversion is not possible hence it will give missing value. Option D is not possible as it's a data error & not compile time error. Program will not execute in compile time error & will throw an error while in case of data error code will be executed with message in log.
ReplyDeleteVery Informative Blog On MSBI Certification.
ReplyDelete