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.

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.

Before you keep reading...

Making great stuff takes time and $$. If you appreciate the book you are reading now and want to keep quality materials free for other students please consider a donation to Runestone Academy. We ask that you consider a $10 donation, but if you can give more thats great, if $10 is too much for your budget we would be happy with whatever you can afford as a show of support.

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