数字电子技术英文学习教案.pptx
《数字电子技术英文学习教案.pptx》由会员分享,可在线阅读,更多相关《数字电子技术英文学习教案.pptx(67页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、会计学1数字数字(shz)电子技术英文电子技术英文第一页,共67页。Introductory ParagraphIntroductory Paragraphn nYou are familiar with the decimal number system You are familiar with the decimal number system because you use decimal numbers every day.Although because you use decimal numbers every day.Although decimal numbers are c
2、ommonplace,their weighted decimal numbers are commonplace,their weighted structure is often not understood.In this section,the structure is often not understood.In this section,the structure of decimal numbers is reviewed.Their structure of decimal numbers is reviewed.Their review will help you more
3、 easily understand the review will help you more easily understand the structure of the binary number system,which is structure of the binary number system,which is important in computers and digital electronics.important in computers and digital electronics.第2页/共67页第二页,共67页。Decimal ReviewDecimal Re
4、viewn nNumbers consist of a bunch of digits,each with a Numbers consist of a bunch of digits,each with a weightweight.These weights are all powers of the base,which is 10.We can rewrite this:To find the decimal value of a number,multiply each digit by its weight and sum the products.第3页/共67页第三页,共67页
5、。Nothing Special about 10!Nothing Special about 10!n nDecimal system(and the idea of“0”)was invented in India Decimal system(and the idea of“0”)was invented in India around 100-500AD.around 100-500AD.n nWhy did they use 10?Anything special about it?Why did they use 10?Anything special about it?n nNo
6、t really.Not really.n nProbably the fact that we have 10 fingers influenced this.Probably the fact that we have 10 fingers influenced this.n nWill a base other than 10 work?Will a base other than 10 work?n nSure.Sure.What about base 2?第4页/共67页第四页,共67页。2-2 BINARY NUMBERS二进制数二进制数二进制数二进制数第5页/共67页第五页,共6
7、7页。Introductory ParagraphIntroductory Paragraphn nThe binary number system is simply another way to The binary number system is simply another way to represent quantities.The binary system is less represent quantities.The binary system is less complicated than the decimal system because it has compl
8、icated than the decimal system because it has only two digits.It may seem more difficult at first only two digits.It may seem more difficult at first because it is unfamiliar to you.The decimal system because it is unfamiliar to you.The decimal system with its ten digits is a base-ten system;with it
9、s ten digits is a base-ten system;the binary the binary system with its two digits is a base-two systemsystem with its two digits is a base-two system.The two.The two digits(bits)are 1 and 0.The position of a 1 or 0 in a digits(bits)are 1 and 0.The position of a 1 or 0 in a binary number indicates i
10、ts weight,or value within binary number indicates its weight,or value within the number,just as the position of a decimal digit the number,just as the position of a decimal digit determines the value of that digit.determines the value of that digit.The weights in a The weights in a binary number are
11、 based on powers of twobinary number are based on powers of two.第6页/共67页第六页,共67页。Counting in BinaryCounting in Binaryn nA binary count of 0 through 15 is shown below.As you will A binary count of 0 through 15 is shown below.As you will see,4 bits are required to count from 0 to 15.see,4 bits are req
12、uired to count from 0 to 15.第7页/共67页第七页,共67页。Counting Tennis Balls Going into a box from a Conveyor Counting Tennis Balls Going into a box from a Conveyor BeltBeltn nThe counter counts the pulses from a sensor that detects The counter counts the pulses from a sensor that detects the passing of a bal
13、l and produces a sequence of logic levels the passing of a ball and produces a sequence of logic levels(digital waveforms)on each of its four parallel outputs.Each(digital waveforms)on each of its four parallel outputs.Each set of logic levels represent a 4-bit binary number.The set of logic levels
14、represent a 4-bit binary number.The decoder decodes each set of four bits and converts it to the decoder decodes each set of four bits and converts it to the corresponding decimal number in the 7-segment display.corresponding decimal number in the 7-segment display.第8页/共67页第八页,共67页。The Weighting Str
15、ucture of Binary NumbersThe Weighting Structure of Binary Numbersn nA binary number is a weighted numberA binary number is a weighted number(加权数)(加权数).The right-.The right-most bit is the LSBmost bit is the LSB(最低有效(最低有效(y(y uxio)uxio)位)位)in a binary whole in a binary whole number and has a weight o
16、f 20=1.The weights increase from number and has a weight of 20=1.The weights increase from right right toto left by a power of two for each bit.The left-most left by a power of two for each bit.The left-most bit is the MSBbit is the MSB(最高有效(最高有效(y(y uxio)uxio)位)位).n nFractional numbersFractional nu
17、mbers(小数)(小数)can also be represented in binary can also be represented in binary by placing bits by placing bits toto the right of the binary point.The left-most the right of the binary point.The left-most bit is the MSB in a binary fractional number and has a weight bit is the MSB in a binary fract
18、ional number and has a weight of 2-1=0.5.The fractional weights decreases from left of 2-1=0.5.The fractional weights decreases from left toto right by a negative power of two for each bit.right by a negative power of two for each bit.n nThe weight structure of a binary number isThe weight structure
19、 of a binary number is第9页/共67页第九页,共67页。Binary-to Decimal ConversionBinary-to Decimal Conversionn nThe decimal value of any binary number can be The decimal value of any binary number can be found by adding the weights of all bits that are 1 found by adding the weights of all bits that are 1 and disc
20、arding the weights of all bits that are 0.and discarding the weights of all bits that are 0.第10页/共67页第十页,共67页。2-3 DECIMAL-TO-BINARY 2-3 DECIMAL-TO-BINARY CONVERSIONCONVERSION第11页/共67页第十一页,共67页。Repeated Division-by-2 MethodRepeated Division-by-2 Methodn nA systematic method of converting whole number
21、s from A systematic method of converting whole numbers from decimal to binary is the repeated devision-by-2 process.decimal to binary is the repeated devision-by-2 process.第12页/共67页第十二页,共67页。Repeated Multiplication-by-2 MethodRepeated Multiplication-by-2 Methodn nA systematic method of converting fr
22、actional numbers A systematic method of converting fractional numbers from decimal to binary is the repeated multiplication-by-from decimal to binary is the repeated multiplication-by-2 process.2 process.第13页/共67页第十三页,共67页。2-4 BINARY ARITHMETIC2-4 BINARY ARITHMETIC第14页/共67页第十四页,共67页。Binary AdditionB
23、inary Additionn nThe four basic rules for adding binary digits(bits)are The four basic rules for adding binary digits(bits)are as follows:as follows:0+0=0 Sum of 0 with a carry of 00+1=1 Sum of 1 with a carry of 01+0=1 Sum of 1 with a carry of 01+1=0 Sum of 0 with a carry of 1Example Add 1111 and 11
24、00.第15页/共67页第十五页,共67页。Binary SubtractionBinary Subtractionn nThe four basic rules for subtraction binary digits The four basic rules for subtraction binary digits(bits)are as follows:(bits)are as follows:0-0=0 Difference of 0 with a borrow of 00-1=1 Difference of 1 with a borrow of 11-0=1 Difference
25、 of 1 with a borrow of 01-1=0 Difference of 0 with a borrow of 0Example Subtract 100 from 111.第16页/共67页第十六页,共67页。Binary MultiplicationBinary Multiplicationn nThe four basic rules for multiplication binary digits(bits)The four basic rules for multiplication binary digits(bits)are as follows:are as fo
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 数字 电子技术 英文 学习 教案
限制150内