Two computers and a reference machine produce the following results.



Present the results in a normalized form and provide benchmarks for machines A and B.


The times are normalized by dividing by the reference.



Computer Science & Information Technology

You might also like to view...

The Discount Calculator application determines the discount the user will receive based on how much money the user spends. A 15% dis- count is received for purchases of $150 or more, a 10% discount is received for purchases between $100–$149 and a 5% discount is received for purchases between $50–$99. Purchases less than $50 do not receive a discount. While testing your application, you notice that the application is not calculating the discount properly for some values. Use the debugger to find and fix the logic error(s) in the application. Figure 11.22 displays the correct output for values in each range.


a) Copying the template to your working directory. Copy the C:Examples Tutorial11ExercisesDebuggerDiscountCalculator directory to your C: SimplyJava directory.
b) Opening the template file. Open the DiscountCalculator.java file in your text editor.
c) Opening the Command Prompt window and changing directories. Open the Com- mand Prompt window by selecting Start > Programs > Accessories > Command Prompt. Change to your working directory by typing cd C:SimplyJavaDiscount- Calculator.
d) Compiling the application for debugging. Compile your application by typing javac
-g DiscountCalculator.java,.
e) Running the application. When your application compiles correctly, run it by typing java DiscountCalculator. To test your application, enter the amounts shown in Fig. 11.22. When you enter the value 75 (or any other value in the range 50–99), notice that the application incorrectly indicates a discount of 15%.
f) Starting the debugger. Close the applica

Computer Science & Information Technology

To move back one cell to the left, press ________

A) Shift + Tab B) Shift + Enter C) Ctrl + Enter D) Ctrl + Tab

Computer Science & Information Technology

When you convert an image to Grayscale, Photoshop translates every intensity to a different ____________________ of gray.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

______ can be viewed as an entire collection, in custom albums, as a slide show, or in their original storage location.?

A. ?Photos B. ?Movies C. ?Music D. ?Folders

Computer Science & Information Technology