SlideShare a Scribd company logo
1 of 7
Submitted.To.
Prepared By. Bilal Maqbool.
Department SE-I
Roll no. 10
University University of Azad Jammu
and Kashmir.
B.M©
Q No1. Convert Hexadecimal no (68BE)16 to Binary and from Binary to Octal?
6 8 B E
0110 1000 1011 1110
(110100010111110)2
By taking the three pair numbers
110 100 010 111
1×2²+1×2¹+0×20 1×2²+0×2¹+0×20
0×2²+1×2¹+0×20
1×2²+1×2¹+1×20
4+2+0 =6 4+0+0 =4 0+2+0=2 4+2+1=7
110
1×2²+1×2¹+0×20
4+2+0=6
(64276)8
Q No2. Convert Decimal no (345)10 to Binary into two ways?
(a) Directly to Binary
(101011001)2
(b) Decimal---Hexadecimal---Binary ( 345)10
(159)16
Converting each number separately into binary in three pair numbers.
1 5 9
0001 0101 1001
(101011001)2
Q No3.Hexadecimal to Binary conversion. Direct and indirect methods.
(a) (0A2B)16
Direct method:
Converting in binary in four pair
0 A 2 B
0000 1010 0010 1011
(101000101011)2
Indirect method:
Converting to Decimal
2 345
2 172-1
2 86-0
2 43-0
2 21-1
2 10-1
2 5-0
2 2-1
1-0
16 345
16 21-9
1-5
B.M©
( 0A2B)16
0×16³+10×16²+2×16¹+11×160
0+2560+32+11
(2603)10
(101000101011)2
(b) (1E3)16
Direct method:
1 E 3
0001 1110 0011
(111100011)2
Indirect method:
Converting into Decimal
(1E3)16
1×16²+E×16¹+3×160
256+224+3
(483)10
(483)10 to Binary
(111100011)2
Q no4. Binary to Hexadecimal conversion (Direct and Indirect method)
(a) (111001)2
Direct Method:
The four pair number of (111001)2
0011 1001
2 2603
2 1301-1
2 650-1
2 325-0
2 162-1
2 81-0
2 40-1
2 20-0
2 10-0
2 5-0
2 2-1
1-0
2 483
2 241-1
2 120-1
2 60-0
2 30-0
2 15-0
2 7-1
2 3-1
1-1
B.M©
0×2³+0×2²+1×2¹+1×20 1×2³+0×2²+0×2¹+1×20
0+0+2+1 8+0+0+1
3 9
(39)16
Indirect method:
Converting to Decimal
(111001)2
1 ×25
+1 ×24
+1×2³+0×2²+0×2¹+1×20
32+16+8+0+0+1
57
Converting (57)10 to Hexadecimal
Hexadecimal to Decimal:
(39)16
(b) (1110)2
Direct method:
Binary to hexadecimal
1110
1×2³+1×2²+1×2¹+0×20
8+4+2+0
14
=(E)16
Indirect method:
Converting to Decimal
(1110)2
1×2³+1×2²+1×2¹+0×20
8+4+2+0
(14)16
Q No5. Convert the following Binary number to Decimal, Hexadecimal and Octal then convert Octal and
Hexadecimal back to the Decimal number.
(1001001)2
Binary to Decimal:
(1001001)2
1×26
+0 ×25
+0 ×24+1×2³+0×2²+0×2¹+1×20
16 57
3-9
B.M©
64+0+0+8+0+0+1
73
(73)10
Binary to Hexadecimal:
(1001001)2
Four pair number of (1001001)2
0100 1001
0×2³+1×2²+0×2¹+0×20
1×2³+0×2²+0×2¹+1×20
0+4+0+0 8+0+0+1
4 9
By combining (49)16
Binary to Octal:
(1001001)2
Three number pair
001 001 001
0×2²+0×2¹+1×20
0×2²+0×2¹+1×20
0×2²+0×2¹+1×20
1 1 1
= (111)8
Hexadecimal to Decimal:
= (49)16
= 1×8²+1×8¹+1×80
=64+8+1
=(73)10
Octal to Decimal:
(111)8
=4×16¹+9×16
=64+9
=(73)10
Q No6.Subtraction problem using their respective compliment’s method.
(a) (5434)8 – (3556)8
(b) 7’s compliment.
7777
- 3556
B.M©
4221
8’scompliment
4221
+ 1
4222
5434
+4222
(1656)8
(b) (100100)2 – (11101)2
1’s compliment
111111
-011101
100010
2’s compliment.
100010
+ 1
100011
100100
+ 100011
1000111
(111)2
(c) (86A1)16 – (8B12)16
15’s compliment
15 15 15 15
- 8 B 1 2
7 4 E D
16’s complement
7 4 E D
+ 1
7 4 E E
8 6 A 1
B.M©
+7 4 E E
1 5 B 8 F
(5B8F)16

More Related Content

What's hot

経済数学II 「第4章 線型モデルと行列代数」
経済数学II 「第4章 線型モデルと行列代数」経済数学II 「第4章 線型モデルと行列代数」
経済数学II 「第4章 線型モデルと行列代数」Wataru Shito
 
Rayane da Luz Barbosa - Gráfico 1 APS Matemática
Rayane da Luz Barbosa - Gráfico 1 APS MatemáticaRayane da Luz Barbosa - Gráfico 1 APS Matemática
Rayane da Luz Barbosa - Gráfico 1 APS MatemáticaRayane da Luz Barbosa
 
Exercise unit 1 differential equation (hum3032)
Exercise unit 1 differential equation (hum3032) Exercise unit 1 differential equation (hum3032)
Exercise unit 1 differential equation (hum3032) MARA
 
Algebra 6 Point 10
Algebra 6 Point 10Algebra 6 Point 10
Algebra 6 Point 10herbison
 
経済数学II 「第11章 選択変数が2個以上の場合の最適化」
経済数学II 「第11章 選択変数が2個以上の場合の最適化」経済数学II 「第11章 選択変数が2個以上の場合の最適化」
経済数学II 「第11章 選択変数が2個以上の場合の最適化」Wataru Shito
 
経済数学II 「第5章 線型モデルと行列代数 II」
経済数学II 「第5章 線型モデルと行列代数 II」経済数学II 「第5章 線型モデルと行列代数 II」
経済数学II 「第5章 線型モデルと行列代数 II」Wataru Shito
 
経済数学II 「第7章 微分法とその比較静学への応用」
経済数学II 「第7章 微分法とその比較静学への応用」経済数学II 「第7章 微分法とその比較静学への応用」
経済数学II 「第7章 微分法とその比較静学への応用」Wataru Shito
 
Kuncisoal mtk-un-smk-prwsta
Kuncisoal mtk-un-smk-prwstaKuncisoal mtk-un-smk-prwsta
Kuncisoal mtk-un-smk-prwstamardiyanto83
 
Nvo formulario
Nvo formularioNvo formulario
Nvo formulariototo3957
 
Ejercicios de retroalimentacion
Ejercicios de retroalimentacionEjercicios de retroalimentacion
Ejercicios de retroalimentacionDIEGO GARZON
 
5 Polynomial Feb 22
5 Polynomial Feb 225 Polynomial Feb 22
5 Polynomial Feb 22mskarras
 
5 Polynomial Feb 18
5 Polynomial Feb 185 Polynomial Feb 18
5 Polynomial Feb 18mskarras
 
example presented
example presentedexample presented
example presentedKt Silva
 
Squaring binomials
Squaring binomialsSquaring binomials
Squaring binomialsAndrés
 

What's hot (19)

経済数学II 「第4章 線型モデルと行列代数」
経済数学II 「第4章 線型モデルと行列代数」経済数学II 「第4章 線型モデルと行列代数」
経済数学II 「第4章 線型モデルと行列代数」
 
Rayane da Luz Barbosa - Gráfico 1 APS Matemática
Rayane da Luz Barbosa - Gráfico 1 APS MatemáticaRayane da Luz Barbosa - Gráfico 1 APS Matemática
Rayane da Luz Barbosa - Gráfico 1 APS Matemática
 
Exercise unit 1 differential equation (hum3032)
Exercise unit 1 differential equation (hum3032) Exercise unit 1 differential equation (hum3032)
Exercise unit 1 differential equation (hum3032)
 
Algebra 6 Point 10
Algebra 6 Point 10Algebra 6 Point 10
Algebra 6 Point 10
 
Regras diferenciacao
Regras diferenciacaoRegras diferenciacao
Regras diferenciacao
 
経済数学II 「第11章 選択変数が2個以上の場合の最適化」
経済数学II 「第11章 選択変数が2個以上の場合の最適化」経済数学II 「第11章 選択変数が2個以上の場合の最適化」
経済数学II 「第11章 選択変数が2個以上の場合の最適化」
 
経済数学II 「第5章 線型モデルと行列代数 II」
経済数学II 「第5章 線型モデルと行列代数 II」経済数学II 「第5章 線型モデルと行列代数 II」
経済数学II 「第5章 線型モデルと行列代数 II」
 
経済数学II 「第7章 微分法とその比較静学への応用」
経済数学II 「第7章 微分法とその比較静学への応用」経済数学II 「第7章 微分法とその比較静学への応用」
経済数学II 「第7章 微分法とその比較静学への応用」
 
Bolum1cozumler
Bolum1cozumlerBolum1cozumler
Bolum1cozumler
 
Kuncisoal mtk-un-smk-prwsta
Kuncisoal mtk-un-smk-prwstaKuncisoal mtk-un-smk-prwsta
Kuncisoal mtk-un-smk-prwsta
 
March 8
March 8March 8
March 8
 
Nvo formulario
Nvo formularioNvo formulario
Nvo formulario
 
Ejercicios de retroalimentacion
Ejercicios de retroalimentacionEjercicios de retroalimentacion
Ejercicios de retroalimentacion
 
5 Polynomial Feb 22
5 Polynomial Feb 225 Polynomial Feb 22
5 Polynomial Feb 22
 
5 Polynomial Feb 18
5 Polynomial Feb 185 Polynomial Feb 18
5 Polynomial Feb 18
 
example presented
example presentedexample presented
example presented
 
Ujian selaras 1 2011
Ujian selaras 1 2011Ujian selaras 1 2011
Ujian selaras 1 2011
 
Squaring binomials
Squaring binomialsSquaring binomials
Squaring binomials
 
Les3
Les3Les3
Les3
 

Viewers also liked

Power point 2ºtrimestre
Power point 2ºtrimestre Power point 2ºtrimestre
Power point 2ºtrimestre Alba Carmona
 
Aust lii ihcl_unsw_2017-2
Aust lii ihcl_unsw_2017-2Aust lii ihcl_unsw_2017-2
Aust lii ihcl_unsw_2017-2SusanMRob
 
NLP & LIEU PHAP THOI MIEN
NLP & LIEU PHAP THOI MIENNLP & LIEU PHAP THOI MIEN
NLP & LIEU PHAP THOI MIENSunny Tran
 
Ngành cn dầu khí vn (tlsxtt)
Ngành cn dầu khí vn (tlsxtt)Ngành cn dầu khí vn (tlsxtt)
Ngành cn dầu khí vn (tlsxtt)Nguyên Phạm
 
Ιστορία Δ΄. Ο χρυσός αιώνας. 20. ΄΄Η Αθήνα γίνεται η πιο ισχυρή πόλη΄΄
Ιστορία Δ΄. Ο χρυσός αιώνας. 20. ΄΄Η Αθήνα γίνεται η πιο ισχυρή πόλη΄΄Ιστορία Δ΄. Ο χρυσός αιώνας. 20. ΄΄Η Αθήνα γίνεται η πιο ισχυρή πόλη΄΄
Ιστορία Δ΄. Ο χρυσός αιώνας. 20. ΄΄Η Αθήνα γίνεται η πιο ισχυρή πόλη΄΄Χρήστος Χαρμπής
 
Florante at Laura (Aralin 17-22)
Florante at Laura (Aralin 17-22)Florante at Laura (Aralin 17-22)
Florante at Laura (Aralin 17-22)SCPS
 
MIDHUN ABRAHAM 02 resume
MIDHUN ABRAHAM 02 resumeMIDHUN ABRAHAM 02 resume
MIDHUN ABRAHAM 02 resumeMidhun Abraham
 
#AcornHackGirls TEDx-style talks | Bethany Koby, CEO of TechWillSaveUs
#AcornHackGirls TEDx-style talks | Bethany Koby, CEO of TechWillSaveUs#AcornHackGirls TEDx-style talks | Bethany Koby, CEO of TechWillSaveUs
#AcornHackGirls TEDx-style talks | Bethany Koby, CEO of TechWillSaveUsAcorn Aspirations
 

Viewers also liked (12)

Magnetic storage devices
Magnetic storage devicesMagnetic storage devices
Magnetic storage devices
 
Ley 23407
Ley 23407Ley 23407
Ley 23407
 
Tarea seminario 6
Tarea seminario 6Tarea seminario 6
Tarea seminario 6
 
Axitchanh ( c6 h8o7)
Axitchanh ( c6 h8o7)Axitchanh ( c6 h8o7)
Axitchanh ( c6 h8o7)
 
Power point 2ºtrimestre
Power point 2ºtrimestre Power point 2ºtrimestre
Power point 2ºtrimestre
 
Aust lii ihcl_unsw_2017-2
Aust lii ihcl_unsw_2017-2Aust lii ihcl_unsw_2017-2
Aust lii ihcl_unsw_2017-2
 
NLP & LIEU PHAP THOI MIEN
NLP & LIEU PHAP THOI MIENNLP & LIEU PHAP THOI MIEN
NLP & LIEU PHAP THOI MIEN
 
Ngành cn dầu khí vn (tlsxtt)
Ngành cn dầu khí vn (tlsxtt)Ngành cn dầu khí vn (tlsxtt)
Ngành cn dầu khí vn (tlsxtt)
 
Ιστορία Δ΄. Ο χρυσός αιώνας. 20. ΄΄Η Αθήνα γίνεται η πιο ισχυρή πόλη΄΄
Ιστορία Δ΄. Ο χρυσός αιώνας. 20. ΄΄Η Αθήνα γίνεται η πιο ισχυρή πόλη΄΄Ιστορία Δ΄. Ο χρυσός αιώνας. 20. ΄΄Η Αθήνα γίνεται η πιο ισχυρή πόλη΄΄
Ιστορία Δ΄. Ο χρυσός αιώνας. 20. ΄΄Η Αθήνα γίνεται η πιο ισχυρή πόλη΄΄
 
Florante at Laura (Aralin 17-22)
Florante at Laura (Aralin 17-22)Florante at Laura (Aralin 17-22)
Florante at Laura (Aralin 17-22)
 
MIDHUN ABRAHAM 02 resume
MIDHUN ABRAHAM 02 resumeMIDHUN ABRAHAM 02 resume
MIDHUN ABRAHAM 02 resume
 
#AcornHackGirls TEDx-style talks | Bethany Koby, CEO of TechWillSaveUs
#AcornHackGirls TEDx-style talks | Bethany Koby, CEO of TechWillSaveUs#AcornHackGirls TEDx-style talks | Bethany Koby, CEO of TechWillSaveUs
#AcornHackGirls TEDx-style talks | Bethany Koby, CEO of TechWillSaveUs
 

Similar to Bilal maqbool assignment no.01 computing

Solution_Manual_Digital_Design_With_an_Introduction_to_the_Verilog_HDL_5th_Ed...
Solution_Manual_Digital_Design_With_an_Introduction_to_the_Verilog_HDL_5th_Ed...Solution_Manual_Digital_Design_With_an_Introduction_to_the_Verilog_HDL_5th_Ed...
Solution_Manual_Digital_Design_With_an_Introduction_to_the_Verilog_HDL_5th_Ed...JanakiramanLohitha
 
Solution_Manual_Digital_Design_With_an_Introduction_to_the_Verilog_HDL_5th_Ed...
Solution_Manual_Digital_Design_With_an_Introduction_to_the_Verilog_HDL_5th_Ed...Solution_Manual_Digital_Design_With_an_Introduction_to_the_Verilog_HDL_5th_Ed...
Solution_Manual_Digital_Design_With_an_Introduction_to_the_Verilog_HDL_5th_Ed...NikxzsLeonTormon
 
Digital_Electronics_Basics.pdf
Digital_Electronics_Basics.pdfDigital_Electronics_Basics.pdf
Digital_Electronics_Basics.pdfrahul143341
 
6- التحويل من النظام الثنائى إلى النظام السداسى عشر
6- التحويل من النظام الثنائى إلى النظام السداسى عشر6- التحويل من النظام الثنائى إلى النظام السداسى عشر
6- التحويل من النظام الثنائى إلى النظام السداسى عشرum_adeveloper
 
Representation of numbers and characters
Representation of numbers and charactersRepresentation of numbers and characters
Representation of numbers and characterswarda aziz
 
Taller De Conversiones B/D D/B
Taller De Conversiones B/D D/BTaller De Conversiones B/D D/B
Taller De Conversiones B/D D/Bnathy76hnz
 
ch3a-binary-numbers.ppt
ch3a-binary-numbers.pptch3a-binary-numbers.ppt
ch3a-binary-numbers.pptRabiaAsif31
 
Ch 1 part-1 final
Ch 1 part-1 finalCh 1 part-1 final
Ch 1 part-1 finalaminsir
 
PST SC015 Chapter 2 Computer System 2017/2018
PST SC015 Chapter 2 Computer System 2017/2018PST SC015 Chapter 2 Computer System 2017/2018
PST SC015 Chapter 2 Computer System 2017/2018Fizaril Amzari Omar
 
EASA Part 66 Module 5.2 : Numbering System
EASA Part 66 Module 5.2 : Numbering SystemEASA Part 66 Module 5.2 : Numbering System
EASA Part 66 Module 5.2 : Numbering Systemsoulstalker
 
ch3a-binary-numbers.ppt
ch3a-binary-numbers.pptch3a-binary-numbers.ppt
ch3a-binary-numbers.pptssuser52a19e
 
Review on Number Systems: Decimal, Binary, and Hexadecimal
Review on Number Systems: Decimal, Binary, and HexadecimalReview on Number Systems: Decimal, Binary, and Hexadecimal
Review on Number Systems: Decimal, Binary, and HexadecimalUtkirjonUbaydullaev1
 
ch3a-binary-numbers.ppt
ch3a-binary-numbers.pptch3a-binary-numbers.ppt
ch3a-binary-numbers.pptRAJKUMARP63
 
Data representation
Data representationData representation
Data representationChew Hoong
 
Ncp computer appls num sys2 pramod
Ncp computer appls  num sys2 pramodNcp computer appls  num sys2 pramod
Ncp computer appls num sys2 pramodNCP
 

Similar to Bilal maqbool assignment no.01 computing (20)

Solution_Manual_Digital_Design_With_an_Introduction_to_the_Verilog_HDL_5th_Ed...
Solution_Manual_Digital_Design_With_an_Introduction_to_the_Verilog_HDL_5th_Ed...Solution_Manual_Digital_Design_With_an_Introduction_to_the_Verilog_HDL_5th_Ed...
Solution_Manual_Digital_Design_With_an_Introduction_to_the_Verilog_HDL_5th_Ed...
 
Solution_Manual_Digital_Design_With_an_Introduction_to_the_Verilog_HDL_5th_Ed...
Solution_Manual_Digital_Design_With_an_Introduction_to_the_Verilog_HDL_5th_Ed...Solution_Manual_Digital_Design_With_an_Introduction_to_the_Verilog_HDL_5th_Ed...
Solution_Manual_Digital_Design_With_an_Introduction_to_the_Verilog_HDL_5th_Ed...
 
Digital_Electronics_Basics.pdf
Digital_Electronics_Basics.pdfDigital_Electronics_Basics.pdf
Digital_Electronics_Basics.pdf
 
6- التحويل من النظام الثنائى إلى النظام السداسى عشر
6- التحويل من النظام الثنائى إلى النظام السداسى عشر6- التحويل من النظام الثنائى إلى النظام السداسى عشر
6- التحويل من النظام الثنائى إلى النظام السداسى عشر
 
Representation of numbers and characters
Representation of numbers and charactersRepresentation of numbers and characters
Representation of numbers and characters
 
ch3a-binary-numbers.ppt
ch3a-binary-numbers.pptch3a-binary-numbers.ppt
ch3a-binary-numbers.ppt
 
Taller
TallerTaller
Taller
 
Taller
TallerTaller
Taller
 
Taller De Conversiones B/D D/B
Taller De Conversiones B/D D/BTaller De Conversiones B/D D/B
Taller De Conversiones B/D D/B
 
ch3a-binary-numbers.ppt
ch3a-binary-numbers.pptch3a-binary-numbers.ppt
ch3a-binary-numbers.ppt
 
Ch 1 part-1 final
Ch 1 part-1 finalCh 1 part-1 final
Ch 1 part-1 final
 
PST SC015 Chapter 2 Computer System 2017/2018
PST SC015 Chapter 2 Computer System 2017/2018PST SC015 Chapter 2 Computer System 2017/2018
PST SC015 Chapter 2 Computer System 2017/2018
 
EASA Part 66 Module 5.2 : Numbering System
EASA Part 66 Module 5.2 : Numbering SystemEASA Part 66 Module 5.2 : Numbering System
EASA Part 66 Module 5.2 : Numbering System
 
ch3a-binary-numbers.ppt
ch3a-binary-numbers.pptch3a-binary-numbers.ppt
ch3a-binary-numbers.ppt
 
ch3a-binary-numbers.ppt
ch3a-binary-numbers.pptch3a-binary-numbers.ppt
ch3a-binary-numbers.ppt
 
binary-numbers.ppt
binary-numbers.pptbinary-numbers.ppt
binary-numbers.ppt
 
Review on Number Systems: Decimal, Binary, and Hexadecimal
Review on Number Systems: Decimal, Binary, and HexadecimalReview on Number Systems: Decimal, Binary, and Hexadecimal
Review on Number Systems: Decimal, Binary, and Hexadecimal
 
ch3a-binary-numbers.ppt
ch3a-binary-numbers.pptch3a-binary-numbers.ppt
ch3a-binary-numbers.ppt
 
Data representation
Data representationData representation
Data representation
 
Ncp computer appls num sys2 pramod
Ncp computer appls  num sys2 pramodNcp computer appls  num sys2 pramod
Ncp computer appls num sys2 pramod
 

More from Bilal Maqbool ツ (20)

Dld lecture module 01
Dld lecture module 01Dld lecture module 01
Dld lecture module 01
 
Complement
ComplementComplement
Complement
 
Chapter10
Chapter10Chapter10
Chapter10
 
Uncdtalk
UncdtalkUncdtalk
Uncdtalk
 
Okkkkk
OkkkkkOkkkkk
Okkkkk
 
Good
GoodGood
Good
 
Dld lecture module 06
Dld lecture module 06Dld lecture module 06
Dld lecture module 06
 
Dld lecture module 05
Dld lecture module 05Dld lecture module 05
Dld lecture module 05
 
Dld lecture module 04 01
Dld lecture module 04  01Dld lecture module 04  01
Dld lecture module 04 01
 
Dld lecture module 03
Dld lecture module 03Dld lecture module 03
Dld lecture module 03
 
Dld lecture module 02
Dld lecture module 02Dld lecture module 02
Dld lecture module 02
 
Lecture 3 report writtng
Lecture 3 report writtngLecture 3 report writtng
Lecture 3 report writtng
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Lecture 1 report writing
Lecture 1 report writingLecture 1 report writing
Lecture 1 report writing
 
Bill gates
Bill gatesBill gates
Bill gates
 
Programming assignment 02 (bilal maqbool 10) 2011
Programming assignment 02    (bilal maqbool 10) 2011Programming assignment 02    (bilal maqbool 10) 2011
Programming assignment 02 (bilal maqbool 10) 2011
 
Programming assignment 30 12-11
Programming assignment 30 12-11Programming assignment 30 12-11
Programming assignment 30 12-11
 
Internet presentation
Internet presentationInternet presentation
Internet presentation
 
Presentation internet programming report
Presentation internet programming reportPresentation internet programming report
Presentation internet programming report
 
How internet technology be used to spread scientific awareness among pakistan...
How internet technology be used to spread scientific awareness among pakistan...How internet technology be used to spread scientific awareness among pakistan...
How internet technology be used to spread scientific awareness among pakistan...
 

Recently uploaded

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 

Recently uploaded (20)

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

Bilal maqbool assignment no.01 computing

  • 1. Submitted.To. Prepared By. Bilal Maqbool. Department SE-I Roll no. 10 University University of Azad Jammu and Kashmir. B.M©
  • 2. Q No1. Convert Hexadecimal no (68BE)16 to Binary and from Binary to Octal? 6 8 B E 0110 1000 1011 1110 (110100010111110)2 By taking the three pair numbers 110 100 010 111 1×2²+1×2¹+0×20 1×2²+0×2¹+0×20 0×2²+1×2¹+0×20 1×2²+1×2¹+1×20 4+2+0 =6 4+0+0 =4 0+2+0=2 4+2+1=7 110 1×2²+1×2¹+0×20 4+2+0=6 (64276)8 Q No2. Convert Decimal no (345)10 to Binary into two ways? (a) Directly to Binary (101011001)2 (b) Decimal---Hexadecimal---Binary ( 345)10 (159)16 Converting each number separately into binary in three pair numbers. 1 5 9 0001 0101 1001 (101011001)2 Q No3.Hexadecimal to Binary conversion. Direct and indirect methods. (a) (0A2B)16 Direct method: Converting in binary in four pair 0 A 2 B 0000 1010 0010 1011 (101000101011)2 Indirect method: Converting to Decimal 2 345 2 172-1 2 86-0 2 43-0 2 21-1 2 10-1 2 5-0 2 2-1 1-0 16 345 16 21-9 1-5 B.M©
  • 3. ( 0A2B)16 0×16³+10×16²+2×16¹+11×160 0+2560+32+11 (2603)10 (101000101011)2 (b) (1E3)16 Direct method: 1 E 3 0001 1110 0011 (111100011)2 Indirect method: Converting into Decimal (1E3)16 1×16²+E×16¹+3×160 256+224+3 (483)10 (483)10 to Binary (111100011)2 Q no4. Binary to Hexadecimal conversion (Direct and Indirect method) (a) (111001)2 Direct Method: The four pair number of (111001)2 0011 1001 2 2603 2 1301-1 2 650-1 2 325-0 2 162-1 2 81-0 2 40-1 2 20-0 2 10-0 2 5-0 2 2-1 1-0 2 483 2 241-1 2 120-1 2 60-0 2 30-0 2 15-0 2 7-1 2 3-1 1-1 B.M©
  • 4. 0×2³+0×2²+1×2¹+1×20 1×2³+0×2²+0×2¹+1×20 0+0+2+1 8+0+0+1 3 9 (39)16 Indirect method: Converting to Decimal (111001)2 1 ×25 +1 ×24 +1×2³+0×2²+0×2¹+1×20 32+16+8+0+0+1 57 Converting (57)10 to Hexadecimal Hexadecimal to Decimal: (39)16 (b) (1110)2 Direct method: Binary to hexadecimal 1110 1×2³+1×2²+1×2¹+0×20 8+4+2+0 14 =(E)16 Indirect method: Converting to Decimal (1110)2 1×2³+1×2²+1×2¹+0×20 8+4+2+0 (14)16 Q No5. Convert the following Binary number to Decimal, Hexadecimal and Octal then convert Octal and Hexadecimal back to the Decimal number. (1001001)2 Binary to Decimal: (1001001)2 1×26 +0 ×25 +0 ×24+1×2³+0×2²+0×2¹+1×20 16 57 3-9 B.M©
  • 5. 64+0+0+8+0+0+1 73 (73)10 Binary to Hexadecimal: (1001001)2 Four pair number of (1001001)2 0100 1001 0×2³+1×2²+0×2¹+0×20 1×2³+0×2²+0×2¹+1×20 0+4+0+0 8+0+0+1 4 9 By combining (49)16 Binary to Octal: (1001001)2 Three number pair 001 001 001 0×2²+0×2¹+1×20 0×2²+0×2¹+1×20 0×2²+0×2¹+1×20 1 1 1 = (111)8 Hexadecimal to Decimal: = (49)16 = 1×8²+1×8¹+1×80 =64+8+1 =(73)10 Octal to Decimal: (111)8 =4×16¹+9×16 =64+9 =(73)10 Q No6.Subtraction problem using their respective compliment’s method. (a) (5434)8 – (3556)8 (b) 7’s compliment. 7777 - 3556 B.M©
  • 6. 4221 8’scompliment 4221 + 1 4222 5434 +4222 (1656)8 (b) (100100)2 – (11101)2 1’s compliment 111111 -011101 100010 2’s compliment. 100010 + 1 100011 100100 + 100011 1000111 (111)2 (c) (86A1)16 – (8B12)16 15’s compliment 15 15 15 15 - 8 B 1 2 7 4 E D 16’s complement 7 4 E D + 1 7 4 E E 8 6 A 1 B.M©
  • 7. +7 4 E E 1 5 B 8 F (5B8F)16