2015F001/homework 2

From CDS 130

Jump to: navigation, search

Contents

  1. Powers of Two
    1. Find the result of the following and provide the answer in power of two
    2. Find the result of the following and provide the answer in power of two
  2. Converting numbers between different bases
    1. Convert (53)7 to hexdecimal (base 16) notation
    2. Convert (BF)16 to binary
  3. The template method
    1. Using the template method, convert 1011112 to its decimal equivalent
    2. Using the template method, convert 22710 to its binary equivalent
    3. Using the extended template method, convert 25.87510 to its binary equivalent
  4. Binary representation of numbers
    1. What is the binary (base 2) number 1001111011, written in decimal (base 10)?
    2. What is the largest positive base 10 integer that can be represented with 10 bits?
    3. How many different patterns of 1 and 0 can be produced using 10 bits?
    4. How many bits are needed to represent the base-10 number 1023 ?
    5. How many bit patterns can be formed by 7 bits?
    6. convert (198)10 to its binary equivalent
  5. INTEGER MULTIPLICATION AND DIVISION OF BINARY NUMBERS BY POWERS OF TWO
    1. Multiply 11010101010112 by 810 and represent the result in binary
    2. Divide 1110010110010102 by 3210 and represent the result in binary
  6. Binary Addition
    1. Add (100101.110101)2 and (11.1101)2 . Express your result in binary
    2. Add (1.625)10 and (0.5625)10 . Express your result in binary
  7. Binary Multiplication
    1. Multiply the binary numbers 0110111 and 1011
    2. Calculate (111010101)2 multiplied by (1024)10 (without using a calculator), and represent the result in integer binary.

1. Powers of Two

1.1. Find the result of the following and provide the answer in power of two

215 x 2-13 x 210

1.2. Find the result of the following and provide the answer in power of two

( 218 x 2-12 ) / ( 2-13 x 27 )

2. Converting numbers between different bases

2.1. Convert (53)7 to hexdecimal (base 16) notation

2.2. Convert (BF)16 to binary

3. The template method

3.1. Using the template method, convert 1011112 to its decimal equivalent

1 0 1 1 1 1
25 24 23 22 21 20
 ?  ?  ?  ?  ?  ?

3.2. Using the template method, convert 22710 to its binary equivalent

3.3. Using the extended template method, convert 25.87510 to its binary equivalent

4. Binary representation of numbers

4.1. What is the binary (base 2) number 1001111011, written in decimal (base 10)?

4.2. What is the largest positive base 10 integer that can be represented with 10 bits?

4.3. How many different patterns of 1 and 0 can be produced using 10 bits?

4.4. How many bits are needed to represent the base-10 number 1023 ?

4.5. How many bit patterns can be formed by 7 bits?

4.6. convert (198)10 to its binary equivalent

5. INTEGER MULTIPLICATION AND DIVISION OF BINARY NUMBERS BY POWERS OF TWO

5.1. Multiply 11010101010112 by 810 and represent the result in binary

5.2. Divide 1110010110010102 by 3210 and represent the result in binary

6. Binary Addition

6.1. Add (100101.110101)2 and (11.1101)2 . Express your result in binary

6.2. Add (1.625)10 and (0.5625)10 . Express your result in binary

7. Binary Multiplication

7.1. Multiply the binary numbers 0110111 and 1011

7.2. Calculate (111010101)2 multiplied by (1024)10 (without using a calculator), and represent the result in integer binary.

Personal tools