信息学奥赛知识(Knowledge of Olympiad in Informatics).doc

信息学奥赛知识(Knowledge of Olympiad in Informatics).doc

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

信息学奥赛知识(Knowledge of Olympiad in Informatics) Two, hexadecimal and coding The transformation between the four kinds of system and their: Radix number, cardinal number, weights, law of input 0, 1, 2 decimal, 3, 4, 5, 6, 7, 8, 910 10I every one decimal Binary 0, 12 2I, two in one Octal 0, 1, 2, 3, 4, 5, 6,, 78, eight, one Sixteen hexadecimal 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F,, 16, 16i, every sixteen into a. A decimal number converted into binary, octal, and sixteen decimal numbers: Binary number, octal number, sixteen decimal number converted to decimal number method: by right expansion and summation method 1. conversion between binary and decimal systems: (1) binary to decimal Methods: according to the right to expand Example: (1011.01) 2 (= 1 * * * * 230 221 211 200 * * 211 2-2) 10 (802100.25 = 10) = (11.25) 10 Rule: the number of digits on the digit is 0, the number of digits on the ten digit is 1, and the number increases by ten The number of divided digits is -1, and the number of digits in the percentile is -2, and then decreases in turn. Note: not any decimal number can be converted into a limited number of binary digits. (2) decimal to binary Decimal integer to binary number: divided by 2, in reverse order (short division elimination method) Example: (89) 10 = (1011001) 2 289 244...... One 222...... Zero 211...... Zero 25...... One 22...... One 21...... Zero 0...... One Decimal to binary number? Multiplied by 2, order (by 2 rounding method) Example: (0.625) 10= (0.101) 2 Zero point six two five X 2 1.251 X 2 0.50 X 2 1.01 2. octal to binary conversion: The binary number is converted into an octal number: starting from the decimal integer, decimal part of left to right, every 3 to indicate a group with an octal number, less than 3 bits to use 0 make up 3, get an octal number. Octal numbers are converted into binary numbers: each octal digit is converted into a binary number of 3 bits, and a binary number is obtained. Example: converts octal 37.416

您可能关注的文档

文档评论(0)

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

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

版权声明书
用户编号:6111134150000003

1亿VIP精品文档

相关文档