Tag: technology

Questions Related to technology

  1. 2Date

  2. Rate

  3. Item-Cost

  4. None


Correct Option: B
Explanation:

To solve this question, the user needs to know the rules for naming variables in SAS.

Valid variable names in SAS must adhere to the following rules:

  1. Variable names must start with a letter or an underscore (_).

  2. Subsequent characters can be letters, numbers, or underscores.

  3. Variable names can be up to 32 characters long.

Now, let's go through each option and explain whether it adheres to the naming rules:

A. 2Date: This option is not a valid variable name in SAS as it violates the first rule. Variable names must start with a letter or an underscore (_).

B. Rate: This option is a valid variable name in SAS. It adheres to all the rules for naming variables in SAS.

C. Item-Cost: This option is not a valid variable name in SAS. It violates the second rule. Subsequent characters can be letters, numbers, or underscores, and hyphens are not allowed.

D. None: This option is not a valid variable name in SAS. It violates the first rule. Variable names must start with a letter or an underscore (_).

Therefore, the valid variable name in SAS is option B, Rate.

The Answer is: B

  1. Sales

  2. Work.Sales

  3. Items.Sales(after assigning the libref Items)

  4. both a & b above


Correct Option: D
  1. Collection of SAS files,such as SAS data sets and catalogs

  2. In some OS, a physical collection of SAS files

  3. In some OS, a logically related collection of SAS files

  4. All of above


Correct Option: D
  1. Proc Contents data=Sales._all_nods; run;

  2. Proc Contents data=Sales all.nods; run;

  3. Proc datasets; Contents data= Sales._all_nods; quit;

  4. Both a & c


Correct Option: D
  1. Proc Sort data=sasuser.mysales; by city; run;

  2. Dat sasuser.mysales; set mydata.sales99; run;

  3. Proc Print data=sasuser.mysales label; label city='Mumbai'; run;

  4. None of the above


Correct Option: B
  1. an error

  2. an empty data set

  3. a continous loop

  4. a data set that contains one observation


Correct Option: D