data representation – chapter 5.ppt

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
data representation – chapter 5

Chapter 5 Chapter 5 Data representation Learning outcomes By the end of this Chapter you will be able to: Explain how integers are represented in computers using: Unsigned, signed magnitude, excess, and two’s complement notations Explain how fractional numbers are represented in computers Floating point notation (IEEE 754 single format) Calculate the decimal value represented by a binary sequence in: Unsigned, signed notation, excess, two’s complement, and the IEEE 754 notations. Explain how characters are represented in computers E.g. using ASCII and Unicode Explain how colours, images, sound and movies are represented Additional Reading Essential Reading Stalling (2003): Chapter 9 Further Reading Brookshear (2003): Chapter 1.4 - 1.7 Burrell (2004): Chapter 2 Schneider and Gersting (2004): Chapter 4.2 Introduction In Chapter 3 How information is stored in the main memory, magnetic memory, and optical memory In Chapter 4: We studied how information is processed in computers How the CPU executes instructions In Chapter 5 We will be looking at how data is represented in computers Integer and fractional number representation Characters, colours and sounds representation Binary numbers Binary number is simply a number comprised of only 0s and 1s. Computers use binary numbers because its easy for them to communicate using electrical current -- 0 is off, 1 is on. You can express any base 10 (our number system -- where each digit is between 0 and 9) with binary numbers. The need to translate decimal number to binary and binary to decimal. There are many ways in representing decimal number in binary numbers. (later) How does the binary system work? It is just like any other system In decimal system the base is 10 We have 10 possible values 0-9 In binary system the base is 2 We have only two possible values 0 or 1. The same as in any base, 0 digit has non contribution, where 1’s has contribution which depends at there position. Example 3040510 = 3

文档评论(0)

kunpengchaoyue + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档