Skip to main content

Introduction to Computing MCQs with Answers

Practice important Introduction to Computing MCQs with answers and explanations.

Chapter: 27
Q441:
In the floating-point example, how is the value 11/8 encoded?
A. 0 1 0 1 1 0 0 1
B. 1 0 1 1 1 0 0 1
C. 0 0 1 1 0 0 1 1
D. 1 0 1 0 0 1 1 1
Correct Answer: A
Chapter: 27
Q442:
What happens if a value is not in normalized form?
A. It may have multiple representations
B. It will be incorrectly decoded
C. It will always be zero
D. It will have an incorrect exponent
Correct Answer: A
Chapter: 27
Q443:
What is the binary representation of 3/8 in floating-point notation?
A. 111100
B. 1101100
C. 10001100
D. 1010101
Correct Answer: A
Chapter: 27
Q444:
How is the value zero represented in floating-point notation?
A. A bit pattern of all 1s
B. A bit pattern with a sign bit of 1
C. A bit pattern with all 0s
D. A bit pattern with alternating 0s and 1s
Correct Answer: C
Chapter: 27
Q445:
What value does the floating-point pattern 11101011 represent?
A. =-23/4
B. 23/4
C. =-11/8
D. 45604
Correct Answer: A
Chapter: 27
Q446:
When converting a decimal fraction to floating-point notation, what is the first step?
A. Convert to binary notation
B. Set the sign bit
C. Determine the exponent
D. Fill the mantissa
Correct Answer: A
Chapter: 28
Q447:
What is a truncation error in floating-point notation?
A. Error in storing large values
B. Error when the mantissa field is too short
C. Error in the exponent field
D. Error in the sign bit
Correct Answer: B
Chapter: 28
Q448:
In a one-byte floating-point system, how is the value 25/8 inaccurately represented?
A. 10.101
B. 10.01
C. 11.01
D. 11.1
Correct Answer: B
Chapter: 28
Q449:
What is the main reason for truncation errors in floating-point systems?
A. Long exponent fields
B. Short mantissa fields
C. Inaccurate sign bits
D. Incorrect radix points
Correct Answer: B
Chapter: 28
Q450:
What is one primitive method to reduce truncation errors?
A. Use a longer exponent field
B. Use a longer mantissa field
C. Use a smaller byte size
D. Ignore the errors
Correct Answer: B
Chapter: 28
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
Correct Answer: B
Chapter: 28
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
Correct Answer: A
Chapter: 28
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
Correct Answer: A
Chapter: 28
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¾
Correct Answer: A
Chapter: 28
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
Correct Answer: B
Chapter: 28
Q456:
What is the accurate result when adding 2½ and two 1/8 values?
A. 1101011
B. 1010101
C. 111000
D. 11100011
Correct Answer: A
Chapter: 28
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
Correct Answer: A
Chapter: 28
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
Correct Answer: A
Chapter: 28
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
Correct Answer: A
Chapter: 28
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
Correct Answer: A

Test Your Knowledge

Take a timed quiz on Introduction to Computing

🚀 Start Quiz Now