For single-precision and double-precision operands, the general expression operand_1 == operand_2 should be replaced by this condition:

A. operand_1 - operand_2 < EPSILON
B. abs(operand_1 - operand_2) < EPSILON
C. operand_2 - operand_1 < EPSILON
D. operand_1 - operand_2 >= EPSILON


Answer: B

Computer Science & Information Technology

You might also like to view...

If the user enters the end-of-file character, function raw_input raises an __________.

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

Computer Science & Information Technology

Modify the INSTALLED SOFTWARE TRANSACTION, which is used to update the SOFTWARE MASTER and to produce the SOFTWARE INSTALLATION LISTING. Delete the TITLE and VERSION NUMBER, because they may be obtained from the SOFTWARE MASTER and are redundant keying. Add the HARDWARE INVENTORY NUMBER, specifying the installation computer. Delete the CAMPUS LOCATION and ROOM LOCATION, because they are elements of the installation computer.

What will be an ideal response?

Computer Science & Information Technology

What Intel processor technology interconnects the processor, chipset, and wireless network adapter as a unit, improving laptop performance?

A. Pentium B. Core i7 C. Centrino D. Celeron

Computer Science & Information Technology

Lossy compression is all about removing information that is not vital to the image or sound. If you have an 8 × 8 array of pixels (i.e., the normal image) it is impossible to easily remove information to compress the image. If an image is transformed into DCT coefficients, the data becomes ordered in the sense that the 64 DCT coefficients are arranged from 1 to 63 with 0 being the D.C. coefficient (the average luminance) and the other coefficients corresponding to horizontal and vertical waves of increasing frequency. The highest numbered coefficients are the highest visual frequencies and these often tend to be low values (if you photograph a sky with little detail, there are no high?frequency visual components). Consequently, you can sometimes reduce these coefficients to zero with

little effect on the image. What will be an ideal response?

Computer Science & Information Technology