NUMBER SYSTEMS (Part 2) Flashcards
DETERMINING THE RADIX
USING POSITIONAL NOTATION, BOTH DIGITS MUST BE CONVERTED TO DECIMAL THEN SOLVE FOR THE UNKNOWN BASE.
NUMBER SYSTEM OPERATIONS
- ARITHMETIC OPERATIONS
- BITWISE OPERATIONS
- RELATIONAL OPERATIONS
used to evaluate a condition that’s applied to one or two boolean expressions. The result of the evaluation is either true or false.
RELATIONAL OPERATIONS
works with the binary representation of a number rather than that number’s value. The operand is treated as a set of bits, instead of as a single number. Bitwise operators are similar in most languages that support them.
bitwise operator
Two forms of complement
DIMINISHED RADIX:
RADIX:
〖(𝑟−1)〗^′ 𝑠 𝐶𝑜𝑚𝑝𝑙𝑒𝑚𝑒𝑛𝑡=(𝑟^𝑛−1)−𝑁
DIMINISHED RADIX:
𝑟^′ 𝑠 𝐶𝑜𝑚𝑝𝑙𝑒𝑚𝑒𝑛𝑡=[(𝑟^𝑛−1)−𝑁]+1
RADIX: