计算机导论-第3章-数字表示
更新时间:2023-04-07 01:32:01 阅读量: 教育文库 文档下载
- 计算机导论每章总结推荐度:
- 相关推荐
Chapter 3 Number Representation
Knowledge point:
3.1 Convert a number from decimal, hexadecimal, and octal to binary notation and vice versa.
3.2 Integer representation: unsigned, sign-and-magnitude, one’s complement, and two’s complement.
3.3 Excess system.
3.4 Floating-point representation.
REVIEW QUESTIONS
5. What are three methods to represent signed integers? (Knowledge point 3.2)
A:Sign-and-Magnitude, One’s Complement, and Two’s Complement.
9. Name two uses of unsigned integers. ( Knowledge point 3.2)
A:Counting and Addressing.
10. What happens when you try to store decimal 130 using sign-and-magnitude representation with an 8-bit allocation? ( Knowledge point 3.2)
A:Overflow.
11. Compare and contrast the representation of positive integers in sing-and-magnitude, one’s complement, and two’s complement. ( Knowledge point 3.2)
A:The representation of positive integers in sing-and-magnitude, one’s complement, and two’s complement is the same.
14. Compare and contrast the range of numbers that can be represented in sign-and-magnitude, one’s complement, and two’s complement. ( Knowledge point 3.2)
A:Sign-and-Magnitude range –(2N-1-1)~+(2N-1-1)
One’s Complement range –(2N-1-1)~+(2N-1-1)
Two’s Complement range –(2N-1)~+(2N-1-1)
16. What is the primary use of the Excess_X system? ( Knowledge point 3.3)
A:The primary use of the Excess_X system is in storing the exponential value of a fraction.
17. Why is normalization necessary? ( Knowledge point 3.4)
A:A fraction is normalized so that operations are simpler.
MULTIPLE-CHOICE QUESTIONS
20. The only digits used in the c number system are 0 and 1. ( Knowledge point 3.1)
a. decimal
b. octal
c. binary
d. hexadecimal
21. When converting a decimal number to binary, you repeatedly pide by a. ( Knowledge point 3.1)
a. 2
b. 8
c. 10
d. 16
22. Which of the following is an integer representation method that handles both positive and negative numbers? ( Knowledge point 3.2) d
a. sign-and-magnitude
b. one’s complement
c. two’s complement
d. all of the above
23. In unsigned integers, a 4-bit allocation allows d nonnegative numbers. ( Knowledge point 3.2)
a. 7
b. 8
c. 15
d. 16
24. In all signed integer representations, a 4-bit allocation complementation allows b
nonnegative numbers. ( Knowledge point 3.2)
a. 7
b. 8
c. 15
d. 16
25. In c number representation, 1111 in memory represents -0. ( Knowledge point
3.2)
a. unsigned integers
b. signed-and-magnitude
c. one’s complement
d. two’s complement
26. In d number representation, 1111 in memory represents -1. ( Knowledge point
3.2)
a. unsigned integers
b. signed-and-magnitude
c. one’s complement
d. two’s complement
27. In d number representation, there are two representations for 0. ( Knowledge point 3.2)
a. sign-and-magnitude
b. one’s complement
c. two’s complement
d. a and b
28. In c number representation, there is one representation for 0. ( Knowledge point
3.2)
a. unsigned integer
b. one’s complement
c. two’s complement
d. a and c
29. If the leftmost bit is 0 in d number representation, then the decimal number is positive. ( Knowledge point 3.2)
a. sing-and-magnitude
b. one’s complement
c. two’s complement
d. all of the above
30. If the leftmost bit is 1 in d number representation, then the decimal number is positive. ( Knowledge point 3.2)
a. sign-and-magnitude
b. one’s complement
c. two’s complement
d. none of the above
31. Which number representation method is most widely used today for storing numbers in a computer? ( Knowledge point 3.2) c
a. sing-and-magnitude
b. one’s complement
c. two’s complement
d. unsigned integers
32. Which number representation method is often used to convert analog signals to digital signals? ( Knowledge point 3.2) d
a. unsigned integers
b. sign-and-magnitude
c. one’s complement
d. b and c
33. Unsigned integers can be used for d. ( Knowledge point 3.2)
a. counting
b. addressing
c. signal processing
d. a and b
34. Which number representation method is often used to store the exponential value of a fraction? ( Knowledge point 3.3) d
a. unsigned integers
b. one’s complement
c. two’s complement
d. Excess_X
35. In an Excess_X conversion, you a the magic number X to the number to be converted. ( Knowledge point 3.3)
a. add
b. subtract
c. multiply
d. pide
36. In Excess_X number representation, what is usually the relationship between X and N, the bit allocation? ( Knowledge point 3.3 c
a. X=2N-1
b. X=2N+1
c. X=2N-1-1
d. a or c
40. What is the Excess_128 representation of 5? ( Knowledge point 3.3) c
a. 00000101
b. 10000100
c. 10000101
d. 10000001
41. When a fraction is normalized, there is a b to the left of the decimal point. ( Knowledge point 3.4)
a. 0 bit
b. 1 bit
c. random bit sequence
d. a or b
42. You multiply a normalized number by d where e is the number of bits that the decimal point moved. ( Knowledge point 3.4)
a. 2e
b. e/2
c. e2
d. 2e
43. When a fraction is normalized, the computer stores the d. ( Knowledge point 3.4)
a. sign
b. exponent
c. mantissa
d. all of the above
44. The precision of the fractional number stored in a computer is defined by the c. ( Knowledge point 3.4)
a. sign
b. exponent
c. mantissa
d. any of the above
45. How is the mantissa stored in a computer? ( Knowledge point 3.4) c
a. in one’s complement
b. in two’s complement
c. as an unsigned integer
d. in sign-and-magnitude
46. An octal digit converted to binary is composed of b bits. ( Knowledge point 3.1)
a. 2
b. 3
c. 4
d. 8
EXERCISES
47.Change the following decimal numbers to 8-bit unsigned integer if possible. ( Knowledge point 3.1)
a. 23 00010111
b. 121 01111001
c. 34 00100010
d. 342 Overflow
48.Change the following decimal numbers to 16it unsigned integer. ( Knowledge point 3.1)
a. 41 0000000000101001
b. 411 0000000110011011
c. 1234 0000010011010010
d. 342 0000000101010110
49. Change the following decimal numbers to 8-bit sign-and-magnitude integers. ( Knowledge point 3.2)
a. 32 00100000
b. -101 11100101
c. 56 00111000
d. 129 Overflow
50. Change the following decimal numbers to 16-t sign-and-magnitude integers. ( Knowledge point 3.2)
a. 142 0000000010001110
b. -180 1000000010110100
c. 560 0000001000110000
d. 2456 0000100110011000
52. Change the following decimal numbers to 16-bit one’s complement integers. ( Knowledge point 3.2)
a. 162 0000000010100010
b. -110 1000000001101110
c. 2560 0000101000000000
d. 12,123 0010111101011011
53. Change the following decimal numbers to 8-bit two’s complement integers. ( Knowledge point 3.2)
a. -12 11110100
b. -101 10011011
c. 56 00111000
d. 142 Overflow
54. Change the following decimal numbers to 16-bit two’s complement integers. ( Knowledge point 3.2)
a. 102 0000000001100110
b. -179 1111111101001101
c. 534 0000001000010110
d. 62,056 1111001001101000
55. Change the following 8-bit unsigned numbers to decimal. ( Knowledge point 3.1)
a. 01101011 107
b. 10010100 148
c. 00000110 6
d. 01010000 80
56. Change the following 8-bit sign-and-magnitude numbers to decimal. ( Knowledge point
3.2)
a. 01111011 123
b.10110100 -52
c.01100011 99
d.11010000 -80
57. Change the following 8-bit one’s complement numbers to decimal. ( Knowledge point
3.2)
a.01100011 99
b.10000100 -123
c.01110011 115
d.11000000 -63
58. Change the following 8-bit two’s complement numbers to decimal. ( Knowledge point
3.2)
a.01110111 119
b.11111100 -4
c.01110100 116
d.11001110 -50
68. Show the following numbers in 32-bit IEEEformat. ( Knowledge point 3.4)
a. -20x1.10001 1 01111111 10001000000000000000000
b.+23x1.111111 0 10000010 11111100000000000000000
c.+2-4x1.01110011 0 01111011 01110011000000000000000
d.-2-5x1.01101000 1 01111010 01101000000000000000000
08ac5f47a1116c175f0e7cd184254b35effd1a10ing the result of the previous problem, show the following numbers in 32-bit IEEE format. ( Knowledge point 3.4)
a. 7.1875
→111.0011 →22×1.110011 →0 10000001 11001100000000000000000
b. 12.640625
→1100.101001 →23×1.100101001 →0 10000010 10010100100000000000000 c. -11.40625
→-1011.01101 →-23×1.01101101 → 1 10000010 01101101000000000000000
d. -0.375
→-0.011 →-2-2×1.1 → 1 01111101 10000000000000000000000
正在阅读:
计算机导论-第3章-数字表示04-07
中小型企业财务管理中存在的问题及解决对策06-06
托福听力词汇完整版06-26
公关课件WORD版03-24
《宏观经济学》课程教学大纲04-13
福建师范大学18年8月课程考试《大学英语(1)》作业考核试题 - 图文02-03
我跟春天有个约会作文350字06-20
王广庆 城发集团:借绩效考核之力 促投融资平台发展06-03
9.施工组织设计05-06
- exercise2
- 铅锌矿详查地质设计 - 图文
- 厨余垃圾、餐厨垃圾堆肥系统设计方案
- 陈明珠开题报告
- 化工原理精选例题
- 政府形象宣传册营销案例
- 小学一至三年级语文阅读专项练习题
- 2014.民诉 期末考试 复习题
- 巅峰智业 - 做好顶层设计对建设城市的重要意义
- (三起)冀教版三年级英语上册Unit4 Lesson24练习题及答案
- 2017年实心轮胎现状及发展趋势分析(目录)
- 基于GIS的农用地定级技术研究定稿
- 2017-2022年中国医疗保健市场调查与市场前景预测报告(目录) - 图文
- 作业
- OFDM技术仿真(MATLAB代码) - 图文
- Android工程师笔试题及答案
- 生命密码联合密码
- 空间地上权若干法律问题探究
- 江苏学业水平测试《机械基础》模拟试题
- 选课走班实施方案
- 导论
- 表示
- 数字
- 计算机
- 鄂教版2022届九年级语文中考三模试卷A卷
- 新整理保护环境句子 60句
- 环保主题活动方案大全
- 佛山某工程钢板桩土方支护施工方案_secret
- 七年级语文上册第六单元写作 发挥联想和想象 (500字)
- 中考英语模拟试题二.doc
- 最新一般现在时中动词的第三人称单数变化规则
- 当今城市独生子女的7大心理特征
- 投标专用投入主要人员汇总表、主要人员简历表
- 2013Excel函数大全【实例讲解】
- 2015-2016学年八年级物理上册(人教版):第四章 光现象 导学案
- 2.1特色班级文化建设方案
- 后钢板弹簧吊耳工艺流程设计(修改整合版)
- 陕西省西安市体育赛事组织企业名录2022版112家
- 今年是1983年以来最差的一届奥斯卡
- 西工区职称论文发表-高层住宅建筑施工设计论文选题题目
- 2022-2022年初中政治山东初二期末考试真题试卷【10】含答案考点
- 馨乐庭戛纳克罗阿塞特酒店(Citadines Apart'hotel Cannes Croise
- 浙江省水资源短缺状况多指标综合评价
- 乡镇统计工作现状与措施.docx