Question 11

Given:

What is the result?
  • Question 12

    Given the code:

    Which code fragment, when inserted at line n1, enables the code to print sum is 30?
  • Question 13

    Given the code fragment:

    Which two code fragments are valid at line 2?
  • Question 14

    Given the code fragment:

    What is the result?
  • Question 15

    Given:

    What is the output?