In the negabinary system an i?bit binary integer, N, is expressed using positional notation as:
This is the same as conventional natural 8421 binary weighted numbers, except that alternate positions have
the additional weighting +1 and ?1. For example, 1101 = (?1 × 1 × 8) + (+1 × 1 × 4) + (?1 × 0 × 2) + (+1 × 1 × 1) = ?8
+ 4 + 1 = ?3. The following 4?bit numbers are represented in negabinary form. Convert them into their decimal
equivalents.
a. 0000
b. 0101
c. 1010
d. 1111
a. 0
b. +4 + +1 = 5
c. ?8 + ?2 = ?10
d. ?8 + +4 + ?2 +1 = ?5
You might also like to view...
When a variable or constant is required by multiple methods in a GUI program, where should it be defined?
A. Inside one of the methods used by the GUI. B. Inside a nested method shared by both methods. C. Outside of the methods, but inside of the Form class shared by both methods. D. Inside of an inherited class.
Information security's primary mission is to ensure that systems and their contents retain their confidentiality at any cost.
Answer the following statement true (T) or false (F)