Critical Thinking QuestionsCase 11-1Your colleague Jason is trying to clarify the three-tier program structure to you and he thinks that providing some practical examples will make it easier to explain it to you.Jason offers you the example of a form that accepts user input in an application geared to allow a fundraising operation to track the donations it receives. Which of the following tiers contains the data-entry form for donations?
a. presentationc. businessb. persistenced. record

What will be an ideal response?


Answer: A

Computer Science & Information Technology

You might also like to view...

Which component contains menus?

a. Menu button. b. Title bar. c. Menu bar. d. Combo box.

Computer Science & Information Technology

Create an application that allows users to add items to a daily task list. The application’s GUI should appear as in Fig. 14.16. The tasks should be placed in a JTextArea, one task per line. The application should also display the number of tasks to be performed. Use method String.valueOf to display the number of tasks in numberJText- Field.


a) Copying the template to your working directory. Copy the C:Examples Tutorial14ExercisesTaskList directory to your C:SimplyJava directory.
b) Opening the template file. Open the TaskList.java file in your text editor.
c) Declaring an instance variable. At line 24, declare instance variable counter of type int and initialize its value to 0. Add a comment before you declare the instance vari- able.
d) Adding code to the Add Task JButton’s actionPerformed event handler. At line
108, add code to the addTaskJButtonActionPerformed event handler. This event
handler should display the user input in the taskListJTextArea, increment the instance variable created in the previous step, update the numberJTextField that displays the number of tasks and clear the user input from the taskJTextField. Use method String.valueOf to display the number of tasks in the numberJTextField.
e) Saving the application. Save your modified source code file.
f) Opening the C

Computer Science & Information Technology

The indent of selected text can be increased by clicking the ________ button

Fill in the blank(s) with correct word

Computer Science & Information Technology

A ____ is equivalent to an IF (condition) THEN (instruction A) ELSE (instruction B).

A. sentinel loop B. binary choice C. control variable D. posttest loop

Computer Science & Information Technology