Home of real teaching & learning
  • Full support for teachers
  • Focus on critical thinking
  • Engaging classroom activities
  • Integrated student eBook
  • Assessed tasks / qBank
  • Practice exam questions

The InThinking Guarantee: Our sites are written by expert practitioners and not by AI

See our AI policy

Disclaimer: InThinking subject sites are neither endorsed by nor connected with the International Baccalaureate Organisation.

Don't miss out, find out!

B 2.4.5 Worksheet 1 Java

Question 1 (a) The iterative method iter_d(int n) is shown, which prints numbers to the console: (i) State the output printed by the call iter_d(4);. [1] (ii) Construct the recursive method recur_d(int n) that performs the same function. [3] Question 2 (a) The iterative method iter_e(String s, int n) is shown, which repeats a string: (i) State the value returned by the call iter_e("Go", 3);. [1] (ii) Construct the...

Help