下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、1. apter 1 Computer and DataKnowledge point:1.1 The computer as a black box.1.2 von Neumann model1.3 The components of a computer: hardware, software, and data.1.4 The history of computers.REVIEW QUESTIONS2. How is computer science defined in this book?A: Issues related to the computer.3. What model
2、 is the basis for todays computers? ( Knowledge point 1.2)A: The von Neumann model.4. Why shouldnt you call a computer a data processor? ( Knowledge point 1.1)A: Computer is general-purpose machine. it can do many different types of tasks.5. What does a programmable data processor require to produce
3、 output data? ( Knowledge point 1.1)A: The input data and the program.6. What are the subsystems of the von Neumann computer model? ( Knowledge point 1.2)A: Memory, arithmetic logic unit, control unit, and input/output.7. What is the function of the memory subsystem in von Neumann s model? ( Knowled
4、ge point 1.2)A: Memory is the storage area. It is where programs and data are stored during processing.8. What is the function of the ALU subsystem in von Neumann s model? ( Knowledge point 1.2)A: ALU is where calculation and logical operations take place.9. What is the function of the control unit
5、subsystem in von Neumanns model? ( Knowledge point 1.2)A: It controls the operations of the memory, ALU, and the input/output subsystem.10. What is the function of the input/output subsystem in von Neumann s model?(Knowledge point 1.2)A: The input subsystem accepts input data and the program from ou
6、tside the computer;the output subsystem sends the result of processing to the outside.11. Compare and contrast the memory contents of early computers with the memory contents of a computer based on the von Neumann model? ( Knowledge point 1.2)A: Computer based on the von Neumann model stores both th
7、e program and its corresponding data in the memory. Early computers only stored the data in the memory.12. How did the von Neumann model change the concept of programming? ( Knowledge point 1.2)A: A program in the von Neumann model is made of a finite number of instructions. The instructions are exe
8、cuted one after another.13. The first electronic special-purpose computer was called c ( Knowledge point 1.4)a. Pascal b. Pascaline c. ABC d. EDVAC14. One of the first computers based on the von Neumann model was called d(Knowledge point 1.4)a. Pascal b. Pascaline c. ABC d. EDVAC15. The first comput
9、ing machine to use the idea of storage and programming was called d ( Knowledge point 1.4)a. the Madeline b. EDVAC c. the Babbage machine d. the Jacquard loom16. d separated the programming task from the computer operation tasks.(Knowledge point 1.3)a. Algorithms b. Data processors c. High-level pro
10、gramming languages d. Operating systems30. According to the von Neumann model, can the hard disk of today be used as input or output? Explain. ( Knowledge point 1.2)A: Yes. When the hard disk stores data that results from processing, it is considered an output device; when you read data from the har
11、d disk, it is considered an input device.32. Which is more expensive today, hardware or software? ( Knowledge point 1.3)A: Software.Chapter 2 Data RepresentationKnowledge point:2.1 Data Types.2.2 Data inside the Computer.2.3 Representing Data.2.4 Hexadecimal and Octal notation.REVIEW QUESTIONS1. Nam
12、e five types of data that a computer can process. ( Knowledge point 2.1)A: Numbers, text, images, audio, and video.2. How does a computer deal with all the data types it must process? ( Knowledge point 2.2) A: All data types are transformed into bit pattern.3.4. What is the difference between ASCII
13、and extended ASCII? ( Knowledge point 2.3)A: ASCII is a bit pattern made of 7 bits and extended ASCII is a bit pattern made of 8 bits.5. What is EBCDIC? ( Knowledge point 2.3)A: Extended Binary Coded Decimal Interchange Code.6. How is bit pattern length related to the number of symbols the bit patte
14、rn can represent?(Knowledge point 2.3)A: The relationship is logarithmic.7.8.9. What steps are needed to convert audio data to bit patterns? ( Knowledge point 2.3)A: Sampling, Quantization, and Coding.10. What is the relationship between image data and video data? ( Knowledge point 2.3)A: Video is a
15、 representation of images in time.34. A company has decided to assign a unique bit pattern to each employee. If the company has 900 employees, what is the minimum number of bits needed to create this system of representation? How many patterns are unassigned? If the company hires another 300 employe
16、es, should it increase the number of bits? Explain your answer. ( Knowledge point 2.3)A: log2900Ql0,210-900=124,Yes, 900+300210Chapter 3 Number RepresentationKnowledge point:3.1 Convert a number from decimal, hexadecimal, and octal to binary notation and vice versa.3.2 Integer representation: unsign
17、ed, sign-and-magnitude, one scomplement, and two s complement.3.3 Excess system.3.4 Floating-point representation.REVIEW QUESTIONS5. 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 in
18、tegers. ( 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, on s
19、e complement, and two s complement. ( Knowledge point 3.2)A: The representation of positive integers in sing-and-magnitude, one s complement, and twos 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 compl
20、ement. ( Knowledge point 3.2)A: Sign-and-Magnitude range -(2N-1-1)+(2N-1-1)Ones 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 va
21、lue of a fraction.17. Why is normalization necessary? ( Knowledge point 3.4)A: A fraction is normalized so that operations are simpler.Chapter 4 Operation On BitsKnowledge point:4.1 Arithmetic operations.4.2 Logical operations.4.3 Mask.4.4 Shift operations.REVIEW QUESTIONS3. What happens to a carry
22、form the leftmost column in the final addition? ( Knowledge point4.1)A: The carry is discarded.5. Define the term overflow. ( Knowledge point 4.1)A: Overflow is an error that occurs when you try to store a number that is not within the range defined by the allocation.8. Name the logical binary opera
23、tions. ( Knowledge point 4.2)A: NOT, AND, OR, and XOR.10. What does the NOT operator do? ( Knowledge point 4.2)A: It inverts bits.(it changes 0 to 1 and 1 to 0)11. When is the result of an AND operator true? ( Knowledge point 4.2)A: Both bits are 1.12. When is the result of an OR operator true? ( Kn
24、owledge point 4.2)A: Neither bit is 0.13. When is the result of an XOR operator true? ( Knowledge point 4.2)A: The two bits are not equal.17. What binary operation can be used to set bits? What bit pattern should the mask have?( Knowledge point 4.3)A: OR. Use 1 for the corresponding bit in the mask.
25、18. What binary operation can be used to unset bits? What bit pattern should the mask have? ( Knowledge point 4.3)A: AND. Use 0 for the corresponding bit in the mask.19. What binary operation can be used to flip bits? What bit pattern should the mask have?( Knowledge point 4.3)A: XOR. Use 1 for the
26、corresponding bit in the mask.Chapter 5 Computer OrganizationKnowledge point:5.1. three subsystems that make up a computer5.2. functionality of each subsystem5.3. memory addressing and calculating the number of bytes5.4. addressing system for input/output devices.5.5. the systems used to connect dif
27、ferent components together.Review questions:1. What are the three subsystems that make up a computer?(Knowledge point 5.1) Answer: the CPU, main memory, and the input/output (I/O) subsystem.2. What are the parts of a CPU? (Knowledge point 5.1)Answer: The CPU performs operations on data and has a ALU
28、, a control unit, and a set of registers.3. Whats the function of the ALU? (Knowledge point 5.2)Answer: The ALU performs arithmetic and logical operations.Exercises:78. A computer has 64MB of memory. Each word is 4 bytes. How many bits are needed toaddress each single word in memory? (Knowledge poin
29、t 5.3)Solution:The memory address space is 64 MB, that is 2 raised to the power 26. The size of each word in bytes is 2 raised to the power 2. So we need 24(subtract 2 from 26) bits to address each single word in memory.79. How many bytes of memory are needed to store a full screen of data if the sc
30、reen is made of 24 lines with 80 characters in each line? The system uses ASCII code, with each ASCII character store as a byte. (Knowledge point 5.3)Solution:The quantity of bytes in a full screen is 1920 (24*80) while the system uses ASCII code with each ASCII character store as a byte. So we need
31、 1920 bytes of memory to store the full screen of data.87. A computer uses isolated I/O addressing. Memory has 1024 words. If each controller has 16 registers, how many controllers can be accessed by this computer? (Knowledge point 5.4) Solution:Memory has 1024 words. So the address space is 1024. E
32、ach controller has 16 registers. Then we get 64 (divide 16 by 1024)controllers which can be accessed by this computer.88. A computer uses memory-mapped I/O addressing. The address bus uses 10 lines. If memory is made of 1000 words, how many four-register controllers can be accessed by this computer?
33、 (Knowledge point 5.4)Solution:The address bus uses 10 lines. So, the address space is 1024(2 raised to the power 10). The memory is made of 1000 words and each controller has four registers. Then we get (1024-1000)/4 = 6 four-register controllers which can be accessed by this computer.Chapter 6 Com
34、puter NetworksKnowledge point:6.1. OSI model6.2. TCP/IP protocol6.3. three types of networks6.4. connecting devices6.5. client-server modelReview questions:6.6. Name the layers of the OSI model? (6.1)Answer: Physical layer, Data link layer, Network layer, Transport layer, Session layer, Presentation
35、 layer and Application layer.6.7. Name the layers of the TCP/IP protocol suite. (6.2)Answer: The layers of the TCP/IP protocol suite are: physical and data-link layers network layer, transport layer, and application layer.8. What are the three common topologies in LANs? Which is the most popular tod
36、ay? (6.3) Answer: bus topology, star topology, ring topology, star topology9. Name four types of network connecting devices. (6.4)Answer: the four types of network connecting devices are repeater, bridge, router and gateway.Chapter 7 Operating SystemsKnowledge point:7.1. the definition of an operati
37、ng system7.2. the components of an operating system7.3. Memory Manager7.4. Process manager7.5. deadlockReview questions:7.6. What are the components of an operating system? (7.2)Answer: An operating system includes: Memory Manager, Process Manager, Device Manager and13. What kinds of states can a process be in? (7.4) Answer: ready state, running state, waiting state.15. If a process is in the running state, what states can it go to next? (7.4) Answer: ready state, waiting state.What s the definition of an opera
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 肿瘤科患者的心理护理与人文关怀
- 四川省宜宾市翠屏区宜宾四中2026届数学高二上期末监测模拟试题含解析
- 四川省成都石室天府2026届物理高一上期末经典试题含解析
- 单纯型精神分裂症个案护理
- 上海闵行职业技术学院《建筑力学(1)》2024-2025学年第一学期期末试卷
- 浙江省诸暨市诸暨中学2026届高一物理第一学期期末学业水平测试试题含解析
- 四川省雅安市2025-2026学年生物高一上期末教学质量检测试题含解析
- 腹腔镜手术围手术期护理新进展
- 2026中考中国地理知识点合集(含答案)
- 2026中考英语语法复习分类训练:介词100题(中考试题+中考模拟)原卷版
- 2025年北京市人力资源市场薪酬水平报告(三季度)
- 《纹必有意》+教学课件-+2025-2026学年鲁教版(五四制)(2024)初中美术六年级上册
- 学堂在线 运动与健康 章节测试答案
- 气质联用培训材料
- 稿件修改说明(模板)
- 山西省普通高等学校毕业生就业协议
- 一级建造师继续教育第一章建筑工程项目管理课件
- 村镇银行机房运维管理制度
- 羽毛球运动教学与训练教程课件
- 山西省大同市各县区乡镇行政村村庄村名居民村民委员会明细及行政区划代码
- 2018年浙江省浙江省通用安装工程预算定额
评论
0/150
提交评论