0% found this document useful (0 votes)
9 views30 pages

ICT Lecture 04

Uploaded by

sumrun sahab
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views30 pages

ICT Lecture 04

Uploaded by

sumrun sahab
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 30

Lecture 04 (Ch 02)

CSC 101 – Introduction to


Computing
Number Conversion
 Decimal to Binary and Binary to Decimal
 Decimal to Octal and Octal to Decimal
 Decimal to Hexadecimal and
Hexadecimal to Decimal
 Binary to Hexadecimal
 Octal to Hexadecimal
 Hexadecimal to Binary and Octal

2
Decimal To Binary
1

3
Decimal To Binary
 (151)10 = (10010111)2

4
Decimal to Binary (with Fractions)
 (12.75)10 = (1100.11)2

5
Binary to Decimal

6
Binary to Decimal

7
Binary to Decimal
 11100012 = 11310

8
Binary to Decimal

 111001111012 = 185310
 110110102 = 21810

9
Binary to Decimal (with Fractions)
 (10.011010101)2 = (2.416015625)10

10
Exercise Decimal to Binary

11
Decimal to Octal
 432110 = 103418

12
Decimal to Octal (Fractions)

 0.0510 = 0.031468

13
Octal to Decimal

 7438 = 48310 265258 = 1160510

14
Exercise Decimal to Octal

15
Exercise Octal to Decimal

 266018 =
 14228 =

16
Decimal to Hexadecimal

17
Decimal to Hexadecimal

18
Hexadecimal to Decimal

19
Hexadecimal to Decimal
 (ABC.123)16 = (2748.0710449219)10

20
Comparison Base 2 to Base 16

21
Binary to Hexadecimal

22
Hexadecimal to Binary and
Octal

23
Octal to Hexadecimal

24
Exercise Binary to Hexadecimal
 (10110101010101)2  (1100010010)2

25
Exercise Octal to Hexadecimal
 (344)8  (1422)8

26
Number System Program
 Genius Maker
 Free software
 Use the number system

http://www.goldenkstar.com/number-system-school-software-maths.htm
27
Summary
 Number System
 Decimal

 Binary

 Octal

 Hexadecimal

 Number conversion

28
Recommended Websites
 http://www.cdrummond.qc.ca/cegep/infor
mat/Professeurs/Alain/files/ascii.htm
 http://www.lookuptables.com/ebcdic_scan
codes.php
 http://math.comsci.us/radix/hexadecimal.h
tml

29
Number System - Exercise
Decimal Binary Octal Hexadecimal
(786)10 (1100010010)2 (1422)8 (312)16
(555)10 (1000101011)2 (1053)8 (22B)16
(228)10 (11100100)2 (786)8 (786)16
(179)10 (10110011)2 (786)8 (786)16
(483)10 (111100011)2 (743)8 (1E3)16
(4012)10 (111110101100)2 (7643)8 (FAC)16
(4321)10 (1000011100001)2 (10341)8 (10E1)16
(1853)10 (11100111101)2 (3475)8 (73D)16
(9526)10 (1001010011011)2 (22466)8 (2536)16
(11605)10 (10110101010101)2 (26525)8 (2D55)16
(48879)10 (111111011101111)2 (137357)8 (BEEF)16

30

You might also like