Tag: programming languages

Questions Related to programming languages

Multiple choice technology programming languages
  1. The code compiles and produces output: int version.

  2. Line 9 will not compile as there is no version of myMethod which takes a char as argument.

  3. An exception at line 9.

  4. Line 4 will not compile as void methods can't be overridden.

Reveal answer Fill a bubble to check yourself
A Correct answer
Multiple choice technology programming languages
  1. Compile successfully, nothing is printed

  2. Runtime error

  3. Compilation error

  4. Inside throwMethod. followed by caught: java.lang.IllegalAccessExcption: demo

Reveal answer Fill a bubble to check yourself
C Correct answer
Multiple choice technology programming languages
  1. proc transpose data=work.temp out=work.temp2 prefix=Quarter; run;

  2. proc transpose data=work.temp out=work.temp2 name=Month prefix=Quarter; run;

  3. proc transpose data=work.temp out=work.temp2 prefix=Month name=Quarter; run

  4. proc transpose data=work.temp out=work.temp2 prefix=Month index=Quarter; run;

Reveal answer Fill a bubble to check yourself
B Correct answer
Multiple choice technology programming languages
  1. For one-way frequency tables, PROC FREQ can compute statistics to test for equal proportions, specified proportions, or the binomial proportion

  2. PROC FREQ automatically displays the output in a report and can also save the output in a SAS data set.

  3. To estimate the strength of an association, PROC FREQ computes measures of association that tend to be close to zero when there is no association and close to the maximum (or minimum) value when there is perfect association.

  4. Statement 1 & 2

  5. Statement 2 & 3

  6. All of the above

Reveal answer Fill a bubble to check yourself
F Correct answer
Multiple choice technology programming languages
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer