Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. In about 100 words, summarize the main points of Chapter 4 of the Text. 2. Us

ID: 3671975 • Letter: 1

Question

1. In about 100 words, summarize the main points of Chapter 4 of the Text.

2. Using the method discussed in class, convert (long hand)

a. Decimal (that is, base 10) 8888 to binary

b. Decimal 2555 to base 6

c. Decimal 8990 to base 19; use symbols 0-9 and A-Z You must show ALL your steps to receive full credit.

3. Convert (4645)9 to base 10.

4. Carry out the following additions in the given base: a. (5665)7 + (4664)7 = ( )7 b. (AB56)16 + (9868)16 = ( )16

5. Convert the number (201.201)3 to base 10.

6. Consider a 32-bit word size.

a. What is the signed-number (in binary) representation of 4667?

b. What is the signed-number (in binary) representation of -4667?

c. What is the 2’s complement (in binary) representation of -4667?

Explanation / Answer

package com.he.capillary.chegg1;

public class NumConvertor {

   public static void main(String[] args) {
      
      
       System.out.println("8888 In Binary : "+Integer.toBinaryString(8888));
      
       System.out.println("2555 : "+Integer.toUnsignedString(8888,6));
      
       System.out.println("8990 : "+Integer.toUnsignedString(8990,19));
      
       System.out.println("4667 In Binary : "+Integer.toString(4667,2));
      
       System.out.println("-4667 In Binary : "+Integer.toString(-4667,2));
      
       System.out.println("4645 -- 9"+Integer.toString(Integer.parseInt(4645+"", 9), 10));
      
       int num1 = Integer.parseInt(Integer.toString(Integer.parseInt(5665+"", 7), 10));
       int num2 = Integer.parseInt(Integer.toString(Integer.parseInt(4664+"", 7), 10));
       System.out.println(num1+num2);
   }
}

I am not awar of 2's complement. Let me know if you require more details.