Questions from Starting Out With Java


Q: What is the base case of each of the recursive methods listed

What is the base case of each of the recursive methods listed in Algorithm Workbench 3, 4, and 5?

See Answer

Q: Which repetition approach is less efficient: a loop or a recursive

Which repetition approach is less efficient: a loop or a recursive method? Why?

See Answer

Q: How is a problem usually reduced with a recursive method?

How is a problem usually reduced with a recursive method?

See Answer

Q: Assume that panel references a JPanel object. Write code that creates

Assume that panel references a JPanel object. Write code that creates a two pixel thick blue line border around it.

See Answer

Q: If you do not change the default close operation, what happens

If you do not change the default close operation, what happens when the user clicks on the close button on a JFrame object?

See Answer

Q: In what type of situation would you present a group of items

In what type of situation would you present a group of items to the user with radio buttons? With check boxes?

See Answer

Q: If you are writing an application to store the customer and inventory

If you are writing an application to store the customer and inventory records for a large business, why would you not want to use traditional text or binary files?

See Answer

Q: When we speak of database organization, we speak of such things

When we speak of database organization, we speak of such things as rows, tables, and columns. Describe how the data in a database is organized into these conceptual units.

See Answer

Q: What is a result set?

What is a result set?

See Answer

Q: What is the number of the first row in a table?

What is the number of the first row in a table? What is the number of the first column in a table?

See Answer