Tag: programming languages

Questions Related to programming languages

  1. Format is not created

  2. Format is created with the name of num

  3. ERROR: These two ranges overlap: 1-6 and 6-10 (fuzz=1E-12).

  4. Syntax Error


Correct Option: B
  1. No observations in dataset y

  2. variable a in dataset y will be numeric and of length 8

  3. variable a in dataset y will be character and of length 12

  4. Error since the variable a is defined as both character and numeric


Correct Option: D
  1. data new;set income(in=IN_A rename=( product = pno)) sales(in=in_b); if IN_A and IN_B;run;

  2. data new;merge income(in=IN_A) (rename( product = pno)) sales(in=IN_B);run;

  3. data new;merge income(in=IN_A) (rename=( product = pno)) sales(in=IN_B);if IN_A and IN_B;run;

  4. data new;merge income(in=IN_A rename=( product = pno)) sales(in=in_b); if IN_A and IN_B;run;


Correct Option: D
  1. proc print data = new N='total';

  2. proc print data = new sum='total';

  3. proc print data = new; sum/ label='total';

  4. proc print data = new sum; label='total';


Correct Option: A