[PDF] [PDF] ECE-223, Solutions for Assignment 

(198)12 = 1*122 + 9*12 + 8*120 = 144 + 108 + 8 = 260 1 7) Express the 1 8) Convert the following numbers to hexadecimal and to decimal a) 1 11010



Previous PDF Next PDF





[PDF] hexadecimal-to-decimal conversion

hex 0 1 2 3 4 5 6 7 8 9 A B C D E F hexadecimal-to-decimal conversion sum of powers method: converts from least significant most significant digit 310716



[PDF] Decimal-Binary-Hexadecimal Conversion Chart

This chart shows all of the combinations of decimal, binary and hexadecimal C 76 01001100 4C 140 10001100 8C 204 11001100 CC 13 00001101 D



229 APPENDIX 1 DECIMAL - HEXADECIMAL CONVERSION

be held in a single 8 bit byte and convert to two hexadecimal digits The second 124 $7C 125 $70 126 $7E 127 $7F 128 $80 129 $81 130 $82 131 $83



Appendix: Decimal, Hexadecimal and Binary Number Systems

The decimal number system uses the ten digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9 and For decimal to hexadecimal conversion, select the nearest number in the table



[PDF] MC14028B - BCD-To-Decimal Decoder Binary-To-Octal Decoder

August, 2014 − Rev 9 1 Publication Order Number: MC14028B/D MC14028B BCD-To-Decimal Decoder binary−to−hexadecimal (one−of−sixteen), etc , can be achieved by conversion, address decoding, memory selection control,



[PDF] Converting Binary, Decimal and Hexadecimal - Ask Pak Chairul

DECIMAL 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Example #1 Convert the number 256 DECIMAL to HEXADECIMAL DIVISION RESULT REMAINDER (in HEX)



[PDF] ECE-223, Solutions for Assignment 

(198)12 = 1*122 + 9*12 + 8*120 = 144 + 108 + 8 = 260 1 7) Express the 1 8) Convert the following numbers to hexadecimal and to decimal a) 1 11010



[PDF] Decimal/Hexadecimal Integer Conversion Chart

This chart is used to convert decimal numbers to hexadecimal and hexadecimal numbers line, and the low-order digit (9) is at the top of the column Thus, the 



[PDF] NUMBER SYSTEM CONVERSIONS - ipsgwaliororg

(3039)16 Example 2 Decimal Number is : (725)10 Hexadecimal Number is ( 2D5)16 Convert 10, 11, 12, 13, 14, 15 to its equivalent A, B, C, D, E, F BINARY  



[PDF] Hex 0 1 2 3 4 5 6 7 8 9 A B C D E F Decimal 0 1 2 3 4 5 6 7 8 9 10 11

If most significant bit is 1 (most significant hex digit 8−F), number is negative Get decimal equivalent by taking 2's complement of number, converting to decimal,

[PDF] hexadecimal to decimal converter excel

[PDF] hexadecimal to decimal converter java

[PDF] hexadecimal to decimal converter python

[PDF] hexadecimal to decimal practice

[PDF] hexadecimal to decimal worksheet

[PDF] hexadecimal to octal conversion examples pdf

[PDF] hexagon attributes

[PDF] hexagon song

[PDF] hexagonal circle packing algorithm

[PDF] hexagonal prism volume and surface area

[PDF] hexagonal prism volume and surface area formulas

[PDF] hexagonal prism volume calculator soup

[PDF] hexagonal prism volume calculator with base area

[PDF] hexagonal prism volume finder

[PDF] hexagonal prism volume with base area

ECE-223, Solutions for Assignment #1

Chapter 1, Digital Design, M. Mano, 3rd Edition

1.4) Convert the following numbers with the indicated bases to decimal: (4310)

5, and (198)12.

(4310)

5 = 4*53 + 3*52 +51+0 = 500 + 75 + 5 = 580

(198)

12 = 1*122 + 9*12 + 8*120 = 144 + 108 + 8 = 260

1.7) Express the following numbers in decimal: (10110.0101)

2, (16.5)16, and (26.24)8

(10110.0101)

2 = 16 + 4 + 2 + 1/4 + 1/16 = 22+ 5/16 = 22.3125

(16.5)

16 = 16 + 6+ 5/16 = 22 + 5/16 = 22.3125

(26.24)

8 = 16+ 6 + 2/8 + 4/64 = 20 + 20/64 = 22 + 5/16 = 22.3125

1.8) Convert the following numbers to hexadecimal and to decimal

a) 1.11010 b) 1110.10 Explain why the decimal answer in (b) is 8 times that of (a). (a) 1.11010 = 0001.1101 = 1.D = 1+ 13/16 = 1.8125 (b) 1110.10 = 1110.1000 = E.8 = 14+8/16 = 14.5 (14.5 = 8 * 1.8125, Reason is that 1110.10 is the same as 1.11010 shifted left 3 times; i.e. multiplies by 8.)

1.9) Convert the hexadecimal number 68BE to binary and then from binary convert it to octal.

68BE = 0110 1000 1011 1110 = 110 100 010 111 110 = 64276 (octal)

1.10) Convert the decimal number 345 to binary in two ways: (a) convert directly to binary; (b)

convert first to hexadecimal, then from hexadecimal to binary, Which method is faster? Results of repeated division by 2: quotients are followed by reminders: a) 345/2 = 172 (1); 86(0); 43(0); 21(1); 10(1); 5(0); 2(1); 1(0); 0(1)

Answer 101011001.

b) Results of repeated by division by 16(much shorter):

345/16 = 21(9); 1(5); 0(1) answer = 159 (hex) = 0001 0101 1001 = 101011001 (bin)

1.16) Obtain the 1's and 2's complements of the following binary numbers:

a) 11101010 b) 01111110 c) 00000001 d) 10000000 e) 00000000 a) 1' comp. = 00010101; 2's comp. = 00010110 b) 1' comp. = 10000001; 2's comp. = 10000010 c) 1' comp. = 11111110; 2's comp. = 11111111 d) 1' comp. = 01111111; 2's comp. = 10000000 e) 1' comp. = 11111111; 2's comp. = 00000000

1.18) Perform subtraction on the following unsigned binary number using 2's-complement of the

subtrahend. Where the result should be negative, 2's complement it and affix a minus sign. a) 11011 - 11001 b) 110100 - 10101 c) 1011 - 110000 d) 101010 - 101011 a) 11011 - 11001 = 11011 + 00111 = 00010 (27 -25 = 2) b) 110100 - 10101 = 110100 + 101011 = 011111 (52 -21 = 31) c) 1011 - 110000 = 011011 -> 100101 (11 -48= -37) (No Carry implies negative.) d) 101010 - 101011 = 111111 -> - 000001 (42 -43 = -1)

1.24) Represent decimal number 6027 in (a) BCD (b) excess-3 code, (c) 2421 code.

6 0 2 7

a) BCD 0110 0000 0010 0111 b) EXCESS-3 1001 0011 0101 1010 c) 2421 1100 0000 0010 1101quotesdbs_dbs14.pdfusesText_20