Introduction to Computing MCQs with Answers
Practice important Introduction to Computing MCQs with answers and explanations.
Multiple Choice Questions
Q451: How does binary notation compare to decimal notation regarding nonterminating expansions?
- A: Fewer values have nonterminating representations in binary
- B: More values have nonterminating representations in binary
- C: Binary notation always terminates
- D: Decimal notation always terminates
View Answer
B
Q452: Why might floating-point notation cause issues in storing dollar amounts accurately?
- A: Because binary representation cannot exactly represent some decimal values
- B: Because the sign bit is incorrect
- C: Because the exponent field is too short
- D: Because the mantissa field is too long
View Answer
A
Q453: What should be done to handle nonterminating expansions in floating-point systems when dealing with money?
- A: Store values in units of pennies
- B: Use larger mantissa fields
- C: Ignore nonterminating values
- D: Convert all values to integers
View Answer
A
Q454: What is the result of adding 2½ to 1/8 in a floating-point system with a 4-bit mantissa?
- A: 25/8
- B: 2
- C: 3
- D: 2¾
View Answer
A
Q455: In the example of adding 2½ and 1/8, what does the result 10.10 represent?
- A: 25/8
- B: 2½
- C: 2¾
- D: 45299
View Answer
B
Q456: What is the accurate result when adding 2½ and two 1/8 values?
- A: 1101011
- B: 1010101
- C: 111000
- D: 11100011
View Answer
A
Q457: How can ordering operations help in handling truncation errors?
- A: By adding smaller quantities first to prevent truncation
- B: By adding larger quantities first
- C: By ignoring small quantities
- D: By using only integer values
View Answer
A
Q458: When truncation errors occur, what is the effect on the final result?
- A: The result becomes less accurate
- B: The result becomes more accurate
- C: The result remains unchanged
- D: The result is always correct
View Answer
A
Q459: What is a common approach to improve accuracy in floating-point calculations?
- A: Manipulate data in integer units
- B: Increase the byte size for storage
- C: Use fewer digits for representation
- D: Ignore truncation errors
View Answer
A
Q460: If 2½ + 1/8 results in 25/8 with a 4-bit mantissa, what is lost in the representation?
- A: The value 1/8
- B: The value 2½
- C: The sign bit
- D: The exponent field
View Answer
A