Tag: programming languages

Questions Related to programming languages

  1. Sashelp.PrdSale

  2. Sasuser.MySales

  3. Profits.Quarter1

  4. all of the above


Correct Option: D
  1. a.proc contents data=area51.all nods;

  2. a.proc contents data=area51 all nods;

  3. a.proc contents data=area51 all noobs;

  4. a.proc contents data=area51 all.nods;


Correct Option: A
  1. a.data saleslibrary.salesanalysis;

  2. set sales_99.salesanalysis;

  3. proc print data=salesanalysis.quarter1;

  4. a.proc freq data=1999data.salesanalysis;


Correct Option: B
  1. a.defines a library called Spss using the OSIRIS engine

  2. a.defines a library called Osiris using the SPSS engine

  3. a.defines two libraries called Osiris and Spss using the default engine

  4. a.defines the default library using the OSIRIS and SPSS engines


Correct Option: B
  1. a.SAS continues processing the step.

  2. a.SAS continues to process the step, and the SAS log displays messages about the error.

  3. a.SAS stops processing the step in which the error occurred, and the SAS log displays messages about the error.

  4. SAS stops processing the step in which the error occurred, and the Output window displays messages about the error.


Correct Option: C
  1. a.where style='RANCH' or 'SPLIT' or 'TWOSTORY';

  2. a.where style in 'RANCH' or 'SPLIT' or 'TWOSTORY';

  3. a.where style in (RANCH, SPLIT, TWOSTORY);

  4. a.where style in ('RANCH','SPLIT','TWOSTORY');


Correct Option: D
  1. a.PROC PRINT does not create a default report; you must specify the rows and columns to be displayed.

  2. PROC PRINT displays all observations and variables in the data set. If you want an additional column for observation numbers, you can request it.

  3. PROC PRINT displays columns in the following order: a column for observation numbers, all character variables, and all numeric variables.

  4. a.PROC PRINT displays all observations and variables in the data set, a column for observation numbers on the far left, and variables in the order in which they occur in the data set.


Correct Option: D