Suppose you need to accommodate measurements in inches and centimeters on your new Web site. Both units need to be accurate to two decimal places. The maximum length you need to represent is 50.05 inches.

a. How many characters do you need to represent the maximum value in
inches?
b. How many characters do you need to represent the maximum value in
centimeters?



a. 5 characters, including the decimal point.
b. 50.05 inches * 2.54 cm/inch = 127.127 cm, which is 7 characters including the decimal point, but the specification said that accuracy would only be
to two decimal places. So the maximum length would be 6 characters.

Computer Science & Information Technology

You might also like to view...

You can use the ________ to display a list of shapes, pictures, and text boxes that are located on the current page

A) Object pane B) Selection pane C) Object dialog box D) Selection dialog box

Computer Science & Information Technology

Networks can be classified according to their size and geographic scope.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

?Identify the grouping element which contains an illustration, photo, diagram, or similar object that is cross-referenced elsewhere in a document.

A. ?figure B. ?character C. ?image D. picture?

Computer Science & Information Technology

In digital forensic investigations for information security, most operations focus on policies-documents that provide managerialĀ guidance for ongoing implementation and operations. ____________

Answer the following statement true (T) or false (F)

Computer Science & Information Technology