Question 42 :

 The following SAS program is submitted:

 libname sasdata 'SAS-data-library';

 data test;

 set sasdata.chemists (keep = job_code);

 if job_code = 'chem3'

 then description = 'Senior Chemist';

 run;

 The variable JOB_CODE is a character variable with a length of 6 bytes.

 Which one of the following is the length of the variable DESCRIPTION in the output data set?

  1. 6 bytes
  2. Get all Questions and Answer from here
  3. You need to have paid subscription to access all questions
  4. Thanks for considering SAS Certification Material

 Correct Answer : 3

 Exp : Length of a variable is assigned during first assignement, in this case

 description = "Senior Chemist" which is 14 character long, so the new variable description will have lenght of 14. So answer is 3

You can access to full explanation to question and answer from this page.