Convert 1/8% to a decimal.
a. 0.12500 |
||
b. 0.01250 |
||
c. 0.00125 |
Convert the following 8-bit twos-complement numbers to signed decimal numbers. (a) 00000001 (c) 1 9-6 (b) 10010000 (d) 10000000
a) Convert 145 to binary, b) Convert 11001100 to decimal, c) convert 01101011 to hex, d) convert C7 to binary and then binary to decimal
1. Perform the following conversions: a. Convert 97 (decimal) to binary and to hex b. Convert $1C4 (hexadecimal) to binary and to decimal c. Convert 01101001 (binary) to hex and to decimal
a) Convert the binary number 101102 to base 8. b) Convert the decimal number 47.4410 to base 12. Find the base 12 fraction up to 6 digits to the right of the fraction point
(a) Convert 10100011 from binary to decimal (b) Convert (5789) 10 to Octal (c) Convert (2576), to binary (d) Convert (ABDF).. to decimal (e) Convert (241823), to Hexadecimal Q2. (a) Subtract 1100110 from 0110001 using 2's complement (CLO 1: 2 MARKS) (b) Add 79 and (-98) using 10's complement (CLO 1: 2 MARKS) Q 3. Derive the Boolean expression for the logic circuit shown below: (CLO 1: 3 MARKS) A Q 4. Simplify the given Boolean expression using Boolean laws...
5 Convert the following binary numbers to decimal form: (a) 110011 (b) 101.1101 (c) 0.1000001 (c) 0.1000001 (d) 1010101010101 6) Convert the following decimal numbers to binary format (a) 366 (b) 4.25 (c) 1/6
(1) Convert the decimal numbers +61 and +27 to their 8-bit 2's complement representations. Then perform the binary equivalent of (b) (27)+ (+61); and Convert the answers back to decimal and verify that they are correct.
Question No.2 (2 Marks) Convert the following binary numbers to decimal: (a) 11 (b) 100 (c) 111 (d) 1000 (e) 1001 (1) 1100 (g) 1011 (h) 1111 Convert the following binary numbers to decimal: (a) 1110 (b) 1010 (c) 11100 (d) 10000 (e) 10101 (f) 11101 (g) 10111 (h) 11111 Convert each binary number to decimal: (a) 110011.11 (b) 101010.01 (c) 1000001.111 (d) 1111000.101 (e) 1011100.10101 (f) 1110001.0001 (g) 1011010.1010 (h) 111111111111
implement two functions in c++ format 1.Convert decimal number to floating point representation (hexa decimal) 2.Convert floating point representation (hexa decimal) to decimal number Note: We only care about the floating point number in IEEE754 Encoding table below (i.e., exponent 1 – 254). ----------------------------------------------------------------------------------------------------------------- void from_decimal_to_floating(){ char number[10]; float decimal = 0; cout << "Input decimal to convert a hexa decimal number (e.g., 0.4375): "; cin >> decimal; //write the code here //end of code cout << decimal << "'s...
2. Convert these from decimal to binary: a) 19681999 b) 2011010108 2. Convert these from decimal to binary: a) 19681999 b) 2011010108