0% found this document useful (0 votes)
33 views2 pages

Chapter 1 Digital Design

This document contains a tutorial on number bases and conversions between different numbering systems including binary, octal, decimal, and hexadecimal. It covers converting between bases, arithmetic operations in different bases, and representations of fractional numbers in non-decimal bases. Examples include converting decimal numbers to their binary, octal, and hexadecimal equivalents through repeated division, as well as converting fractional numbers between bases.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views2 pages

Chapter 1 Digital Design

This document contains a tutorial on number bases and conversions between different numbering systems including binary, octal, decimal, and hexadecimal. It covers converting between bases, arithmetic operations in different bases, and representations of fractional numbers in non-decimal bases. Examples include converting decimal numbers to their binary, octal, and hexadecimal equivalents through repeated division, as well as converting fractional numbers between bases.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Tutorial 1

1.1
Base-10: 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Octal: 20 21 22 23 24 25 26 27 30 31 32 33 34 35 36 37 40
Hex: 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20
Base-13 A B C 10 11 12 13 14 15 16 17 18 19 23 24 25 26
1.2 (a) = 32 k byte = 32* 1024 = 32,768 byte
(b) 64 M byte = 1024*1024* 64 =67,108,864 byte
(c) 6. 4 G byte = 1024*1024*1024*6.4 = 6,871,947,674 byte
3
2
1
1.3 (4310)5 = 4 * 5 + 3 * 5 + 1 * 5 =( 580)10
2
1
0
(198)12 = 1 * 12 + 9 * 12 + 8 * 12 = (260)10
2

(735)8 = 7 * 8 + 3 * 8 + 5 * 8 =( 477)10
(525)6 = 5 * 6 + 2 * 6 + 5 * 6 = (197)10
1.5
b
(a) 14/2 = (b + 4)/2 = 5, so b = 6
(b) 54/4 = (5*b + 4)/4 = b + 3, so 5 * b = 52 4
b=8
(c) (2 *b + 4) + (b + 7) = 4b
b = 11
1.6
(x 3)(x 6) = x2 (6 + 3)x + 6*3 = x2 -11x + 22
6+3=b+1
b=8
1.7
68BE = 0110_1000_1011_1110 = 110_100_010_111_110 = (64276) 8
1.8
(a) Results of repeated division by 2 (quotients are followed by remainders):
(431)10 = 431 /2 = 215
1 =
215/2 = 107
1 =
1 = 53 = 2 / 107
1 = 26 = 2 / 53
0 =
13 = 2 / 26
1 =
6 = 2/13
0 =
3 = 2/6
1 =
1 = 2/3
1 =
= 2/ 1
1111_10102 =( FA)16
(b) Results of repeated division by 16:
(431)10 =
15 = 26 = 16 /431
10 =
1 = 16 / 26
= ( 1111_1010 ) 2

1.9 (a) (10110.0101)2 = 16 + 4 + 2 + .25 + .0625 = 22.3125

1
0
-1
(b)( 16.5)16 = 16 *1 + 16 * 6 + 16 * 5=
16 + 6 + 5* (.0615) = 22.3125

(c) ( 26.24) 8 = 2 * 8 + 6 + 2/8 + 4/64 = 22.3125


3

(d) FAFA.B16 = 15*16 + 10*16 + 15*16 + 10*16 + 11/16 = 64,250.6875


(e) 1010.10102 = 8 + 2 + .5 + .125 = 10.625

1.10
(a)( 1.10010)2 =
( 0001.1001)2 = (1.9)16 = 1 + 9/16 =( 1.563)10
(b)( 110.010)2 =( 0110.0100)2 =( 6.4)16 = 6 + 4/16 =( 6.25)10

You might also like