The volume, , of a sphere is given as a function of its radius, , by . Evaluate .

A.
B.
C.
D.
E.


Answer: D

Computer Science & Information Technology

You might also like to view...

Develop a C# app that will determine the gross pay for each of three employees. The company pays straight time for the first 40 hours worked by each employee and time-and-a-half for all hours worked in excess of 40 hours. You’re given a list of the three employees of the company, the number of hours each employee worked last week and the hourly rate of each employee. Your app should input this information for each employee, then should determine and display the employee’s gross pay. Use the Console class’s ReadLine method to input the data.

What will be an ideal response?

Computer Science & Information Technology

. Create a class that represents a grade distribution for a given course. Write methods to perform the following tasks:

• Set the number of each of the letter grades A, B, C, D, and F. • Read the number of each of the letter grades A, B, C, D, and F. • Return the total number of grades. • Return the percentage of each letter grade as a whole number between 0 and 100, inclusive. • Draw a bar graph of the grade distribution. The graph will have five bars, one per grade. Each bar can be a horizontal row of asterisks, such that the number of asterisks in a row is proportionate to the percentage of grades in each category. Let one asterisk represent 2 percent, so 50 asterisks correspond to 100 percent. Mark the horizontal axis at 10 percent increments from 0 to 100 percent, and label each line with its letter grade. For example, if the grades are 1 A, 4 Bs, 6 Cs, 2 Ds, and 1 F, the total number of grades is 14, the percentage of As is 7, the percentage of Bs is 29, the percentage of Cs is 43, the percentage of Ds is 14, and the percentage of Fs is 7. The A row would contain 4 asterisks (7 percent of 50 rounded to the nearest integer), the B row 14, the C row 21, the D row 7, and the F row 4. This project requires several new methods, but most are simple, so it is just a matter of adding and testing a piece at a time until it is complete. The code to draw the graph is based on the project TriangleOfAsterisks from Chapter 4.

Computer Science & Information Technology

Given the data cleanup problem described in the text, write the pseudocode for the converging-pointers algorithm for data cleanup.

What will be an ideal response?

Computer Science & Information Technology

A _____ document contains no syntax errors and satisfies the general specifications for XML code.

A. ?synthesized B. ?compound C. ?checked D. ?well-formed

Computer Science & Information Technology