SlideShare a Scribd company logo
INSTITUT KEMAHIRAN MARA BESUT
JALAN BATU TUMBUH, ALOR LINTANG,
22000 BESUT,
TERENGGANU DARUL IMAN.
INFORMATION SHEET
( KERTAS PENERANGAN )
PROGRAM’S CODE &
NAME/ KOD DAN NAMA
PROGRAM
EE-021-2:2012 INDUSTRIAL ELECTRONICS
LEVEL/ TAHAP L2
COMPETENCY UNIT NO.
AND TITLE/ NO. DAN
TAJUK UNIT
KOMPETENSI
C02 INSTRUMENT AND TEST EQUIPMENT SETUP &
HANDLING
WORK ACTIVITIES NO.
AND STATEMENT/ NO.
DAN PENYATAAN
AKTIVITI KERJA
1. IDENTIFY INSTRUMENT AND TEST EQUIPMENT
SET UP & HANDLING
2. PREPARE FOR INSTRUMENT AND TEST
EQUIPMENT SET UP & HANDLING
3. SET UP INSTRUMENT AND TEST EQUIPMENT
4. PERFORM RECORDING AND TAGGING OF
INSTRUMENT & TEST EQUIPMENT
5. REPORT INSTRUMENT AND TEST EQUIPMENT SET
UP & HANDLING
CODE NO. / NO. KOD EE-021-2:2012-C02/P(3/15)
Page/ Muka Surat: 1
Of / Drpd : 10
TITLE/ TAJUK:
CODES IN DIGITAL SYSTEMS
PURPOSE/ TUJUAN:
This information sheet purposes to explain details on codes involved in digital systems.
The explanations related on the types of codes obviously been used, function of Binary
Coded Decimal (BCD) and emphasis the arithmetic operations in Binary Coded Decimal
other than steps to convert the number from decimal.
INFORMATION/ PENERANGAN:
BINARY CODED DECIMAL (BCD)
Binary coded decimal (BCD) is a way to express each of the decimal digits with a
binary code. There are only ten cod groups in the BCD system, so it is very easy to
convert between decimal and BCD. Because we like to read and write in decimal,
the BCD code provides an excellent interface to binary system. Examples of such
interfaces are keypad inputs and digital readouts.
Binary coded decimal means that each decimal digit 0 through 9 is represented by a
binary code of four bits. All you have remember are the ten binary combinations that
represent the decimal ten digits as shown in Table 1.
The six code combinations that are not used or invalid code are 1010, 1011, 1100,
1101, 1110 and 1111. To express any decimal number in BCD, simply replace each
decimal digit with the appropriate 4-bit code.
DECIMAL DIGIT BCD
0 0000
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1000
9 1001
Table 1: Decimal to BCD Conversions
CODE NO. / NO. KOD EE-021-2:2012-C02/P(3/15)
Page / Muka Surat : 2
Of / Drpd : 10
Example: Convert each of the following decimal numbers to BCD.
a. 35 b. 98 c. 170 d. 2469
Solutions:
a. 3 5 b. 9 8
0011 0101 1001 1000
c. 1 7 0 d. 2 4 6 9
0001 0111 0000 0010 0100 0110 1001
Example 2: Convert each of the following BCD codes to decimal.
a. 1000 0110 b. 0011 0101 0001
8 6 3 5 1
c. 1001 0100 0111 0000
9 4 7 0
CODE NO. / NO. KOD EE-021-2:2012-C02/P(3/15)
Page / Muka Surat : 3
Of / Drpd : 10
BCD is a numerical code and can be used in arithmetic operation. Addition is the most
important operation because the other three operations (subtraction, multiplication and
division) can be accomplished by the use of addition.
Step procedures to add BCD number.
Step 1: Add the two BCD number using rules for binary addition.
Step 2: If a 4-bit sum is equal or less than 9, it is a valid BCD number.
Step 3: If a 4-bit sum is greater than 9, or if a carry out of the 4-bit group is
generated, it is an invalid result. Add 6 (0110) to the 4-bit sum in order to
skip the six invalid states and return the code to BCD. If a carry result
when 6 is added, simply add the carry to the next 4-bit group.
Example: Add the following BCD numbers.
a. 0011 + 0100 b. 0010 0011 + 0001 0101
0011 0010 0011
+ 0100 + 0001 0101
0111 0011 1000
c. 1000 0110 + 0001 0011
1000 0110
+ 0001 0011
1001 1001
d. 0100 01010000 + 0100 0001 0111
0100 0101 0000
+ 0100 0001 0111
1000 0110 0111
CODE NO. / NO. KOD EE-021-2:2012-C02/P(3/15)
Page / Muka Surat : 4
Of / Drpd : 10
Example: Add the following BCD numbers.
a. 1001 + 0100
1001
+ 0100
1101 Invalid BCD number (>9)
+ 0100 Add 6
0001 0011 Valid BCD number
1 3
b. 1001 + 1001
1001
+ 1001
1 0010 Invalid because of carry
+ 0110 Add 6
0001 1000
1 8
c. 0001 0110 + 0001 0101
0001 0110
+ 0001 0101
0010 1011 Right group is invalid (>9), left group is valid
+ 0110 Add 6 to invalid code. Add carry to next
0011 0001 group.
3 1
CODE NO. / NO. KOD EE-021-2:2012-C02/P(3/15)
Page / Muka Surat : 5
Of / Drpd : 10
d. 0110 0111 + 0101 0011
0110 0111
+ 0101 0011
1011 1010 Both groups are invalid (>9)
+ 0110 0110 Add 6 to both groups
0001 0010 0000 Valid BCD number
1 2 0
AMERICAN STANDARD CODE FOR INFORMATION INTERCHANGE (ASCII)
ASCII is the abbreviation for American Standard Code for Information Interchange.
Pronounce “askee”. ASCII is a universally accepted alphanumeric code used in most
computers and other electronic equipment. Most computer keyboards are standardized
with the ASCII. When we enter a letter, a number or control command, the
corresponding ASCII code goes into the computer.
ASCII has 128 characters and symbols represented by a 7-bit binary code. Actually
ASCII can be considered an 8-bit code with the MSB always 0. This 8-bit code is 00
through 7F in hexadecimal.
The first thirty-two ASCII characters are non-graphic commands that are never printed
or displayed and are used only for control purposes. Examples of the control characters
are “null”, “line feed”, “start of text” and “escape”. The other characters are graphic
symbols that can be printed or displayed and include the letters of the alphabet
(lowercase and uppercase), the ten decimal digits, punctuation signs and other
commonly used symbols.
Table 2 is a listing of the ASCII code showing the decimal, hexadecimal and binary
representations for each character and symbol. The left section of the table lists the
names of the 32-control character (00 through 1F hexadecimal).
CODE NO. / NO. KOD EE-021-2:2012-C02/P(3/15)
Page / Muka Surat : 6
Of / Drpd : 10
Table 2: ASCII Representations.
The first thirty-two codes in the ASCII table represent the control characters. These are
used to allow devices such as a computer and printer to communicate with each other
when passing information and data. The extended ASCII contains characters in the
following general categories:
• Foreign (non-English) alphabetic characters
• Foreign currency symbols
• Greek Letter
• Mathematical symbols
• Drawing characters
• Bar graphing characters
• Shading character
CODE NO. / NO. KOD EE-021-2:2012-C02/P(3/15)
Page / Muka Surat : 7
Of / Drpd : 10
QUESTION/ SOALAN:
Answer all the questions.
1. Convert the following decimal to BCD.
i. 34 = ________________________________________
ii. 11 = ________________________________________
iii. 29 = ________________________________________
iv. 151 = ________________________________________
v. 253 = ________________________________________
vi. 540 = ________________________________________
vii. 762 = ________________________________________
viii. 385 = ________________________________________
ix. 930 = ________________________________________
x. 496 = ________________________________________
2. Compute the following BCD operations.
i. 0010 + 1101.
ii. 1001 + 0001.
CODE NO. / NO. KOD EE-021-2:2012-C02/P(3/15)
Page / Muka Surat : 8
Of / Drpd : 10
iii. 0101 + 1000.
iv. 0010 0110 + 0000 1000.
v. 0010 0011 + 0001 0111.
vi. 1001 0000 + 1001 0001.
CODE NO. / NO. KOD EE-021-2:2012-C02/P(3/15)
Page / Muka Surat : 9
Of / Drpd : 10
REFERENCE/RUJUKAN:
1. Ronald J. Tocci (Fifth Edition, 2008). Prentice Hall International., Digital System
– Principle and Application. Pages : 132 till 150.
2. Tocci., Widmer., Moss (Tenth Edition, 2013). Pearson International Edition.,
Digital System – Principle and Application. Pages : 115 till 135.
3. Floyd (Ninth Edition, 2010). Pearson Prentice Hall., Digital Fundamental. Pages :
145 till 163.
4. Nigel P. Cook (2010). Prentice Hall., Introductory Digital Electronic. Pages : 112
till 125.
5. William Kleitz (Fifth Edition, 2011)., Prentice Hall., Digital Electronics – A
practical Approach. Pages : 110 till 132.
CODE NO. / NO. KOD EE-021-2:2012-C02/P(3/15)
Page / Muka Surat : 10
Of / Drpd : 10

More Related Content

What's hot

Number codes
Number codesNumber codes
Fico interview questions set 8
Fico interview questions set 8Fico interview questions set 8
Fico interview questions set 8
Chinmay Damle
 
Fico interview questions set 12
Fico interview questions set 12Fico interview questions set 12
Fico interview questions set 12
Chinmay Damle
 
Fico interview questions set 15
Fico interview questions set 15Fico interview questions set 15
Fico interview questions set 15
Chinmay Damle
 
Fico interview questions set 16
Fico interview questions set 16Fico interview questions set 16
Fico interview questions set 16
Chinmay Damle
 
Fico interview questions set 4
Fico interview questions set 4Fico interview questions set 4
Fico interview questions set 4
Chinmay Damle
 
Fico interview questions set 9
Fico interview questions set 9Fico interview questions set 9
Fico interview questions set 9
Chinmay Damle
 
Computerarchitecture by csa
Computerarchitecture by csaComputerarchitecture by csa
Computerarchitecture by csa
bathala sudhakar
 
Constants variables data_types
Constants variables data_typesConstants variables data_types
Constants variables data_types
NAVEEN SHARMA'S CLASSROOM
 
Mr20 enus 04-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 04-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 04-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 04-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Sami JAMMALI
 
Symbology code128
Symbology code128Symbology code128
Symbology code128cri fan
 
Mk0017 e-marketing winter 2014
Mk0017  e-marketing winter 2014Mk0017  e-marketing winter 2014
Mk0017 e-marketing winter 2014
Mba Assignments
 
Module of Easy HRMS
Module of Easy HRMSModule of Easy HRMS
Module of Easy HRMSAriful Islam
 
Kemela
KemelaKemela
Introduction to Binary Arithmetic
Introduction to Binary ArithmeticIntroduction to Binary Arithmetic
Introduction to Binary Arithmetic
babuece
 
Code conversion using verilog code VHDL
Code conversion using verilog code VHDL Code conversion using verilog code VHDL
Code conversion using verilog code VHDL
Bharti Airtel Ltd.
 

What's hot (18)

Number codes
Number codesNumber codes
Number codes
 
Fico interview questions set 8
Fico interview questions set 8Fico interview questions set 8
Fico interview questions set 8
 
Fico interview questions set 12
Fico interview questions set 12Fico interview questions set 12
Fico interview questions set 12
 
Fico interview questions set 15
Fico interview questions set 15Fico interview questions set 15
Fico interview questions set 15
 
Fico interview questions set 16
Fico interview questions set 16Fico interview questions set 16
Fico interview questions set 16
 
Fico interview questions set 4
Fico interview questions set 4Fico interview questions set 4
Fico interview questions set 4
 
Fico interview questions set 9
Fico interview questions set 9Fico interview questions set 9
Fico interview questions set 9
 
Computerarchitecture by csa
Computerarchitecture by csaComputerarchitecture by csa
Computerarchitecture by csa
 
Constants variables data_types
Constants variables data_typesConstants variables data_types
Constants variables data_types
 
Mr20 enus 04-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 04-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...Mr20 enus 04-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
Mr20 enus 04-Report Design in Management Reporter 2.0 for Microsoft Dynamics®...
 
Symbology code128
Symbology code128Symbology code128
Symbology code128
 
Mk0017 e-marketing winter 2014
Mk0017  e-marketing winter 2014Mk0017  e-marketing winter 2014
Mk0017 e-marketing winter 2014
 
Module of Easy HRMS
Module of Easy HRMSModule of Easy HRMS
Module of Easy HRMS
 
Presentation
PresentationPresentation
Presentation
 
Kemela
KemelaKemela
Kemela
 
Introduction to Binary Arithmetic
Introduction to Binary ArithmeticIntroduction to Binary Arithmetic
Introduction to Binary Arithmetic
 
Figlecc6
Figlecc6Figlecc6
Figlecc6
 
Code conversion using verilog code VHDL
Code conversion using verilog code VHDL Code conversion using verilog code VHDL
Code conversion using verilog code VHDL
 

Viewers also liked

65th Glass Paperweight Auction by L H Selman Ltd
65th Glass Paperweight Auction by L H Selman Ltd65th Glass Paperweight Auction by L H Selman Ltd
65th Glass Paperweight Auction by L H Selman Ltd
L. H. Selman Ltd.
 
Generalidades sobre articulações
Generalidades sobre articulaçõesGeneralidades sobre articulações
Generalidades sobre articulações
Rogério Porto da Rocha
 
Aimspire Business Model for Sustainable Growth
Aimspire Business Model for Sustainable GrowthAimspire Business Model for Sustainable Growth
Aimspire Business Model for Sustainable Growth
AimspireWorld
 
Conheça a Digital Mind Group
Conheça a Digital Mind GroupConheça a Digital Mind Group
Conheça a Digital Mind Group
Digital Mind Group
 
A user centred CRM
A user centred CRMA user centred CRM
A user centred CRM
Humix
 
Building a Big Data Team
Building a Big Data TeamBuilding a Big Data Team
Building a Big Data Team
elephantscale
 
Permasalahan Erosi dan Abrasi di pantai
Permasalahan Erosi dan Abrasi di pantaiPermasalahan Erosi dan Abrasi di pantai
Permasalahan Erosi dan Abrasi di pantai
Ashar Asham
 
Instrumen & Peralatan Pengujian (Multimeter)
Instrumen & Peralatan Pengujian (Multimeter)Instrumen & Peralatan Pengujian (Multimeter)
Instrumen & Peralatan Pengujian (Multimeter)
athirahchehusin
 
Master mx 69a edicion
Master mx 69a edicionMaster mx 69a edicion
Master mx 69a edicion
Master Mx
 
One of the Best Brahmin Matrimony
One of the Best Brahmin MatrimonyOne of the Best Brahmin Matrimony
One of the Best Brahmin Matrimony
Wedding Inn
 
Maintopik2
Maintopik2Maintopik2
Maintopik2
Fadzilah Hashim
 
Quantity & Quality of Education in Pakistan ppt
Quantity & Quality of Education in Pakistan pptQuantity & Quality of Education in Pakistan ppt
Quantity & Quality of Education in Pakistan ppt
tayyabayousafzai
 
higher education presentation - World bank
higher education presentation - World bankhigher education presentation - World bank
higher education presentation - World bank
Naitik Vyas
 
As1 multimeter
As1 multimeterAs1 multimeter
As1 multimeter
hairilfaiz86
 
Asserting your own voice part 3
Asserting your own voice part 3Asserting your own voice part 3
Asserting your own voice part 3
Ron Martinez
 
Higher Education in Pakistan: An ICT Integration Viewpoint
Higher Education in Pakistan: An ICT Integration ViewpointHigher Education in Pakistan: An ICT Integration Viewpoint
Higher Education in Pakistan: An ICT Integration ViewpointZaffar Ahmed Shaikh
 
KERTAS TUGASAN
KERTAS TUGASANKERTAS TUGASAN
KERTAS TUGASAN
mohd nasri julaihi
 

Viewers also liked (20)

65th Glass Paperweight Auction by L H Selman Ltd
65th Glass Paperweight Auction by L H Selman Ltd65th Glass Paperweight Auction by L H Selman Ltd
65th Glass Paperweight Auction by L H Selman Ltd
 
Generalidades sobre articulações
Generalidades sobre articulaçõesGeneralidades sobre articulações
Generalidades sobre articulações
 
Aimspire Business Model for Sustainable Growth
Aimspire Business Model for Sustainable GrowthAimspire Business Model for Sustainable Growth
Aimspire Business Model for Sustainable Growth
 
Conheça a Digital Mind Group
Conheça a Digital Mind GroupConheça a Digital Mind Group
Conheça a Digital Mind Group
 
A user centred CRM
A user centred CRMA user centred CRM
A user centred CRM
 
Building a Big Data Team
Building a Big Data TeamBuilding a Big Data Team
Building a Big Data Team
 
Wim
WimWim
Wim
 
Permasalahan Erosi dan Abrasi di pantai
Permasalahan Erosi dan Abrasi di pantaiPermasalahan Erosi dan Abrasi di pantai
Permasalahan Erosi dan Abrasi di pantai
 
Instrumen & Peralatan Pengujian (Multimeter)
Instrumen & Peralatan Pengujian (Multimeter)Instrumen & Peralatan Pengujian (Multimeter)
Instrumen & Peralatan Pengujian (Multimeter)
 
Master mx 69a edicion
Master mx 69a edicionMaster mx 69a edicion
Master mx 69a edicion
 
One of the Best Brahmin Matrimony
One of the Best Brahmin MatrimonyOne of the Best Brahmin Matrimony
One of the Best Brahmin Matrimony
 
Maintopik2
Maintopik2Maintopik2
Maintopik2
 
Quantity & Quality of Education in Pakistan ppt
Quantity & Quality of Education in Pakistan pptQuantity & Quality of Education in Pakistan ppt
Quantity & Quality of Education in Pakistan ppt
 
higher education presentation - World bank
higher education presentation - World bankhigher education presentation - World bank
higher education presentation - World bank
 
As1 multimeter
As1 multimeterAs1 multimeter
As1 multimeter
 
Nota
NotaNota
Nota
 
Motor Elektrik
Motor ElektrikMotor Elektrik
Motor Elektrik
 
Asserting your own voice part 3
Asserting your own voice part 3Asserting your own voice part 3
Asserting your own voice part 3
 
Higher Education in Pakistan: An ICT Integration Viewpoint
Higher Education in Pakistan: An ICT Integration ViewpointHigher Education in Pakistan: An ICT Integration Viewpoint
Higher Education in Pakistan: An ICT Integration Viewpoint
 
KERTAS TUGASAN
KERTAS TUGASANKERTAS TUGASAN
KERTAS TUGASAN
 

Similar to Information sheet/Kertas Penerangan

Number codes students
Number codes studentsNumber codes students
Mcs 012 soved assignment 2015-16
Mcs 012 soved assignment 2015-16Mcs 012 soved assignment 2015-16
Mcs 012 soved assignment 2015-16
Indira Gnadhi National Open University (IGNOU)
 
Lecture 5 binary_codes
Lecture 5 binary_codesLecture 5 binary_codes
Lecture 5 binary_codes
Kamran Zafar
 
computercodes, BCD, EBCDIC,ASCII,UNICODE
computercodes, BCD, EBCDIC,ASCII,UNICODEcomputercodes, BCD, EBCDIC,ASCII,UNICODE
computercodes, BCD, EBCDIC,ASCII,UNICODE
dbmscse61
 
Binary codes
Binary codesBinary codes
Binary codes
GargiKhanna1
 
. computer codes
. computer codes. computer codes
. computer codes
asadsiddique12
 
BCDCONVERTER.pptx
BCDCONVERTER.pptxBCDCONVERTER.pptx
BCDCONVERTER.pptx
MagedAldhaeebi
 
Unit1_Part2-Machine_Instructions_Programs_7_9_2018_3pm.ppt
Unit1_Part2-Machine_Instructions_Programs_7_9_2018_3pm.pptUnit1_Part2-Machine_Instructions_Programs_7_9_2018_3pm.ppt
Unit1_Part2-Machine_Instructions_Programs_7_9_2018_3pm.ppt
ChiragSuresh
 
Number System[HEXADECIMAL].pptx
Number System[HEXADECIMAL].pptxNumber System[HEXADECIMAL].pptx
Number System[HEXADECIMAL].pptx
MaheShiva
 
Logic Design 2009
Logic Design 2009Logic Design 2009
Logic Design 2009
lionking
 
Binary codes
Binary codesBinary codes
Binary codes
Neha Jamini
 
binarycodes.pdf
binarycodes.pdfbinarycodes.pdf
binarycodes.pdf
17111ASIFNOORJAMEE
 
DLD-W3-L1.pptx
DLD-W3-L1.pptxDLD-W3-L1.pptx
DLD-W3-L1.pptx
aneesurrehman54
 
Code conversion r006
Code conversion r006Code conversion r006
Code conversion r006
arunachalamr16
 
dtei-180910104911-converted.pptx
dtei-180910104911-converted.pptxdtei-180910104911-converted.pptx
dtei-180910104911-converted.pptx
deepaMS4
 
review of number systems and codes
review of number systems and codesreview of number systems and codes
review of number systems and codes
srinu247
 
유니코드 표
유니코드 표유니코드 표
유니코드 표
서진 홍
 
유니코드 표
유니코드 표유니코드 표
유니코드 표서진 홍
 
Lecture 01
Lecture 01Lecture 01
Lecture 01
sohelranasweet
 

Similar to Information sheet/Kertas Penerangan (20)

Number codes students
Number codes studentsNumber codes students
Number codes students
 
Mcs 012 soved assignment 2015-16
Mcs 012 soved assignment 2015-16Mcs 012 soved assignment 2015-16
Mcs 012 soved assignment 2015-16
 
Lecture 5 binary_codes
Lecture 5 binary_codesLecture 5 binary_codes
Lecture 5 binary_codes
 
computercodes, BCD, EBCDIC,ASCII,UNICODE
computercodes, BCD, EBCDIC,ASCII,UNICODEcomputercodes, BCD, EBCDIC,ASCII,UNICODE
computercodes, BCD, EBCDIC,ASCII,UNICODE
 
Binary codes
Binary codesBinary codes
Binary codes
 
. computer codes
. computer codes. computer codes
. computer codes
 
BCDCONVERTER.pptx
BCDCONVERTER.pptxBCDCONVERTER.pptx
BCDCONVERTER.pptx
 
Unit1_Part2-Machine_Instructions_Programs_7_9_2018_3pm.ppt
Unit1_Part2-Machine_Instructions_Programs_7_9_2018_3pm.pptUnit1_Part2-Machine_Instructions_Programs_7_9_2018_3pm.ppt
Unit1_Part2-Machine_Instructions_Programs_7_9_2018_3pm.ppt
 
Number System[HEXADECIMAL].pptx
Number System[HEXADECIMAL].pptxNumber System[HEXADECIMAL].pptx
Number System[HEXADECIMAL].pptx
 
Logic Design 2009
Logic Design 2009Logic Design 2009
Logic Design 2009
 
Binary codes
Binary codesBinary codes
Binary codes
 
binarycodes.pdf
binarycodes.pdfbinarycodes.pdf
binarycodes.pdf
 
DLD-W3-L1.pptx
DLD-W3-L1.pptxDLD-W3-L1.pptx
DLD-W3-L1.pptx
 
Code conversion r006
Code conversion r006Code conversion r006
Code conversion r006
 
dtei-180910104911-converted.pptx
dtei-180910104911-converted.pptxdtei-180910104911-converted.pptx
dtei-180910104911-converted.pptx
 
review of number systems and codes
review of number systems and codesreview of number systems and codes
review of number systems and codes
 
유니코드 표
유니코드 표유니코드 표
유니코드 표
 
유니코드 표
유니코드 표유니코드 표
유니코드 표
 
Chap 01[1]
Chap 01[1]Chap 01[1]
Chap 01[1]
 
Lecture 01
Lecture 01Lecture 01
Lecture 01
 

Recently uploaded

Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 

Recently uploaded (20)

Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 

Information sheet/Kertas Penerangan

  • 1. INSTITUT KEMAHIRAN MARA BESUT JALAN BATU TUMBUH, ALOR LINTANG, 22000 BESUT, TERENGGANU DARUL IMAN. INFORMATION SHEET ( KERTAS PENERANGAN ) PROGRAM’S CODE & NAME/ KOD DAN NAMA PROGRAM EE-021-2:2012 INDUSTRIAL ELECTRONICS LEVEL/ TAHAP L2 COMPETENCY UNIT NO. AND TITLE/ NO. DAN TAJUK UNIT KOMPETENSI C02 INSTRUMENT AND TEST EQUIPMENT SETUP & HANDLING WORK ACTIVITIES NO. AND STATEMENT/ NO. DAN PENYATAAN AKTIVITI KERJA 1. IDENTIFY INSTRUMENT AND TEST EQUIPMENT SET UP & HANDLING 2. PREPARE FOR INSTRUMENT AND TEST EQUIPMENT SET UP & HANDLING 3. SET UP INSTRUMENT AND TEST EQUIPMENT 4. PERFORM RECORDING AND TAGGING OF INSTRUMENT & TEST EQUIPMENT 5. REPORT INSTRUMENT AND TEST EQUIPMENT SET UP & HANDLING CODE NO. / NO. KOD EE-021-2:2012-C02/P(3/15) Page/ Muka Surat: 1 Of / Drpd : 10 TITLE/ TAJUK: CODES IN DIGITAL SYSTEMS PURPOSE/ TUJUAN: This information sheet purposes to explain details on codes involved in digital systems. The explanations related on the types of codes obviously been used, function of Binary Coded Decimal (BCD) and emphasis the arithmetic operations in Binary Coded Decimal other than steps to convert the number from decimal.
  • 2. INFORMATION/ PENERANGAN: BINARY CODED DECIMAL (BCD) Binary coded decimal (BCD) is a way to express each of the decimal digits with a binary code. There are only ten cod groups in the BCD system, so it is very easy to convert between decimal and BCD. Because we like to read and write in decimal, the BCD code provides an excellent interface to binary system. Examples of such interfaces are keypad inputs and digital readouts. Binary coded decimal means that each decimal digit 0 through 9 is represented by a binary code of four bits. All you have remember are the ten binary combinations that represent the decimal ten digits as shown in Table 1. The six code combinations that are not used or invalid code are 1010, 1011, 1100, 1101, 1110 and 1111. To express any decimal number in BCD, simply replace each decimal digit with the appropriate 4-bit code. DECIMAL DIGIT BCD 0 0000 1 0001 2 0010 3 0011 4 0100 5 0101 6 0110 7 0111 8 1000 9 1001 Table 1: Decimal to BCD Conversions CODE NO. / NO. KOD EE-021-2:2012-C02/P(3/15) Page / Muka Surat : 2 Of / Drpd : 10
  • 3. Example: Convert each of the following decimal numbers to BCD. a. 35 b. 98 c. 170 d. 2469 Solutions: a. 3 5 b. 9 8 0011 0101 1001 1000 c. 1 7 0 d. 2 4 6 9 0001 0111 0000 0010 0100 0110 1001 Example 2: Convert each of the following BCD codes to decimal. a. 1000 0110 b. 0011 0101 0001 8 6 3 5 1 c. 1001 0100 0111 0000 9 4 7 0 CODE NO. / NO. KOD EE-021-2:2012-C02/P(3/15) Page / Muka Surat : 3 Of / Drpd : 10
  • 4. BCD is a numerical code and can be used in arithmetic operation. Addition is the most important operation because the other three operations (subtraction, multiplication and division) can be accomplished by the use of addition. Step procedures to add BCD number. Step 1: Add the two BCD number using rules for binary addition. Step 2: If a 4-bit sum is equal or less than 9, it is a valid BCD number. Step 3: If a 4-bit sum is greater than 9, or if a carry out of the 4-bit group is generated, it is an invalid result. Add 6 (0110) to the 4-bit sum in order to skip the six invalid states and return the code to BCD. If a carry result when 6 is added, simply add the carry to the next 4-bit group. Example: Add the following BCD numbers. a. 0011 + 0100 b. 0010 0011 + 0001 0101 0011 0010 0011 + 0100 + 0001 0101 0111 0011 1000 c. 1000 0110 + 0001 0011 1000 0110 + 0001 0011 1001 1001 d. 0100 01010000 + 0100 0001 0111 0100 0101 0000 + 0100 0001 0111 1000 0110 0111 CODE NO. / NO. KOD EE-021-2:2012-C02/P(3/15) Page / Muka Surat : 4 Of / Drpd : 10
  • 5. Example: Add the following BCD numbers. a. 1001 + 0100 1001 + 0100 1101 Invalid BCD number (>9) + 0100 Add 6 0001 0011 Valid BCD number 1 3 b. 1001 + 1001 1001 + 1001 1 0010 Invalid because of carry + 0110 Add 6 0001 1000 1 8 c. 0001 0110 + 0001 0101 0001 0110 + 0001 0101 0010 1011 Right group is invalid (>9), left group is valid + 0110 Add 6 to invalid code. Add carry to next 0011 0001 group. 3 1 CODE NO. / NO. KOD EE-021-2:2012-C02/P(3/15) Page / Muka Surat : 5 Of / Drpd : 10
  • 6. d. 0110 0111 + 0101 0011 0110 0111 + 0101 0011 1011 1010 Both groups are invalid (>9) + 0110 0110 Add 6 to both groups 0001 0010 0000 Valid BCD number 1 2 0 AMERICAN STANDARD CODE FOR INFORMATION INTERCHANGE (ASCII) ASCII is the abbreviation for American Standard Code for Information Interchange. Pronounce “askee”. ASCII is a universally accepted alphanumeric code used in most computers and other electronic equipment. Most computer keyboards are standardized with the ASCII. When we enter a letter, a number or control command, the corresponding ASCII code goes into the computer. ASCII has 128 characters and symbols represented by a 7-bit binary code. Actually ASCII can be considered an 8-bit code with the MSB always 0. This 8-bit code is 00 through 7F in hexadecimal. The first thirty-two ASCII characters are non-graphic commands that are never printed or displayed and are used only for control purposes. Examples of the control characters are “null”, “line feed”, “start of text” and “escape”. The other characters are graphic symbols that can be printed or displayed and include the letters of the alphabet (lowercase and uppercase), the ten decimal digits, punctuation signs and other commonly used symbols. Table 2 is a listing of the ASCII code showing the decimal, hexadecimal and binary representations for each character and symbol. The left section of the table lists the names of the 32-control character (00 through 1F hexadecimal). CODE NO. / NO. KOD EE-021-2:2012-C02/P(3/15) Page / Muka Surat : 6 Of / Drpd : 10
  • 7. Table 2: ASCII Representations. The first thirty-two codes in the ASCII table represent the control characters. These are used to allow devices such as a computer and printer to communicate with each other when passing information and data. The extended ASCII contains characters in the following general categories: • Foreign (non-English) alphabetic characters • Foreign currency symbols • Greek Letter • Mathematical symbols • Drawing characters • Bar graphing characters • Shading character CODE NO. / NO. KOD EE-021-2:2012-C02/P(3/15) Page / Muka Surat : 7 Of / Drpd : 10
  • 8. QUESTION/ SOALAN: Answer all the questions. 1. Convert the following decimal to BCD. i. 34 = ________________________________________ ii. 11 = ________________________________________ iii. 29 = ________________________________________ iv. 151 = ________________________________________ v. 253 = ________________________________________ vi. 540 = ________________________________________ vii. 762 = ________________________________________ viii. 385 = ________________________________________ ix. 930 = ________________________________________ x. 496 = ________________________________________ 2. Compute the following BCD operations. i. 0010 + 1101. ii. 1001 + 0001. CODE NO. / NO. KOD EE-021-2:2012-C02/P(3/15) Page / Muka Surat : 8 Of / Drpd : 10
  • 9. iii. 0101 + 1000. iv. 0010 0110 + 0000 1000. v. 0010 0011 + 0001 0111. vi. 1001 0000 + 1001 0001. CODE NO. / NO. KOD EE-021-2:2012-C02/P(3/15) Page / Muka Surat : 9 Of / Drpd : 10
  • 10. REFERENCE/RUJUKAN: 1. Ronald J. Tocci (Fifth Edition, 2008). Prentice Hall International., Digital System – Principle and Application. Pages : 132 till 150. 2. Tocci., Widmer., Moss (Tenth Edition, 2013). Pearson International Edition., Digital System – Principle and Application. Pages : 115 till 135. 3. Floyd (Ninth Edition, 2010). Pearson Prentice Hall., Digital Fundamental. Pages : 145 till 163. 4. Nigel P. Cook (2010). Prentice Hall., Introductory Digital Electronic. Pages : 112 till 125. 5. William Kleitz (Fifth Edition, 2011)., Prentice Hall., Digital Electronics – A practical Approach. Pages : 110 till 132. CODE NO. / NO. KOD EE-021-2:2012-C02/P(3/15) Page / Muka Surat : 10 Of / Drpd : 10