Number Systems Flashcards
What are bases?
The base of a number system is the number of different digits, including zero, that exist in the number system
What is our base system?
Decimal, base 10, 0-9
Computers perform their operations using what base system?
Binary, base 2 (0-1)
What kind of arithmetic does binary base 2 use?
Binary arithmetic (duh)
Can you convert from one base to another without changing its value?
Yes
What are some other common bases computers use?
Base 8, octal, or base 16, hexadecimal
Each digit in a binary number is called a what?
A bit, and can have only the values 0 or 1
A group of 8 bits is called what? 16? 32? 64?
Byte, halfword, word, doubleword
How to determine the maximum value determined by digits?
This formula range = base^n, range of a binary 16 bit number is 2^16.
How to add, subtract, multiply, and divide with the different bases?
There’s addition and multiplication tables, it is pretty straightforward, you can use them for subtraction and division too.
Shifting a number in any base left one digit does what?
Multiplies its value by the base
Shifting a number right one digit does what?
Divides its value by the base.
Signed vs unsigned
Binary coded decimal