Data representation: number systems, fixed and floating point representation, complements, error-detection codes and computer arithmetic algorithms. - Question Bank
1. Which of the following is a method to represent numbers that can be very large or very small with a limited number of bits, sacrificing some precision?
2. What is the result of the binary division 1101 / 10?
3. Consider the decimal number 15. What is its representation in one's complement using 8 bits?
4. What is a 'normalized' floating-point number?
5. In Booth's multiplication algorithm, what action is taken when the current and previous bits of the multiplier are '01'?
6. What is the primary advantage of using CRC (Cyclic Redundancy Check) over simple parity bits?
7. What does the special exponent value of all 1s in IEEE 754 represent?
8. What is the bias value used in IEEE 754 single-precision floating-point representation?
9. Convert the binary number 111010 to its hexadecimal equivalent.
10. Which number system is often used as a shorthand for binary due to its relationship (3 bits per octal digit)?
11. What is the purpose of a 'carry-lookahead adder'?
12. In the context of computer arithmetic, what is an 'overflow'?
13. What is the result of the binary multiplication 110 * 101?
14. What is the primary goal of using fixed-point representation?
15. Which arithmetic algorithm is commonly used for fast multiplication of binary numbers?
16. What does the 'guard bit' do in certain arithmetic algorithms?
17. What is the typical range of values for the exponent field in IEEE 754 single-precision floating-point representation (before bias)?
18. In the IEEE 754 single-precision floating-point format, how many bits are typically used for the mantissa (significand)?
19. In the IEEE 754 single-precision floating-point format, how many bits are typically used for the exponent?
20. What is a 'checksum' used for in data communication?
21. If a system uses even parity and transmits the byte 11001010, what would be the parity bit added?
22. Which of the following binary numbers has an odd number of 1s?
23. What is the main drawback of one's complement representation?
24. In one's complement, how is the negative of a number represented?
25. What is the purpose of the 'sign bit' in sign-magnitude representation?
26. Which number system uses digits 0-9 and letters A-F?
27. What is the decimal value of the octal number 72?
28. Perform subtraction using two's complement: 1010 - 0101 (assuming 4-bit representation).
29. What is the result of adding binary numbers 1011 and 0101?
30. Convert the decimal number 25 to its binary representation.
31. Consider the binary number 1101. What is its octal equivalent?
32. What is a 'bias' in floating-point representation?
33. What is the range of numbers representable by a fixed-point system limited by?
34. Which standard defines the format for floating-point numbers in most modern computers?
35. What is the 'exponent' in floating-point representation?
36. In floating-point representation, what does the 'mantissa' (or significand) represent?
37. What is the primary advantage of using two's complement over sign-magnitude for arithmetic?
38. If a data stream is 1011001 and an odd parity bit is used, what would be the parity bit?
39. What is an 'even parity' bit?
40. Which of the following is a method used for detecting errors in data transmission or storage?
41. What is the two's complement representation of -5 in an 8-bit system?
42. How do you obtain the two's complement of a binary number?
43. What is the result of the one's complement of the binary number 101101?
44. Which representation method is most commonly used for signed integers due to its efficient arithmetic operations?
45. In a fixed-point representation, where is the binary point assumed to be located?
46. Which of the following is a common method for representing signed integers in computers?
47. What is the decimal value of the hexadecimal number 3A?
48. Convert the binary number 10110 to its decimal equivalent.
49. What is the base of the binary number system?
50. Which number system is natively used by computers for all internal operations?