Presentation is loading. Please wait.

Presentation is loading. Please wait.

Location in course textbook

Similar presentations


Presentation on theme: "Location in course textbook"— Presentation transcript:

1 Location in course textbook
1. Number Systems Location in course textbook Chapt. 2

2 Common Number Systems System Base Symbols Used by humans?
Used in computers? Decimal 10 0, 1, … 9 Yes No Binary 2 0, 1

3 Quantities/Counting (1 of 3)
Decimal Binary 1 2 10 3 11 4 100 5 101 6 110 7 111 p. 33

4 Quantities/Counting (2 of 3)
Decimal Binary 8 1000 9 1001 10 1010 11 1011 12 1100 13 1101 14 1110 15 1111

5 Quantities/Counting (3 of 3)
Decimal Binary 16 10000 17 10001 18 10010 19 10011 20 10100 21 10101 22 10110 23 10111 Etc.

6 Conversion Among Bases
The possibilities: Decimal Octal Binary Hexadecimal pp

7 Quick Example 2510 = Base

8 Decimal to Decimal (just for fun)
Octal Binary Hexadecimal Next slide…

9 Weight 12510 => 5 x 100 = x 101 = x 102 = Base

10 Binary to Decimal Decimal Binary

11 Binary to Decimal Technique
Multiply each bit by 2n, where n is the “weight” of the bit The weight is the position of the bit, starting from 0 on the right Add the results

12 Decimal to Binary Technique Divide by two, keep track of the remainder
First remainder is bit 0 (LSB, least-significant bit) Second remainder is bit 1 Etc.

13 Example 12510 = ?2 12510 =

14 Octal to Binary Decimal Octal Binary Hexadecimal

15 Exercise – Convert … Decimal Binary 33 100001 117 1110101 451
Answer Decimal Binary 33 100001 117 451 431


Download ppt "Location in course textbook"

Similar presentations


Ads by Google