Agenda = 80 min
Warm up 5 min
Converting between decimal and binary 5 m
On line quiz 10 min
Home work and Exit ticket 5 min
Student presentation 10 m
Converting between decimal and octal 5 m
Student presentation 10 m
Converting between decimal and hexadec 5 m
Student presentation 10 m
Converting between numbering systems 15 min
Classroom Norms 2
Classroom NormsClassroom Norms
Osama Ghandour Geris Assiut STEM School
What are the applications which
use computer systems ? Mention
3 applications
Warm up brain storm 2min
What is a computer ? Define it
How does a computer work?
Assiut STEM School Mr. Osama Ghandour Computer Science
Hexadecimal system base 16
What are the numbering systems?
Decimal system base 10
Binary system base 2
Octal system base 8
Learn the concept
Assiut STEM School Mr. Osama Ghandour Computer Science
Convert fromDecimal system
To Binary systemand vise versa
Converting 3 min
Assiut STEM School Mr. Osama Ghandour Computer Science
From Decimal to Binary
Assiut STEM School Mr. Osama Ghandour Computer Science
31
1248163264128
11111000
1248163264128
16+8+4+2+1
11111
From Binary to Decimal
Assiut STEM School Mr. Osama Ghandour Computer Science
11111
01234567
11111
01234567
31
𝟏 ∗ 𝟐 𝟒
+𝟏 ∗ 𝟐 𝟑
+1∗ 𝟐 𝟐
+ 𝟏 ∗ 𝟐 𝟏
+1*𝟐 𝟎
16+8+4+2+1=
Example 2
Converting 3 min
Assiut STEM School Mr. Osama Ghandour Computer Science
From Decimal to Binary
Assiut STEM School Mr. Osama Ghandour Computer Science
52
1248163264128
001011000
1248163264128
32+16+4
𝟏𝟏𝟎𝟏𝟎𝟎 𝟐
From Binary to Decimal
Assiut STEM School Mr. Osama Ghandour Computer Science
01234567
110101
01234567
43
𝟏 ∗ 𝟐 𝟓
+ 𝟎 ∗ 𝟐 𝟒
+𝟏 ∗ 𝟐 𝟑
+0∗ 𝟐 𝟐
+ 𝟏 ∗ 𝟐 𝟏
+1*𝟐 𝟎
32+0+8+0+2+1=
𝟏𝟎𝟏𝟎𝟏𝟏 𝟐
Convert fromDecimal system
To Octal systemand vise versa
Converting 3 min
Assiut STEM School Mr. Osama Ghandour Computer Science
From Decimal to Octal
Assiut STEM School Mr. Osama Ghandour Computer Science
96
1864512…………
04100000
1864512…………
1*64+4*8
(𝟏𝟒𝟎) 𝟖
From Octal to Decimal
Assiut STEM School Mr. Osama Ghandour Computer Science
01234………
141000
0123…………
97
𝟎 ∗ 𝟖 𝟓
+ 𝟎 ∗ 𝟖 𝟒
+𝟎 ∗ 𝟖 𝟑
+1∗ 𝟖 𝟐
+ 𝟒 ∗ 𝟖 𝟏
+1*𝟖 𝟎
0+0+0+64+32+1=
(𝟏𝟒𝟏) 𝟖
Convert fromDecimalsystem
To Hexadecimal systemandvise
versa
Converting 3 min
Assiut STEM School Mr. Osama Ghandour Computer Science
From Decimal to Hexadecimal
Assiut STEM School Mr. Osama Ghandour Computer Science
291
1162564096……………
32100000
1162564096…………
1*256+2*16+3*1
(𝟏𝟐𝟑) 𝟏𝟔
From Hexadecimal to Decimal
Assiut STEM School Mr. Osama Ghandour Computer Science
(𝟏𝟐𝟒) 𝟏𝟔
0123…………
421000
0123…………
292
𝟎 ∗ 𝟏𝟔 𝟒
+𝟎 ∗ 𝟏𝟔 𝟑
+1∗ 𝟏𝟔 𝟐
+ 𝟐 ∗ 𝟏𝟔 𝟏
+4*𝟏𝟔 𝟎
0+0+256+32+4=
Assiut STEM School Mr. Osama Ghandour Computer Science
0123……………
1115100000
1*256+F*16+B*1
D
C
H
X
10A
11B
12C
13D
14E
15F
(𝟏𝐅𝐁) 𝟏𝟔
𝟎 ∗ 𝟏𝟔 𝟑
+1∗ 𝟏𝟔 𝟐
+ 𝟏𝟓 ∗ 𝟏𝟔 𝟏
+11*𝟏𝟔 𝟎
507 0+256+240+11=
From Hexadecimal to Decimal
From Hexadecimal to Decimal
Assiut STEM School Mr. Osama Ghandour Computer Science
(𝟏𝐅𝐀) 𝟏𝟔
012345……
10151000
012345……
506
𝟎 ∗ 𝟏𝟔 𝟑
+1∗ 𝟏𝟔 𝟐
+ 𝟏𝟓 ∗ 𝟏𝟔 𝟏
+10*𝟏𝟔 𝟎
0+256+240+10=
D
C
H
X
10A
11B
12C
13D
14E
15F
Another way
Convert from
Hexadecimal
to binary
directly
Using calculator
What is happening inside a
computer ?
Now could you design
a 7 segment displayer
system for bank?
What is
happening
when you
press any
key ?
E in column Nu. 4 and in raw Nu 5
Ask me questions
Ask me questions
Assiut STEM School Mr. Osama Ghandour Computer Science
You will be divided in
4 groups LUXR ,
ASSIUT , CIRO , ALX.
XDecimal
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Design a table of decimal to XGroup
From decimal to BinaryLUXR
from decimal to OctalASSIUT
From decimal to
Hexadecimal
CIRO
????AlX
hexadecimaloctalbinarydecimal
0
….
15
AlX
1-- convert a decimal nu. 15 to its
binary valueand mentionat least 3
methods for converting with
explanationof at least 2 methods .
Questions
Assiut STEM School Mr. Osama Ghandour Computer Science
Designa flowcharttoconvertfrom
decimalnumberto binarynumber?
Home work 1
Assiut STEM School Mr. Osama Ghandour Computer Science
1-Writeaformulatoconvert anumber
inaformof(𝒏) 𝑥 toitsdecimalnumber?
2-Writeaformulatoconvertadecimal
numbertoanumberofBasey ?
Exit ticket 2 min
Assiut STEM School Mr. Osama Ghandour Computer Science
Develop an html page to
convert a decimal
number to Base x
number (N) 𝑥?
Home work 2
https://twitter.com/osamageris
https://www.linkedin.com/in/osamaghandour/
https://www.youtube.com/user/osmgg2
https://www.facebook.com/osama.g.geris
Osama Ghandour Geris Assiut STEM School
31Find me @
Thanks

2019 numbering systems decimal binary octal hexadecimal

  • 1.
    Agenda = 80min Warm up 5 min Converting between decimal and binary 5 m On line quiz 10 min Home work and Exit ticket 5 min Student presentation 10 m Converting between decimal and octal 5 m Student presentation 10 m Converting between decimal and hexadec 5 m Student presentation 10 m Converting between numbering systems 15 min
  • 2.
    Classroom Norms 2 ClassroomNormsClassroom Norms Osama Ghandour Geris Assiut STEM School
  • 3.
    What are theapplications which use computer systems ? Mention 3 applications Warm up brain storm 2min What is a computer ? Define it How does a computer work? Assiut STEM School Mr. Osama Ghandour Computer Science
  • 4.
    Hexadecimal system base16 What are the numbering systems? Decimal system base 10 Binary system base 2 Octal system base 8 Learn the concept Assiut STEM School Mr. Osama Ghandour Computer Science
  • 5.
    Convert fromDecimal system ToBinary systemand vise versa Converting 3 min Assiut STEM School Mr. Osama Ghandour Computer Science
  • 6.
    From Decimal toBinary Assiut STEM School Mr. Osama Ghandour Computer Science 31 1248163264128 11111000 1248163264128 16+8+4+2+1 11111
  • 7.
    From Binary toDecimal Assiut STEM School Mr. Osama Ghandour Computer Science 11111 01234567 11111 01234567 31 𝟏 ∗ 𝟐 𝟒 +𝟏 ∗ 𝟐 𝟑 +1∗ 𝟐 𝟐 + 𝟏 ∗ 𝟐 𝟏 +1*𝟐 𝟎 16+8+4+2+1=
  • 8.
    Example 2 Converting 3min Assiut STEM School Mr. Osama Ghandour Computer Science
  • 9.
    From Decimal toBinary Assiut STEM School Mr. Osama Ghandour Computer Science 52 1248163264128 001011000 1248163264128 32+16+4 𝟏𝟏𝟎𝟏𝟎𝟎 𝟐
  • 10.
    From Binary toDecimal Assiut STEM School Mr. Osama Ghandour Computer Science 01234567 110101 01234567 43 𝟏 ∗ 𝟐 𝟓 + 𝟎 ∗ 𝟐 𝟒 +𝟏 ∗ 𝟐 𝟑 +0∗ 𝟐 𝟐 + 𝟏 ∗ 𝟐 𝟏 +1*𝟐 𝟎 32+0+8+0+2+1= 𝟏𝟎𝟏𝟎𝟏𝟏 𝟐
  • 11.
    Convert fromDecimal system ToOctal systemand vise versa Converting 3 min Assiut STEM School Mr. Osama Ghandour Computer Science
  • 12.
    From Decimal toOctal Assiut STEM School Mr. Osama Ghandour Computer Science 96 1864512………… 04100000 1864512………… 1*64+4*8 (𝟏𝟒𝟎) 𝟖
  • 13.
    From Octal toDecimal Assiut STEM School Mr. Osama Ghandour Computer Science 01234……… 141000 0123………… 97 𝟎 ∗ 𝟖 𝟓 + 𝟎 ∗ 𝟖 𝟒 +𝟎 ∗ 𝟖 𝟑 +1∗ 𝟖 𝟐 + 𝟒 ∗ 𝟖 𝟏 +1*𝟖 𝟎 0+0+0+64+32+1= (𝟏𝟒𝟏) 𝟖
  • 14.
    Convert fromDecimalsystem To Hexadecimalsystemandvise versa Converting 3 min Assiut STEM School Mr. Osama Ghandour Computer Science
  • 15.
    From Decimal toHexadecimal Assiut STEM School Mr. Osama Ghandour Computer Science 291 1162564096…………… 32100000 1162564096………… 1*256+2*16+3*1 (𝟏𝟐𝟑) 𝟏𝟔
  • 16.
    From Hexadecimal toDecimal Assiut STEM School Mr. Osama Ghandour Computer Science (𝟏𝟐𝟒) 𝟏𝟔 0123………… 421000 0123………… 292 𝟎 ∗ 𝟏𝟔 𝟒 +𝟎 ∗ 𝟏𝟔 𝟑 +1∗ 𝟏𝟔 𝟐 + 𝟐 ∗ 𝟏𝟔 𝟏 +4*𝟏𝟔 𝟎 0+0+256+32+4=
  • 17.
    Assiut STEM SchoolMr. Osama Ghandour Computer Science 0123…………… 1115100000 1*256+F*16+B*1 D C H X 10A 11B 12C 13D 14E 15F (𝟏𝐅𝐁) 𝟏𝟔 𝟎 ∗ 𝟏𝟔 𝟑 +1∗ 𝟏𝟔 𝟐 + 𝟏𝟓 ∗ 𝟏𝟔 𝟏 +11*𝟏𝟔 𝟎 507 0+256+240+11= From Hexadecimal to Decimal
  • 18.
    From Hexadecimal toDecimal Assiut STEM School Mr. Osama Ghandour Computer Science (𝟏𝐅𝐀) 𝟏𝟔 012345…… 10151000 012345…… 506 𝟎 ∗ 𝟏𝟔 𝟑 +1∗ 𝟏𝟔 𝟐 + 𝟏𝟓 ∗ 𝟏𝟔 𝟏 +10*𝟏𝟔 𝟎 0+256+240+10= D C H X 10A 11B 12C 13D 14E 15F
  • 19.
  • 20.
  • 21.
  • 22.
    What is happeninginside a computer ?
  • 23.
    Now could youdesign a 7 segment displayer system for bank?
  • 24.
    What is happening when you pressany key ? E in column Nu. 4 and in raw Nu 5
  • 25.
    Ask me questions Askme questions Assiut STEM School Mr. Osama Ghandour Computer Science
  • 26.
    You will bedivided in 4 groups LUXR , ASSIUT , CIRO , ALX. XDecimal 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Design a table of decimal to XGroup From decimal to BinaryLUXR from decimal to OctalASSIUT From decimal to Hexadecimal CIRO ????AlX hexadecimaloctalbinarydecimal 0 …. 15 AlX
  • 27.
    1-- convert adecimal nu. 15 to its binary valueand mentionat least 3 methods for converting with explanationof at least 2 methods . Questions Assiut STEM School Mr. Osama Ghandour Computer Science
  • 28.
    Designa flowcharttoconvertfrom decimalnumberto binarynumber? Homework 1 Assiut STEM School Mr. Osama Ghandour Computer Science
  • 29.
    1-Writeaformulatoconvert anumber inaformof(𝒏) 𝑥toitsdecimalnumber? 2-Writeaformulatoconvertadecimal numbertoanumberofBasey ? Exit ticket 2 min Assiut STEM School Mr. Osama Ghandour Computer Science
  • 30.
    Develop an htmlpage to convert a decimal number to Base x number (N) 𝑥? Home work 2
  • 31.
  • 32.

Editor's Notes

  • #33 And practice, practice, practice.