Which of the following is true regarding floating-point arithmetic in computers?
- Floating-point arithmetic is exact and has no rounding errors.
- Floating-point numbers are represented using fixed-length binary formats.
- The IEEE 754 standard defines the representation and operations of floating-point numbers. (Correct Answer)
- The precision of floating-point arithmetic is limited by the size of the data bus.
Explanation
Correct answer: c) The IEEE 754 standard defines the representation and operations of floating-point numbers.
Explanation: The IEEE 754 standard is a widely used standard that defines the representation and operations of floating-point numbers in computers. Floating-point arithmetic is not exact and can have rounding errors due to the limited precision of binary representations. Floating-point numbers are represented using variable-length binary formats to allow for a range of values and precision. Option d) is false, as the precision of floating-point arithmetic is limited by the number of bits used to represent the numbers, not the size of the data bus.