Starting from:

$25

CS1400-Homework 1 Solved

1.      Convert:

1.1.       515.0625(10) ­­® ? (16);

                        ®? (2);

                        ®? (2/10).

                       ®? (8);

     Hint: Convert the decimal number first to binary, from binary it is easy to convert to octal and hexadecimal by spiting the binary number into 3-bit or 4-bit groups.

 

1.2.     776.1(8) ­­® ? (16);

                 ­­       ® ? (3);

                   ­     ®  ? (2/10);

Hint: First convert the octal number to binary, from binary to hexadecimal and decimal, from decimal to base 3.

 

1.3.      1001010110.00100101 (2/10) ®  ? (16);

                                                       ­­   ® ? (8).

Hint: First convert the binary-decimal number to decimal, after that to binary. From binary to octal and hexadecimal is a piece of lemon cake.  

 

2. Binary Arithmetic

Calculate the following arithmetic operations

2.1. Addition 11100001 + 11100011 + 1111111 + 0011111;

                      01111010+10101111 + 0011111

2.2.Multiplication 1100011 *1011

                         1010100*0111

2.3.Division 1100101/1001

                10000111/1101

2.4.Subtraction 1000111 – 1111 – 1011

                      10101010- 01011111

 

Remark: All numbers are binary.

 

3.     Fill In

    Fill in using scientific notation:
1 Gbyte( giga) memory is  ………………………… (recall the not-SI measures for memory)

1 GHz(giga) is    ………………………….

1 KHz(kilo) is    ………………………….

5 Ti(tebi) is    ………………………….

1 Mi (mebi) is ………………………….

1  psec(pico) is ………………………….

1 msec (micro) is ………………………….

1  nsec(nano) is ………………………….

1 msec (mili) is ………………………….

Hint: Hz is Hertz – dimension for frequency, sec is seconds

More products