Binary Numbers - AP Computer Science Principles
37 cards. Flip a card to check yourself, or study the whole deck card by card.
Card 1 of 37
Study these flashcards All 37 cards in this deck
- Define a nibble in terms of binary numbers.
- A nibble is 4 bits. Half a byte, convenient for hex digit representation.
- What is the binary subtraction of 1111 - 1101?
- 10. Subtract column by column: 1111−1101=10.
- Convert the binary number 1010 to hexadecimal.
- A. Binary 1010 equals decimal 10, which is hex A.
- What does the binary number 111 equal in octal?
- 7. Binary 111 equals decimal 7, which is octal 7.
- What is the binary equivalent of the decimal number 3?
- 11. Decimal 3 = 2+1=21+20, so positions 1 and 0 are set.
- Define a bit in the context of binary numbers.
- A bit is a binary digit, 0 or 1. The fundamental unit of binary information.
- How is the number zero represented in binary?
- 0. Zero has no set bits in any position.
- What is the binary subtraction of 1010 - 101?
- 101. Subtract column by column: 1010−101=101.
- Convert the binary number 100 to hexadecimal.
- 4. Binary 100 equals decimal 4, which is hex 4.
- Convert the binary number 1100 to decimal.
- 12. Binary 1100 = 8+4=23+22=12.
- What does the binary number 1001 equal in octal?
- 11. Binary 1001 equals decimal 9, which is octal 11.
- What is the result of binary multiplication: 101 * 11?
- 1111. Binary multiplication: 101×11=5×3=15=1111.
- Convert the binary number 111 to decimal.
- 7. Binary 111 = 4+2+1=22+21+20=7.
- Convert the decimal number 4 to binary.
- 100. Decimal 4 = 22, so only position 2 is set.
- What is the binary subtraction of 1101 - 101?
- 1000. Subtract column by column: 1101−101=1000.
- What is the result of binary multiplication: 10 * 10?
- 100. Binary multiplication: 10×10=2×2=4=100.
- What is the binary equivalent of the decimal number 7?
- 111. Decimal 7 = 4+2+1=22+21+20.
- What is the binary addition of 110 + 1011?
- 10001. Add column by column with carry: 110+1011=10001.
- How many bits are in a byte?
- 8 bits. Standard computer storage unit containing 8 binary digits.
- Convert the decimal number 8 to binary.
- 1000. Decimal 8 = 23, so only position 3 is set.
- What is the binary equivalent of the decimal number 9?
- 1001. Decimal 9 = 8+1=23+20, so positions 3 and 0 are set.
- What does the binary number 1111 equal in octal?
- 17. Binary 1111 equals decimal 15, which is octal 17.
- What is the result of binary addition: 1011 + 110?
- 10001. Add column by column with carry: 1011+110=10001.
- What is the binary subtraction of 1100 - 101?
- 111. Subtract column by column with borrowing: 1100−101=111.
- What is the binary representation of the hexadecimal number A?
- 1010. Hex A equals decimal 10 = 8+2=23+21.
- What is the largest number that can be represented with 4 bits?
- 15. With 4 bits, maximum is 24−1=16−1=15.
- What is the binary equivalent of the decimal number 10?
- 1010. Decimal 10 = 8+2=23+21, so positions 3 and 1 are set.
- Convert the binary number 101 to hexadecimal.
- 5. Binary 101 equals decimal 5, which is hex 5.
- Convert the binary number 1101 to decimal.
- 13. Binary 1101 = 8+4+1=23+22+20=13.
- What is the result of binary multiplication: 11 * 11?
- 1001. Binary multiplication: 11×11=3×3=9=1001.
- Convert the decimal number 15 to binary.
- 1111. Decimal 15 = 8+4+2+1, all four low-order bits set.
- Convert the decimal number 6 to binary.
- 110. Decimal 6 = 4+2=22+21, so positions 2 and 1 are set.
- Convert the binary number 1011 to decimal.
- 11. Binary 1011 = 8+2+1=23+21+20=11.
- What does the binary number 110 equal in octal?
- 6. Binary 110 equals decimal 6, which is octal 6.
- What is the binary representation of the decimal number 5?
- 101. Decimal 5 = 4+1=22+20, so positions 2 and 0 are set.
- What is the binary addition of 1001 + 101?
- 1110. Add column by column: 1001+101=1110.
- What is the binary representation of the hexadecimal number F?
- 1111. Hex F equals decimal 15, all four low-order bits set.