Data Representation - Binary System Flashcards
What is a binary system?
A number system with a base of 2. It counts in the multiples of 2.
Define “bit”
The unit of memory that is used to store a binary digit.
1 kilobyte = ? bytes
1000
Define “nibble”
The unit of memory that is used to store 4 binary digits.
How many binary combinations are possible in a n-bit system?
2^n
Define “overflow error”
An error that occurs when the maximum storage capacity of a register is exceeded.
What does a certain number of binary left shifts do?
It shifts all digits to the left by that many times, which multiplies the number by 2 to the power of the number of shifts
What does a certain number of binary right shifts do?
It shifts all digits to the right by that many times, which divides the number by 2 to the power of the number of shifts
What is the largest number that can be represented using 8 signed bits
127