7.7. Multiple-Choice Exercises

7.7.1. Easier Multiple Choice Questions

You can step through the code above using the Java Visualizer by clicking on the following link Prob-7-9-4.

Before you keep reading...

Runestone Academy can only continue if we get support from individuals like you. As a student you are well aware of the high cost of textbooks. Our mission is to provide great books to you for free, but we ask that you consider a $10 donation, more if you can or less if $10 is a burden.

You can step through the code above using the Java Visualizer by clicking on the following link Prob-7-9-5.

7.7.2. Medium Multiple Choice Questions

You can step through the code above with the Java Visualizer by clicking the following link Prob-7-10-2.

You can step through the code above with the Java Visualizer by clicking the following link Prob-7-10-3. Can you fix the code in the Java Visualizer so that it works as intended?

You can step through the code above with the Java Visualizer by clicking the following link Prob-7-10-4.

You can step through the code above with the Java Visualizer by clicking the following link Prob-7-10-5.

You can step through the code above with the Java Visualizer by clicking the following link Prob-7-10-6.

You can step through the code above with the Java Visualizer by clicking the following link Prob-7-10-7.

You can step through the code above with the Java Visualizer by clicking the following link Prob-7-10-8.

You can step through the code above with the Java Visualizer by clicking the following link Prob-7-10-9.

You can step through the code above using the Java Visualizer by clicking on the following link Prob-7-10-10. Can you fix the code so that it won’t result in an infinite loop?

7.7.3. Hard Multiple Choice Questions