Python - Chapter 2 HW
26. Which number represents a value in every number system?
0
1. The highest digit in base 2_____
1
29. How many digits are there in the decimal number system?
10
34. Which number represents the value of the base in every number system?
10
16. Perform the following binary addition: 11001 + 1110011
10001100
13. Convert the following decimal number to binary: 297
100101001
12. Convert the following hexadecimal number to binary: 9CB
100111001011
9. Convert the following octal number to binary: 476
100111110
18. Perform the following binary subtraction: 1000110110 - 111111110
111000
15. Convert the following decimal number to hexadecimal: 297
129
3. In base 16, the digit D is used to represent the decimal value____
13
35. In base 16, the digit E corresponds to what decimal value?
14
32. What is the decimal value of the largest digit in the hexadecimal number system?
15
4. In base 16, the digit F is used to represent the decimal value____
15
20. Perform the following hexadecimal addition: ABC+ABC
1578
31. How many digits are there in the hexadecimal number system?
16
17. Perform the following octal addition: 665 + 771
1656
25. How many digits are there in the binary number system?
2
7. Convert the following binary number to decimal: 11011011
219
10. Convert the following octal number to decimal: 476
318
8. Convert the following binary number to octal: 11011011
333
14. Convert the following decimal number to octal: 297
451
11. Convert the following hexadecimal number to octal: 9CB
4713
2. The highest digit in base 8
7
28. What is the largest digit in the octal number system?
7
6. What is the decimal equivalent of the hexadecimal number 1C9F?
7327
19. Perform the octal subtraction: 126- 32
74
27. How many digits are there in the octal number system?
8
30. What is the largest digit in the decimal number system
9
5. What is the decimal equivalent of the octal number 135?
93
40. Which unit of binary storage has a size that is processor-dependent?
Word
36. What is the lowest base in which the number 10 could be a valid number?
Binary
37. What is the lowest base in which the number 1000 could be a valid number?
Binary
21. Which of the following is a unit in an abstract mathematical system subject to the laws of arithmetic?
Number
22. Which of the following describes the number 0 and any number that can be obtained by repeatedly adding one to it?
Natural Number
39. What is a group of eight binary digits called?
Byte
38. What is the lowest base in which the number 987 could be a valid number?
Decimal
23. Which of the following describes the natural number, the negative of a natural number, or zero?
Integer
33. Which of the following can be used to express the value of every number in any number system?
Polynomial
24. Which of the following is an integer or the quotient of two integers (excluding division by zero)?
Rational Number