Question

In: Computer Science

Which following statement(s) about SAS names is/are correct? Check all that apply. A. A SAS variable...

Which following statement(s) about SAS names is/are correct? Check all that apply. A. A SAS variable name starts with a letter or an underscore and continues with any combination of numbers, letters, or underscores as the same as library reference names and data set names. B. A SAS library references name must be 8 characters or less and begin with a letter or an underscore. C. A SAS data set names are 1 to 32 characters in length and are not case sensitive.

Solutions

Expert Solution

Answer: Option B and C are correct.

Explanation :

A SAS name is a token that represents:

  1. variable
  2. data set
  3. format
  4. informat
  5. procedure
  6. option
  7. statement label
  8. libref or fileref
  9. catalog entry
  10. array
  11. macro or macro variable
  12. component object

Rules for the SAS names (variable names, data set names, library reference names, etc) :

  • The first character must be an English letter or underscore and subsequent characters can be letters, numeric digits, or underscores.
  • User-defined format names cannot end in a number.
  • Blanks cannot appear here and special characters, except for the underscore, are not allowed. In filerefs only, you can use the dollar sign ($), the number sign (#), and the at sign (@).

According to the above rules,

  • Variables start with a letter or underscore and continue with any combination of the numbers, letters, or underscores as the same as library reference names and data set names. But the name of the variable should contain 32 characters. So this statement is incompletely explained in Option A. So, option A is eliminated.
  • Library reference names have a length of 8 Bytes i.e it can contain characters less than equal to 8 characters and according to the above rules it should start with a letter or underscore. So, Option B is correct.
  • The length of the data set name is 32 Bytes. It can contain 1 to 32 characters.
  • SAS converts all the characters in the data set name directly to uppercase. So, Cat and CAT has no difference. So, data set names are not case sensitive
  • The above two statements tell us that option C is correct.
  • From above all discussions, options B and C are correct.

Related Solutions

Which of the following SAS statement(s) could not be used under “Proc Means” Step? Check all...
Which of the following SAS statement(s) could not be used under “Proc Means” Step? Check all that apply. A. CLASS Statement B. BY Statement C. TITLE Statement D. VAR Statement E. WHERE Statement F. TABLES Statement
Which of the following statements about mutations and genetic disease are correct? CHECK ALL THAT APPLY!...
Which of the following statements about mutations and genetic disease are correct? CHECK ALL THAT APPLY! Check all that apply A. Some genetic diseases may be caused by the substitution of only one incorrect amino acid in a protein. B. A frameshift mutation affects only the codon directly after the addition or deletion. C. A change in DNA sequence may change the pattern of protein folding, resulting in genetic disease. D.It is possible for the substitution of one base for...
Which of the following is a true statement? (Check all that apply.)
Which of the following is a true statement? (Check all that apply.)A technological improvement isolated to one sector can indirectly result in more production in all other sectors.All points on the PPF are productively efficient.It is possible for a point to be allocatively efficient without being productively efficient.PPFs slope down for the same reason that the demand curve slopes down.
Which of the following statements about foreign direct investment (FDI) are correct? Check all that apply....
Which of the following statements about foreign direct investment (FDI) are correct? Check all that apply. ______________________________________________________________________ The acquisition of a U.S. corporation by a German company is an example of European direct investment in the United States. Direct investment between the United States and Japan to produce the same automobile is classified as conglomerate diversification. FDI occurs when earnings of the parent company’s foreign subsidiary are reinvested in plant expansion. FDI flows include purchases of U.S. government bonds by...
Consider the following information. Which of the following is correct? Check all that apply. Date: October...
Consider the following information. Which of the following is correct? Check all that apply. Date: October 8, 2020.   Name: Apple Computer.   Symbol: AAPL.   Close: 116, up $1. Day high: 117. Day low: 115. Volume: 133 million shares. 10-day average volume: 139.5 million shares. Market capitalization: $2 trillion. Dividend: 2.5%. PE: 35. Beta 1.3. YTD % change: 55%. Check All That Apply Annual dividends total $2.50. Annual dividends total $2.50. Earnings per share in the last four quarters was $3.31. Earnings...
Identify the correct statement in the context of forced convection. (Check all that apply.) A) Natural...
Identify the correct statement in the context of forced convection. (Check all that apply.) A) Natural convection enhances forced convection heat transfer in transverse flow. B) Natural convection hurts forced convection heat transfer in transverse flow. C) Natural convection enhances forced convection heat transfer in opposing flow. D) Natural convection hurts forced convection heat transfer in opposing flow.
Which of the following statements about a monopoly firm are true? (Check all that apply.) It...
Which of the following statements about a monopoly firm are true? (Check all that apply.) It faces a downward-sloping demand curve. Its long-run average total cost curve is always downward sloping. Its marginal revenue is always below the price. It is always profitable in the short run. It is the only seller of a good or service with no close substitutes available. It always experiences economies of scale.
Which of the following statement(s) is correct?
Which of the following statement(s) is correct?Cash flows are conventional when there are no cash inflows prior to a cash outflow.In terms of shareholder wealth maximization in the context of mutually exclusive projects, the project with the higher IRR is not necessarily better than the project with the lower IRR.Financing matters for valuation, but is typically ignored in determining cash flows in capital budgeting.a. All three are falseb. Only 1. is correctc. All three are correctd. Only 2. is correcte....
Which of the following contain a coordinate covalent bond? Check all that apply. Check all that...
Which of the following contain a coordinate covalent bond? Check all that apply. Check all that apply. H3O+H3O+ H2OH2O BF−4
Which of the following statements about the FCF valuation model are true? Check all that apply....
Which of the following statements about the FCF valuation model are true? Check all that apply. A. The model has limited applicability because it fails to adjust for a firm's riskiness—particularly that created by managers' decisions to use debt in the firm's capital structure, or decisions regarding the payment of cash dividends. B. The model is useful because it examines the relationship between a company's risk, operating profitability, and value of the firm's operations. C. A company's FCFs are a...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT