SlideShare a Scribd company logo
M. Raihan
Email: rianku11@gmail.com
Data Representation
Part-3
Excess-3 Code
22-Aug-17 3
It is a binary code in which each decimal number
is expressed in excess of three, i.e., 3
It is said to be self-complementing code (a code is
said to be self-complementing if the code word of
the 9’s complement of N, i.e., (9 – N) can be
obtained from the code word of N, interchanging all
the 1’s and 0’s).
The BCD code is not self-complementing.
Excess-3 Code
22-Aug-17 4
Say, N = 7 = (1010)E3
Now 9 – N = 9 – 7 = 2
And 2 = (0101)E3
1’s complement of
(1010)E3 is (0101)E3 = 2
It is a non-weighted
code.
Decimal Digit Excess-3
0 0 0 1 1
1 0 1 0 0
2 0 1 0 1
3 0 1 1 0
4 0 1 1 1
5 1 0 0 0
6 1 0 0 1
7 1 0 1 0
8 1 0 1 1
9 1 1 0 0
Gray Code
22-Aug-17 5
The Gray code is an un-weighted code not suited to
arithmetic operations.
It is useful for I/O devices, analog to digital
converters.
Each gray code differs from its neighbor by a single
bit.
Codes which have such a property is known as
cyclic code.
Binary to Gray Code
22-Aug-17 6
The MSD of gray code is the same as the MSD of binary
code.
Add each pair of adjacent bits (starting from MSD) of the
binary code to get the next gray digit disregarding the
carries.
Gray Code to Binary
22-Aug-17 7
MSD of the gray code is the MSD of binary.
Starting from MSD, produce bi+1=bi+gi+1 disregarding the
carries.
Error Detecting Code
22-Aug-17 8
Computers are very reliable, but errors may be occurred
during data input, processing, output operation, or data
communication.
Errors may be caused by dust particles on storage media,
by improper humidity levels or by electrical disturbances
during data transmission between units.
Method for detecting errors by adding an extra bit to each
bit string of usually 7 bits.
This additional bit is called parity bit.
Error Detecting Code
22-Aug-17 9
This checking feature is called a parity checking.
There are two types of parity checking codes: (i) Odd parity
code, and (ii) Even parity code.
In Odd parity method, the value of parity bit is chosen so that the
total number of 1’s in the code group (bit string plus parity bit) is
an odd number.
In Even parity method, the value of parity bit is chosen so that
the total number of 1’s in the code group (bit string plus parity
bit) is an even number.
Representation of Characters
22-Aug-17 10
Coding of characters has been standardized to
facilitate exchange of recoded data between
computers.
Two popular standard codes:
EBCDIC (Extended Binary Coded Decimal
Interchange Code)
ASCII (American Standard Code for Information
Interchange)
EBCDIC
22-Aug-17 11
The EBCDIC is an 8 bit code primarily used
by IBM and IBM compatible computer
system.
It allows a large variety of printable special
characters and non-printable control
characters.
All 256 (28) bit combinations have not yet
been assigned characters.
ASCII
22-Aug-17 12
These codes are of two types: ASCII-7 and
ASCII-8.
 ASCII-7 is a 7 bit code that allows 128 (27)
different characters.
 ASCII-8 is a 8 bit code that allows 256 (28)
different character.
Unicode
22-Aug-17 13
It is 16 bit code to represent different
65000+ characters/ symbols of different
languages.
Unicode can represent many of the world’s
languages.
Logic Gates
22-Aug-17 14
OR Gate
AND Gate
NOT Gate
NOR Gate
NAND Gate
XOR Gate
XNOR Gate
Logic Gates
22-Aug-17 15
OR Gate:
Example: out= A+B
AND Gate
22-Aug-17 16
Example: Y= A.B
NOT Gate
22-Aug-17 17
Example: out = 𝑨
NOR Gate
22-Aug-17 18
Example: out = A+B
NAND Gate
22-Aug-17 19
Example: out = 𝑨. 𝑩
XOR Gate
22-Aug-17 20
XNOR Gate
22-Aug-17 21
Logic Expression with Logic Gate
22-Aug-17 22
Y = AB + CD
F = 𝑿 𝒀 Z + 𝑿 Y Z + X 𝒀
F = (A+B).(C+D)
Y = (A+B).( 𝑨 + 𝑩)
F =( 𝑿 𝒀 + 𝑿 Z + 𝑿𝒀𝒁)⨁( 𝑿 𝒀 Z + 𝑿 Y Z + X 𝒀)
Thank You
22-Aug-17 23

More Related Content

What's hot

Binary to grey code conversion
Binary to grey code conversionBinary to grey code conversion
Binary to grey code conversion
Sunny
 
Binary to gray converter using xor
Binary to gray converter using xor Binary to gray converter using xor
Binary to gray converter using xor
DINESH DEVIREDDY
 
Chapter 04 computer codes
Chapter 04 computer codesChapter 04 computer codes
Chapter 04 computer codes
IIUI
 
BCD.
BCD.BCD.
Chap ii.BCD code,Gray code
Chap ii.BCD code,Gray codeChap ii.BCD code,Gray code
Chap ii.BCD code,Gray code
Bala Ganesh
 
Digital electronics- BCD & Decoder
Digital electronics- BCD & DecoderDigital electronics- BCD & Decoder
Digital electronics- BCD & Decoder
Pritam Shil
 
Code conversion
Code conversionCode conversion
Code conversion
Alapan Banerjee
 
Digital principles basic
Digital principles basicDigital principles basic
Digital principles basic
Abinaya B
 
Binary codes
Binary codesBinary codes
Binary codes
Neha Jamini
 
Bcd with access 3
Bcd with access 3Bcd with access 3
Bcd with access 3
mubshir rehman
 
3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )
MdFazleRabbi18
 
Binary codes
Binary codesBinary codes
Binary codes
GargiKhanna1
 
BCD to binary code converter
BCD to binary code converterBCD to binary code converter
BCD to binary code converter
kiruthikamaniG1
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
Muuluu
 
BCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codesBCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codes
student
 
Data Representation
Data RepresentationData Representation
Data Representation
Praveen M Jigajinni
 
BCD to Decimal - Digital Electronics
BCD to Decimal - Digital ElectronicsBCD to Decimal - Digital Electronics
BCD to Decimal - Digital Electronics
Milap Bhanderi
 
EFFICIENT MULTIPLIERS FOR 1-OUT-OF-3 BINARY SIGNED-DIGIT NUMBER SYSTEM
EFFICIENT MULTIPLIERS FOR 1-OUT-OF-3 BINARY SIGNED-DIGIT NUMBER SYSTEMEFFICIENT MULTIPLIERS FOR 1-OUT-OF-3 BINARY SIGNED-DIGIT NUMBER SYSTEM
EFFICIENT MULTIPLIERS FOR 1-OUT-OF-3 BINARY SIGNED-DIGIT NUMBER SYSTEM
elelijjournal
 
Lecture 01
Lecture 01Lecture 01
Lecture 01
sohelranasweet
 
Data representation
Data representationData representation
Data representation
Prashant Saurabh
 

What's hot (20)

Binary to grey code conversion
Binary to grey code conversionBinary to grey code conversion
Binary to grey code conversion
 
Binary to gray converter using xor
Binary to gray converter using xor Binary to gray converter using xor
Binary to gray converter using xor
 
Chapter 04 computer codes
Chapter 04 computer codesChapter 04 computer codes
Chapter 04 computer codes
 
BCD.
BCD.BCD.
BCD.
 
Chap ii.BCD code,Gray code
Chap ii.BCD code,Gray codeChap ii.BCD code,Gray code
Chap ii.BCD code,Gray code
 
Digital electronics- BCD & Decoder
Digital electronics- BCD & DecoderDigital electronics- BCD & Decoder
Digital electronics- BCD & Decoder
 
Code conversion
Code conversionCode conversion
Code conversion
 
Digital principles basic
Digital principles basicDigital principles basic
Digital principles basic
 
Binary codes
Binary codesBinary codes
Binary codes
 
Bcd with access 3
Bcd with access 3Bcd with access 3
Bcd with access 3
 
3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )
 
Binary codes
Binary codesBinary codes
Binary codes
 
BCD to binary code converter
BCD to binary code converterBCD to binary code converter
BCD to binary code converter
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
BCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codesBCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codes
 
Data Representation
Data RepresentationData Representation
Data Representation
 
BCD to Decimal - Digital Electronics
BCD to Decimal - Digital ElectronicsBCD to Decimal - Digital Electronics
BCD to Decimal - Digital Electronics
 
EFFICIENT MULTIPLIERS FOR 1-OUT-OF-3 BINARY SIGNED-DIGIT NUMBER SYSTEM
EFFICIENT MULTIPLIERS FOR 1-OUT-OF-3 BINARY SIGNED-DIGIT NUMBER SYSTEMEFFICIENT MULTIPLIERS FOR 1-OUT-OF-3 BINARY SIGNED-DIGIT NUMBER SYSTEM
EFFICIENT MULTIPLIERS FOR 1-OUT-OF-3 BINARY SIGNED-DIGIT NUMBER SYSTEM
 
Lecture 01
Lecture 01Lecture 01
Lecture 01
 
Data representation
Data representationData representation
Data representation
 

Similar to Lecture 9

BCDCONVERTER.pptx
BCDCONVERTER.pptxBCDCONVERTER.pptx
BCDCONVERTER.pptx
MagedAldhaeebi
 
Codes
CodesCodes
review of number systems and codes
review of number systems and codesreview of number systems and codes
review of number systems and codes
srinu247
 
Reed Soloman and convolution codes
Reed Soloman and convolution codesReed Soloman and convolution codes
Reed Soloman and convolution codes
Shailesh Tanwar
 
f33-ft-computing-lec09-correct.ppt
f33-ft-computing-lec09-correct.pptf33-ft-computing-lec09-correct.ppt
f33-ft-computing-lec09-correct.ppt
MaddulaCharishma
 
Coa presentation1
Coa presentation1Coa presentation1
Coa presentation1
rickypatel151
 
Number system
Number systemNumber system
Number system
Prof. Dr. K. Adisesha
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
ijceronline
 
Reed Solomon Coding For Error Detection and Correction
Reed Solomon Coding For Error Detection and CorrectionReed Solomon Coding For Error Detection and Correction
Reed Solomon Coding For Error Detection and Correction
inventionjournals
 
Introduction to computer_lec_02
Introduction to computer_lec_02Introduction to computer_lec_02
Introduction to computer_lec_02
Ramadan Babers, PhD
 
Binary and EC codes
Binary and EC codesBinary and EC codes
Binary and EC codes
Mahesh Singh Madai
 
Implementation of error correcting methods to the asynchronous Delay Insensit...
Implementation of error correcting methods to the asynchronous Delay Insensit...Implementation of error correcting methods to the asynchronous Delay Insensit...
Implementation of error correcting methods to the asynchronous Delay Insensit...
IOSR Journals
 
Design and implementation of single bit error correction linear block code sy...
Design and implementation of single bit error correction linear block code sy...Design and implementation of single bit error correction linear block code sy...
Design and implementation of single bit error correction linear block code sy...
TELKOMNIKA JOURNAL
 
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
IJERA Editor
 
Reed solomon code
Reed solomon codeReed solomon code
Reed solomon code
Melaku Bayih Demessie
 
Introduction to computer_lec_02_fall_2018
Introduction to computer_lec_02_fall_2018Introduction to computer_lec_02_fall_2018
Introduction to computer_lec_02_fall_2018
Ramadan Babers, PhD
 
DLD-W3-L1.pptx
DLD-W3-L1.pptxDLD-W3-L1.pptx
DLD-W3-L1.pptx
aneesurrehman54
 
Chapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSIChapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSI
Er. Nawaraj Bhandari
 
Computer-codes.pptx
Computer-codes.pptxComputer-codes.pptx
Computer-codes.pptx
PraveenThabbannavar
 
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
JatinJatin30
 

Similar to Lecture 9 (20)

BCDCONVERTER.pptx
BCDCONVERTER.pptxBCDCONVERTER.pptx
BCDCONVERTER.pptx
 
Codes
CodesCodes
Codes
 
review of number systems and codes
review of number systems and codesreview of number systems and codes
review of number systems and codes
 
Reed Soloman and convolution codes
Reed Soloman and convolution codesReed Soloman and convolution codes
Reed Soloman and convolution codes
 
f33-ft-computing-lec09-correct.ppt
f33-ft-computing-lec09-correct.pptf33-ft-computing-lec09-correct.ppt
f33-ft-computing-lec09-correct.ppt
 
Coa presentation1
Coa presentation1Coa presentation1
Coa presentation1
 
Number system
Number systemNumber system
Number system
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
Reed Solomon Coding For Error Detection and Correction
Reed Solomon Coding For Error Detection and CorrectionReed Solomon Coding For Error Detection and Correction
Reed Solomon Coding For Error Detection and Correction
 
Introduction to computer_lec_02
Introduction to computer_lec_02Introduction to computer_lec_02
Introduction to computer_lec_02
 
Binary and EC codes
Binary and EC codesBinary and EC codes
Binary and EC codes
 
Implementation of error correcting methods to the asynchronous Delay Insensit...
Implementation of error correcting methods to the asynchronous Delay Insensit...Implementation of error correcting methods to the asynchronous Delay Insensit...
Implementation of error correcting methods to the asynchronous Delay Insensit...
 
Design and implementation of single bit error correction linear block code sy...
Design and implementation of single bit error correction linear block code sy...Design and implementation of single bit error correction linear block code sy...
Design and implementation of single bit error correction linear block code sy...
 
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
Analysis and Implementation of Hard-Decision Viterbi Decoding In Wireless Com...
 
Reed solomon code
Reed solomon codeReed solomon code
Reed solomon code
 
Introduction to computer_lec_02_fall_2018
Introduction to computer_lec_02_fall_2018Introduction to computer_lec_02_fall_2018
Introduction to computer_lec_02_fall_2018
 
DLD-W3-L1.pptx
DLD-W3-L1.pptxDLD-W3-L1.pptx
DLD-W3-L1.pptx
 
Chapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSIChapter 5: Cominational Logic with MSI and LSI
Chapter 5: Cominational Logic with MSI and LSI
 
Computer-codes.pptx
Computer-codes.pptxComputer-codes.pptx
Computer-codes.pptx
 
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
 

More from M. Raihan

Lecture 7
Lecture 7Lecture 7
Lecture 7
M. Raihan
 
Lecture 6
Lecture 6Lecture 6
Lecture 6
M. Raihan
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
M. Raihan
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
M. Raihan
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
M. Raihan
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
M. Raihan
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
M. Raihan
 
Amplifiers and biopotential amplifiers new
Amplifiers and biopotential amplifiers newAmplifiers and biopotential amplifiers new
Amplifiers and biopotential amplifiers new
M. Raihan
 
Comparison of fnir with other neuroimaging modalities relation between eeg sy...
Comparison of fnir with other neuroimaging modalities relation between eeg sy...Comparison of fnir with other neuroimaging modalities relation between eeg sy...
Comparison of fnir with other neuroimaging modalities relation between eeg sy...
M. Raihan
 
Lecture 10
Lecture 10Lecture 10
Lecture 10
M. Raihan
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
M. Raihan
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
M. Raihan
 
Lecture 6
Lecture 6Lecture 6
Lecture 6
M. Raihan
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
M. Raihan
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
M. Raihan
 
Lecture 18
Lecture 18Lecture 18
Lecture 18
M. Raihan
 
Lecture 17
Lecture 17Lecture 17
Lecture 17
M. Raihan
 
Lecture 16
Lecture 16Lecture 16
Lecture 16
M. Raihan
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
M. Raihan
 
Lecture 15
Lecture 15Lecture 15
Lecture 15
M. Raihan
 

More from M. Raihan (20)

Lecture 7
Lecture 7Lecture 7
Lecture 7
 
Lecture 6
Lecture 6Lecture 6
Lecture 6
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Amplifiers and biopotential amplifiers new
Amplifiers and biopotential amplifiers newAmplifiers and biopotential amplifiers new
Amplifiers and biopotential amplifiers new
 
Comparison of fnir with other neuroimaging modalities relation between eeg sy...
Comparison of fnir with other neuroimaging modalities relation between eeg sy...Comparison of fnir with other neuroimaging modalities relation between eeg sy...
Comparison of fnir with other neuroimaging modalities relation between eeg sy...
 
Lecture 10
Lecture 10Lecture 10
Lecture 10
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
Lecture 6
Lecture 6Lecture 6
Lecture 6
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Lecture 18
Lecture 18Lecture 18
Lecture 18
 
Lecture 17
Lecture 17Lecture 17
Lecture 17
 
Lecture 16
Lecture 16Lecture 16
Lecture 16
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Lecture 15
Lecture 15Lecture 15
Lecture 15
 

Recently uploaded

How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
Wahiba Chair Training & Consulting
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 

Recently uploaded (20)

How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 

Lecture 9

  • 3. Excess-3 Code 22-Aug-17 3 It is a binary code in which each decimal number is expressed in excess of three, i.e., 3 It is said to be self-complementing code (a code is said to be self-complementing if the code word of the 9’s complement of N, i.e., (9 – N) can be obtained from the code word of N, interchanging all the 1’s and 0’s). The BCD code is not self-complementing.
  • 4. Excess-3 Code 22-Aug-17 4 Say, N = 7 = (1010)E3 Now 9 – N = 9 – 7 = 2 And 2 = (0101)E3 1’s complement of (1010)E3 is (0101)E3 = 2 It is a non-weighted code. Decimal Digit Excess-3 0 0 0 1 1 1 0 1 0 0 2 0 1 0 1 3 0 1 1 0 4 0 1 1 1 5 1 0 0 0 6 1 0 0 1 7 1 0 1 0 8 1 0 1 1 9 1 1 0 0
  • 5. Gray Code 22-Aug-17 5 The Gray code is an un-weighted code not suited to arithmetic operations. It is useful for I/O devices, analog to digital converters. Each gray code differs from its neighbor by a single bit. Codes which have such a property is known as cyclic code.
  • 6. Binary to Gray Code 22-Aug-17 6 The MSD of gray code is the same as the MSD of binary code. Add each pair of adjacent bits (starting from MSD) of the binary code to get the next gray digit disregarding the carries.
  • 7. Gray Code to Binary 22-Aug-17 7 MSD of the gray code is the MSD of binary. Starting from MSD, produce bi+1=bi+gi+1 disregarding the carries.
  • 8. Error Detecting Code 22-Aug-17 8 Computers are very reliable, but errors may be occurred during data input, processing, output operation, or data communication. Errors may be caused by dust particles on storage media, by improper humidity levels or by electrical disturbances during data transmission between units. Method for detecting errors by adding an extra bit to each bit string of usually 7 bits. This additional bit is called parity bit.
  • 9. Error Detecting Code 22-Aug-17 9 This checking feature is called a parity checking. There are two types of parity checking codes: (i) Odd parity code, and (ii) Even parity code. In Odd parity method, the value of parity bit is chosen so that the total number of 1’s in the code group (bit string plus parity bit) is an odd number. In Even parity method, the value of parity bit is chosen so that the total number of 1’s in the code group (bit string plus parity bit) is an even number.
  • 10. Representation of Characters 22-Aug-17 10 Coding of characters has been standardized to facilitate exchange of recoded data between computers. Two popular standard codes: EBCDIC (Extended Binary Coded Decimal Interchange Code) ASCII (American Standard Code for Information Interchange)
  • 11. EBCDIC 22-Aug-17 11 The EBCDIC is an 8 bit code primarily used by IBM and IBM compatible computer system. It allows a large variety of printable special characters and non-printable control characters. All 256 (28) bit combinations have not yet been assigned characters.
  • 12. ASCII 22-Aug-17 12 These codes are of two types: ASCII-7 and ASCII-8.  ASCII-7 is a 7 bit code that allows 128 (27) different characters.  ASCII-8 is a 8 bit code that allows 256 (28) different character.
  • 13. Unicode 22-Aug-17 13 It is 16 bit code to represent different 65000+ characters/ symbols of different languages. Unicode can represent many of the world’s languages.
  • 14. Logic Gates 22-Aug-17 14 OR Gate AND Gate NOT Gate NOR Gate NAND Gate XOR Gate XNOR Gate
  • 15. Logic Gates 22-Aug-17 15 OR Gate: Example: out= A+B
  • 22. Logic Expression with Logic Gate 22-Aug-17 22 Y = AB + CD F = 𝑿 𝒀 Z + 𝑿 Y Z + X 𝒀 F = (A+B).(C+D) Y = (A+B).( 𝑨 + 𝑩) F =( 𝑿 𝒀 + 𝑿 Z + 𝑿𝒀𝒁)⨁( 𝑿 𝒀 Z + 𝑿 Y Z + X 𝒀)