1. Engineering
  2. Computer Science
  3. please also calculate the range of numbers that can bc...

Question: please also calculate the range of numbers that can bc...

Question details

Question 3 Consider a hypothetical computer which supports a ternary (or base-3) number system. In representation, the digits used to form a base-3 number are only 0, 1 and 2. For example, obviously we have (10 (101)3 and (100 (10201)3 for unsigned numbers In order to also support signed numbers, your task is to apply the idea of twos complement in binary representations to design a threes complement scheme for n-digits signed ternary numbers (only for negative numbers), so that we can also reuse the adder unit in ALU for subtraction. You should give an encoding rule just like the flip-bits-plus-one rule for twos complement. Then calculate the range of numbers that can be represented by this scheme if n 4 12 (Hint: Starting with a similar mathematical property like twos complement the sign digit is still the most significant one, but both 0 and 1 can be for a positive value and both 1 and 2 can indicate a negative value.)

please also calculate the range of numbers that can bc represented by this scheme if n =4

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution