Number Systems Flashcards
(17 cards)
What is the base of the decimal number system?
10
What is the base of the binary number system?
2
What is the base of the octal number system?
8
What is the base of the hexadecimal number system?
16
What digits are used in the hexadecimal number system?
0–9 and A–F
What digits are used in the octal number system?
0–7
What is the 1’s complement of a binary number?
It is the binary number obtained by flipping all bits (0 to 1 and 1 to 0)
What is the 1’s complement of 1010?
0101
What is the 2’s complement of a binary number?
It is the 1’s complement plus 1
What is the 2’s complement of 0010?
1110 (if using 4 bits)
What is the main use of 2’s complement in binary systems?
To represent negative numbers
What does BCD stand for?
Binary Coded Decimal
What is the BCD representation of the decimal number 7?
111
What is the BCD representation of the decimal number 59?
0101 1001
What is the purpose of using BCD in digital systems?
To simplify the display of decimal digits on digital devices
What is the number system most commonly used in digital electronics?
Binary
What is the difference between binary and BCD?
Binary represents whole numbers in base 2, while BCD represents each decimal digit in binary separately