计算机导论第1次作业

合集下载

北语16秋《计算机科学导论》作业1答案

北语16秋《计算机科学导论》作业1答案

16秋《计算机科学导论》作业1
试卷总分:100? ? ? ?测试时间:--? ? ? ?试卷得分:100
一、单选题(共?16?道试题,共?80?分。

)????得分:80
1. 计算机只能识别()编码的指令和数据
A. 二进制
B. 八进制
C. 十进制
D. 十六进制
答案:A
满分:5 分得分:5
2. 世界上第一台电子多用途计算机ENIAC诞生于()年。

A. 1942
B. 1944
C. 1946
D. 1948
答案:C
满分:5 分得分:5
3. 计算机病毒是一种特殊的()。

A. 程序
B. 计算机
C. 控制器
D. 生物
答案:A
满分:5 分得分:5
4. ()发明了世界上第一台加减法计算机。

A. 莱布尼茨
B. 图灵
C. 帕斯卡
D. 冯·诺依曼
答案:C
满分:5 分得分:5
5. 十进制数22用二进制表示是()。

A. 10111
B. 10011
C. 10110
D. 11011
答案:C
满分:5 分得分:5
6. 八进制数62用十进制表示是()。

计算机概论第一次作业

计算机概论第一次作业

1. 什么是操作系统?答:操作系统是由程序和数据结构组成的大型系统软件,它负责计算机的全部软硬件资源的分配、调度与管理,控制各类程序的正常执行,并为用户使用计算机提供良好的环境。

2. 操作系统具有哪些基本功能?答:1.处理器管理2.存储管理:①主存的分配与回收;②主存的保护;③主存的扩充。

3.设备管理 4.文件管理 5.作业管理:①向用户提供实现作业控制的手段;②按一定策略实现作业调度。

6.网络功能――即能够提供网络通信、网络服务、网络接口和网络资源管理等功能3. 什么叫计算机输入设备?答:计算机输入设备是指向计算机输入数据和信息的设备。

是计算机与用户或其他设备通信的桥梁。

输入设备是用户和计算机系统之间进行信息交换的主要装置之一。

4. 请举出三种常用输入设备。

答:键盘、鼠标器、扫描仪5.计算机中存储器主要功能是什么?答:计算机的存储器是存放数据和程序的部件,可分为主存储器(内存储器)和辅助存储器(外存储器)两大类。

1)内储存器内储存器直接与CPU相连接,储存容量较小,但速度快,用来存放当前运行程序的指令和数据,并直接与CPU交换信息。

内储存器由许多储存单元组成,每个单元能存放一个二进制数或一条由二进制编码表示的指令。

2)外储存器外储存器是内储存器的扩充。

它储存容量大,价格低,但储存速度慢,一般用来存放大量暂时不用的程序,数据和中间结果,需要时,可成批的与内存进行信息交换。

外存只能与内存交换信息,不能被计算机系统的其他部件直接访问。

6什么是数据库管理系统?数据库管理系统是位于用户与操作系统之间的一层数据管理软件,用于科学地组织和存储数据、高效地获取和维护数据。

DBMS的主要功能包括数据定义功能、数据操纵功能、数据库的运行管理功能、数据库的建立和维护功能。

计算机导论作业1

计算机导论作业1

Test Bank—Chapter One (Data Representation)Multiple Choice Questions1. Which of the following Boolean operations produces the output 1 for the fewest number of input patterns?A. ANDB. ORC. XORANSWER: A2. Which of the following best describes the NOR operation?A. An XOR followed by a NOTB. An OR followed by a NOTC. A NOT followed by a NOT C. An AND followed by a NOTANSWER: B3. Which of the following bit patterns cannot be expressed in hexadecimal notation?A. 11111111B. 1001C. 110011D. 100000000001ANSWER: C4. Which of the following is the binary representation of 4 5/8?A. 100.11B. 10.011C. 110.101D. 100.101ANSWER: D5. Which of the following bit patterns represents the value 5 in two’s complement notation?A. 00011010B. 11111011C. 00000101D. 11111011ANSWER: C6. Which of the following bit patterns represents the value -5 in two’s complement notation?A. 00011010B. 11111011C. 00000101D. 11111011ANSWER: D7. In which of the following addition prob lems (using two’s complement notation) does an overflow error occur?A. 0011B. 0100C. 1100+ 1010 + 0100 + 1100ANSWER: B8. Which of the following representations in two’s complement notation represents the largest value?A. 00000010B. 11111111C. 00000001D. 11111110ANSWER: A9. Which of the following bit patterns (represented in hexadecimal notation) represents a negative number in two’s complement notation?A. 7FB. 55C. A6D. 08ANSWER: C10. What value is represented by the bit pattern 01011100 when interpreted using floating-point format in which the most significant bit is the sign bit, the next three bits represent the exponent field in excess notation, and the last four bits represent the mantissa?A. -1 1/2B. 1 1/2C. -3/8D. 3/8ANSWER: B11. Which of the following values cannot be stored accurately using a floating-point format in which the most significant bit is the sign bit, the next three bits represent the exponent field in excess notation, and the last four bits represent the mantissa?A. 2 1/2B. 3/16C. 7D. 6 1/4ANSWER: D121. Which of the following bit-patterns represents the smallest value using the floating-point format in which the most significant bit is the sign bit, the next three bits represent the exponent field in excess notation, and the last four bits represent the mantissa?A. 01001000B. 01011000C. 00101000D. 01111000ANSWER: C13. Which of the following data storage systems provides the most efficient random access to individual data items?A. Main memoryB. Magnetic diskC. Optical CDs and DVDsANSWER: A14. Which of the following storage systems is best suited for storing and retrieving long strings of data that are processed in their sequential order?A. Main memoryB. Magnetic diskC. Optical CDs and DVDsANSWER: C15. Which of the following mass storage system does not require physical motion?A. Magnetic tapeB. Magnetic diskC. DVDsD. Flash drives ANSWER: D16. Assuming that each of the following bit patterns originally had even parity, which one contains an error?A. 10110100B. 11000011C. 00011000D. 10001001 ANSWER: D17. How many errors per pattern could be corrected when using an error-correcting code in which any two code patterns differ by a Hamming distance of 8?A. 3B. 4C. 5D. 6ANSWER: A18. Which of the following is a possible LZW compression of the message “xyz xyz xyz”?A. 1234B. 1234545C. 232D. 12ANSWER: B19. How many different symbols can be encoded using Unicode?A. 256B. 4,096C. 65,536D. 1,046,476ANSWER: C20. Which of the following systems is least efficient when encoding numeric values?A. Two’s complement notationB. Excess notationC. ASCIID. Floating-point notationANSWER: C21. Which of the following is a means of encoding music?A. ASCIIB. MIDIC. JPEGD. GIFANSWER: BFill-in-the-blank/Short-answer Questions1. A computer’s main memory consists of numerous memory cel ls, each of which contains ________ bits. Each memory cell is identified by a numeric value called the cell’s _________.ANSWER: eight, address2. Represent the bit pattern 1011010010011111 in hexadecimal notation._________ANSWER: B49F3. A7DF is the hexadecimal representation for what bit pattern?____________ANSWER: 1010 0111 1101 11114. How many different bit patterns can be formed if each must consist of exactly 6 bits?____________ANSWER: 645. Translate each of the following binary representations into its equivalent base ten representation.A. 1100 __________B. 10.011 __________C. 0.01 __________D. 10001 __________ANSWER: A. 12 B. 2 3/8 C. 1/4 D. 176. Rewrite each of the following values (represented in base ten notation) in binary notation.A. 7 __________B. 23 __________C. 2 1/4 __________D. 5/8 __________ANSWER: A. 111 B. 10111 C. 10.01 D. 0.1017. If the patterns 101.11 and 1.011 represent values in binary notation, what is the binary representation of their sum?____________ANSWER: 111.0018. Using a two’s complement notation system in which each value is represented by a pattern of six bits, represent the value 3.____________ANSWER: 0000119. Using a two’s complemen t notation system in which each value is represented by a pattern of six bits, represent the value -3.____________ANSWER: 11110110. What is the largest positive integer that can be represented in a two’s complement system in which each value is represented by eight bits?____________ANSWER: 127 (represented by 01111111)11. In a two’s complement system, what value is represented by the pattern 11111111111111001?____________ANSWER: -712. When using two’s complement notation, what bit pat tern represents the negation of 01101010?____________ANSWER: 1001011013. What value is represented by each of the following patterns in excess notation?A. 10000 ____B. 0110 ____C. 1011 ____ANSWER: A. 0, B. -2, C. 314. Using an 8-bit floating-point format in which the most significant bit is the sign bit, the next three bits represent the exponent field in excess notation, and the last four bits represent the mantissa, write the bit pattern that represents the value 1 3/4. (Use normalized form.)____________ANSWER: 0101111015. What is the largest value that can be represented in a floating-point system in which each value is encoded by a byte whose most significant bit is the sign bit, the next three bits represent the exponent field in excess notation, and the last four bits represent the mantissa?____________ANSWER: 7 1/2 (represented as 01111111)16. Which of the following addition problems cannot be solved accurately when using a floating-point system in which each value is encoded by a byte whose most significant bit is the sign bit, the next three bits represent the exponent field in excess notation, and the last four bits represent the mantissa?A. 2 1/2 + 1 3/8B. 3 1/2 + 4 1/2C. 7 + 3/4____________ANSWER: A, B, and C17. The following is an error-correcting code in which any two patterns differ by a Hamming distance of at least three.Symbol RepresentationA 000000B 001111C 010011D 011100E 100110F 101001G 110101H 111010Decode each of the following patterns010011 ________ 101010 ________ 011000 ________ 101101 _______ ANSWER: C, H, D, F18. How many errors in a single code pattern could be corrected when using an error-correcting code in which each code pattern is a Hamming distance of at least seven from any other code pattern?____________ANSWER: 319. The following is a message that was originally encoded so that each pattern had odd parity. Circle the patterns in which an error has definitely occurred.10110101 11110000 10010010 00000000 11111111 00001000 00111101______________________________________ANSWER: Second, fourth, fifth, and sixth20. Data compression techniques apply various principles to reduce the size of data. One, called_______________________, avoids repeating long strings of the same data item. Another, called_______________________, encodes the difference between consecutive blocks of data rather than encoding each block in its entirety. Still another, called _________________________, uses short bit patterns to encode frequently occurring items and longer patterns to encode less frequent items. ANSWER: Run-length encoding, relative encoding, and frequency-dependent encoding.Vocabulary (Matching) QuestionsThe following is a list of terms from the chapter along with descriptive phrases that can be used to produce questions (depending on the topics covered in your course) in which the students are ask to match phrases and terms. An example would be a question of the form, “In the blank next to each phrase, write the term from the following list that is best described by the phrase.”Term Descriptive Phrasebit Binary digitBoolean operation AND, OR, XOR, NOTaddress A numeric value used to identify a memory cellhexadecimal notation An efficient way of representing bit patternssector A segment of a track in a mass storage systemzoned-bit recording A means of increasing the storage capacity of a magnetic disk system buffer A storage area used to hold data on a temporary basis, often as a stepin transferring the data from one device to anotherISO An international organization for establishing standardsANSI A major standardization organization within the United StatesASCII A system developed by the American Standards Institute for encodingtext.flip-flop A digital circuit capable of holding a single digittwo’s complement notation A means of encoding whole numbersfloating-point notation A means of encoding numeric values that may involve fractions truncation An error that may occur when using floating-point notationpixel A small part of an imageGIF A means of compressing an image file by restricting the number ofcolors availableJPEG A means of compressing images by blurring the boundaries betweendifferent colors while maintaining all brightness informationUnicode A means of encoding text in which each symbol is represented by 16bitsLZW An example of adaptive dictionary encodingMIDI A means of encoding music in terms of notes and instruments ratherthan actual audioKey field A part of a logical record in a file used to identify the record.VLSI A means of constructing complex circuitry in a very small space.General Format Questions1. Describe how a computer can produce an incorrect answer when performing numerical computations even though it has not malfunctioned.ANSWER: Most students will probably refer to overflow and truncation errors.2. Describe ho the concept of Hamming distance is used to produce an error-correcting code. ANSWER: By designing a code in which each pattern has a Hamming distance of n from any other pattern, patterns with fewer than n/2 errors can be corrected by replacing them with the code pattern that is closest.3. a. What is the output of the circuit below?b. In general, how does the three-bit input pattern acros s the top of the diagram relate to the circuit’s output?ANSWER: a. 0 b. The output is 0 if the input parity is odd; the output is 1 if the input parity is even.4. If the input and output bit patterns in the circuit below are interpreted as binary representations of numeric values, what operation does the circuit perform?ANSWER: The circuit subtracts one (except for the case of the input being 000).5. Explain why such terms as kilobyte, megabyte, and gigabyte have acquired double meanings.ANSWER: The prefixes kilo, mega, and giga are used traditionally to refer to units measured in powers of ten. However, due to the early misuse of the prefix kilo in reference to units of the size 1024, these prefixes are now often used to refer to units that are powers of two—especially when referring to the capacity of main memories.6. Convert the following addition problem into two’s complement notation (using four bits per value), perform the addition, convert the answer back into base ten notation, and explain the results.6+ 3ANSWER: In two’s complement notation the problem is to add 0110 and 0011. The sum is 1001 which translates to -7. This answer is incorrect due to overflow.7. Under what condition is each of the following data compression techniques most effective?a. Run-length encodingb. Relative encodingANSWER: a. Compresses most when data consists of long strings of the same entry.b. Compresses most when each block of data differs little from the previous block.8. What is frequency-dependent encoding?ANSWER: Frequency-dependent encoding is an encoding system that uses short bit patterns to represent data items that occur most often and longer patterns to represent less frequently occurring items. The result is that entire blocks of data can be represented in less space than would be required if each data item were represented by the same size bit pattern.9. Construct the entire two’s complement scale in which each value is represented by three bits.ANSWER: 3 0112 0101 0010 000-1 111-2 110-3 101-4 10010. To what does the term “normalized form” refer in the context of floating-point notation?ANSWER: Normalized form refers to a standard for positioning the bit pattern within the mantissa field. Many values can be represented in floating-point notation by different bit patterns, only one of which is in normalized form. Hence, restricting representations to normalized form assures that each value is represented by a unique pattern.11. Explain why the final version of the dictionary need not be transmitted with a message encoded using LZW compression.ANSWER: The dictionary can be constructed during decompression in the same way it was constructed during compression.12. Among the Boolean operations AND, OR, EXCLUSIVE OR, and NOT, which is least like the others? Explain your answer.ANSWER: There is not really a right or wrong answer. The student’s explanation is the most important part. Most students will probably answer NOT because it has only one input whereas the others have two.13. If a term paper consisted 42 pages, each containing 40 lines of 100 symbols each (counting each space asa symbol), was to be encoded using Unicode, how many bytes of storage space would be required?ANSWER: 336,000 bytes (168,000 symbols times 2 bytes per symbol)14. Explain why adding only a few characters to a text file may increase the file’s size by several hundred bytes and at other times may not increase the file’s s ize at all.ANSWER: File space is allocated in terms of physical records, each of which is several hundred bytes in size. Thus, the size of a file grows by physical record units rather than by byte size units.15. In a two’s complement system, what valu e can be added to any other value without causing an overflow? How many values in the system have this property? Explain your answer.ANSWER: Adding the value 0 to any other value will not produce an overflow. However, if m is the largest positive integer that can be represented in the system, then any value in the range 1 to m will produce an overflow when added to m, and any value in the range -1 to -( m + 1) will produce an overflow when added to -( m + 1).。

计算机科学导论第1次作业答案

计算机科学导论第1次作业答案

《计算机科学导论》第1次作业答案(第1章—第7章)一、选择题1. 电子计算机从诞生之日起,经历了4个发展阶段,目前所使用的第四代计算机的主要特点是( )。

[D]A.主要特征是逻辑器件使用电子管,用穿孔卡片机作为数据和指令的输入设备,用磁鼓或磁带作为外存储器,使用机器语言编程B.主要特征是使用晶体管代替了电子管,内存储器采用了磁芯体,引入了变址寄存器和浮点运算硬件,利用I/O处理机提高了输入/输出能力C.主要特征是用半导体中、小规模集成电路作为元器件代替晶体管等分立元件,用半导体存储器代替磁芯存储器,使用微程序设计技术简化处理机的结构,在软件方面则广泛地引入多道程序、并行处理、虚拟存储系统和功能完备的操作系统,同时还提供了大量的面向用户的应用程序D.主要特征是使用了大规模和超大规模集成电路2.计算学科的根本问题是( )。

[A]A.什么能被有效地自动进行B.NP问题C.工程设计D.理论研究实验方法3.计算机科学与技术研究的内容可以分为( )。

[ABC]A.基础理论B.专业基础C.应用D.实验4.计算机科学技术的研究范畴包括( )。

[ABCD]A.计算机理论B.硬件C.软件D.网络及应用5.计算机科学与技术学科的核心知识点个数是( )个。

[C]A.3 B.12 C.14 D.216.如果[X]补=11110011,则[-X]补是( )。

[D]A.11l 1001l B.01110011 C.00001100 D.0000110l7.若十进制数据为137.625,则其二进制数为( )。

[B]A.10001001.11 B.10001001.101 C.1000l011.101 D.1011111.101 8.存储器存储容量单位中,1KB表示( )。

[A]A.1024个字节B.1024位C.1024个字D.1000个字节9.数据总线、地址总线、控制总线3类划分根据是( )。

[A]A.总线传送的内容B.总线所处的位置C.总线传送的方向D.总线传送的方式10.每次可传送一个字或一个字节的全部代码,并且是对一个字或字节各位同时进行处理的信息传递方式是( )。

2013秋西南大学《计算机导论》第1次作业答案

2013秋西南大学《计算机导论》第1次作业答案

第一次作业(1)c 在Internet网中,一个IP地址由 32 位二进制数值组成,(2)C 操作系统是一种系统软件。

(3)B 线性表是一种(顺序)结构。

(4)B 分时操作系统不具备的特点是保密性。

具备:1,交互,2及时3独立(5)C 微机的CPU由运算器和控制器组成.(6)C:与二进制数(1100001)2等价的八进制、十进制数分别为(141)8 (97)10。

(7)B 目前,计算机系统中处理的信息是数字信号。

(8) c 若需连接两个以上的同类网络(网络操作系统相同),应使用C:路由器作为网络连接器。

论述题1、计算机的发展经历了哪几个阶段?各阶段的主要特点是什么?2、计算机内为什么采用二进制数表示信息?3、计算机硬件系统由哪几部份组成?各部份的主要功能是什么?4、什么是硬件?什么是软件?它们有何关系?5、计算机存储器可分为几类?它们的主要特点是什么?6、计算机系统的主要性能指标有哪些?7、常用的操作系统有哪些?1、电子计算机的发展已经历了四代,正向第五代智能化的计算机发展。

前四代计算机的特点是:第一代为电子管计算机,使用的软件程序主要为机器语言。

第二代机是晶体管作为主要逻辑元件的计算机,软件程序使用了汇编语言且高级程序设计语言诞生。

第三代机是由中小规模集成电路组成的计算机,软件程序使用状况是:操作系统和结构化程序设计语言诞生使用。

第四代机是由大规模或超大规模集成电路组成的计算机,软件情况为网络操作系统,面向对象程序设计使用了。

2、电子计算机内部采用二进制数表示信息的主要原因是:(1)、二进制数数码少,因此易于数码表示;(2)、二进制数运算法简单;(3)、采用二进制数易于实现逻辑运算。

3、电子计算机硬件由运算器、控制器、存储器、输入设备和输出设备组成。

它们通过总线连接成有机整体。

运算器的主要功能是:完成算术运算和逻辑运算;控制器的功能是:协调指挥计算机各部件工作;存储器的主要作用是:存储程序和数据,实现记忆的功能。

计算机导论作业1-3

计算机导论作业1-3

计算机导论作业1-3第一次作业算法和程序有什么不同,算法是解决问题的步骤;程序是算法的代码实现。

算法要依靠程序来完成功能;程序需要算法作为灵魂。

如何提高微处理器的性能,选择合适的主板构建良好的散热系统使用合适的方法超频。

调研:主要的编程语言有哪些?Java 、C 、C++ 、Python 、C# 、PHP 、JavaScript 、Ruby 、MATLABPerl 、SQL 、Assembly 、HTML 、Basic 、Objective-C 等冯诹依曼呾图灵对计算机发展的主要贡献?冯?诺依曼:2进制思想与程序内存思想图灵:提出的有限状态自动机也就是图灵机的概念,对于人工智能,它提出了重要的衡量标准“图灵测试”,如果有机器能够通过图灵测试,那他就是一个完全意义上的智能机,和人没有区别了。

第二次作业计算机为什么采用二进制??采用十六进制??因为二进制数字只有 0 和 1,在电路中能很容易被通电和断电两种状态表示,并且计算。

十六进制可以弥补二进制数书写位数过长的不足,表示方便。

一个字长的存储单元可以存放的最大数据是什么?分别给出其二进制十六进制呾十进制的表示在计算机中最小的信息单位是bit(字长),也就是一个二进制位,8个bit组成一个Byte,也就是字节。

一个存储单元可以存储一个字节,也就是8个二进制位。

即 11111111255,,ff,,,,,,21610如何加快数据的讵问速度??数据存放在内存戒者硬盘中,可以考虑使用高性能的内存条戒者硬盘。

SYBASE 、DB2 、ORACLE 、MySQL 、ACCESS 、MS SQL Server第三次作业2014.10.24.作业电脑不数码照相机戒摄像机如何交换数据,接口不原理,?在数码摄像机上常用的接口有两种,一种是 IEEE1394 接口,这是把照相机戒者摄像机上的内容下载到 PC 戒者非编工具上的必要接口,而另一种是 USB 接口,这主要是为了方便把存储卡上的内容下载到电脑上去。

计算机导论(本科)复习练习(第一章)

计算机导论(本科)复习练习(第一章)

第一章复习练习参考答案:1 2 3 4 5 6 7 8 9 10C A C A B C AD C B11 12 13 14 15 16 17 18 19 20A B D D C C C B A B二、判断题1 2 3 4 5 6 7 8 9 10√×√×××××××三、填空题1. 运算器、控制器、存储器、输入设备和输出设备2. R,R,逢R进13. 94. 35. 86. BCD7. 10011 100108. 加、减及移位计算机导论复习练习(第一章)一.单选题1.世界上第一台通用电子数字计算机诞生于( C ) 。

(A)1950年(B)1945年(C)1946年(D)1948年2. 计算机的发展经历了四个阶段,这四个阶段计算机使用的元器件依次是(A)。

(A)电子管、晶体管、集成电路、大规模集成电路(B)电子管、集成电路、大规模集成电路、晶体管(C)电子管、晶体管、集成电路、光介质(D)晶体管、集成电路、大规模集成电路、电子管3. 供科学研究、军事和大型组织用的高速、大容量计算机是(D)。

(A)微型机(B)小型机(C)大型机(D)巨型机4.计算机发展到今天,就其工作原理而论,一般认为都基于冯·诺依曼提出的(A)原理。

(A)存储程序(B)布尔代数(C)开关电路(D)二进制数5. 设有某进制数2×2=10,根据这个运算规则,十进制运算3+6的结果写成该进制为( B) 。

(A)15(B)21 (C)9(D)186. 在( C ) 系统中只使用0和1。

(A)十进制(B)八进制(C)二进制(D)十六进制7.与二进制数(10111.101)2等值的十进制数是( A) 。

(A)23.625 (B)23.5(C)39.5 (D)39.6258.与十进制数(101.1)10等值的二进制数是( D) 。

(A)5.5 (B)110010.00011(C)11000101.0011 (D)1100101.000110011…9.与十六进制数(1AE.5D)16等值的八进制数是( C) 。

计算机应用基础第一次作业

计算机应用基础第一次作业

计算机应用基础第一次作业哎呀,说起这计算机应用基础的第一次作业,那可真是让我想起了不少有趣的事儿。

还记得刚开始接触这门课的时候,我心里那叫一个好奇和期待。

就像小时候第一次拿到新玩具,迫不及待想知道它到底能带来多少惊喜。

这第一次作业呢,是让我们熟悉计算机的基本操作,比如打字、文件管理啥的。

老师布置作业的时候,那表情可严肃啦,一再强调这是打基础的关键,可不能马虎。

我回到家,打开电脑,心里想着:“这能有多难?”可真开始做的时候,才发现问题来了。

就说打字这一项吧,我那手指在键盘上就跟跳舞似的,完全不听使唤,不是按错了键,就是速度慢得像蜗牛。

我着急啊,越着急就越出错。

好不容易打完了一段文字,结果保存的时候又出岔子了。

我愣是找了半天也没搞清楚该怎么保存到指定的文件夹里。

这时候我才真正意识到,这计算机的学问大着呢!后来,我静下心来,仔细回忆老师在课堂上讲的步骤,一步一步地操作。

嘿,还真让我给弄明白了。

在完成这次作业的过程中,我还发现了一个有趣的现象。

我家那调皮的小猫,平时总是到处捣乱,可这次看到我对着电脑认真的样子,居然乖乖地趴在旁边,瞪着大眼睛好奇地看着屏幕,好像也在琢磨这是啥新奇玩意儿。

经过一番努力,我终于完成了这第一次作业。

虽然过程有点曲折,但收获可不小。

我明白了做任何事情都不能眼高手低,看似简单的操作,也需要认真对待和不断练习。

就像这计算机应用基础,只有把第一次作业做好了,后面的学习才能更顺利。

我相信,通过不断地努力和实践,我一定能成为计算机小能手!所以啊,同学们,可别小看这第一次作业,它就像是我们在计算机世界里迈出的第一步,虽然可能会有点踉踉跄跄,但只要坚持走下去,一定能走出一条宽阔的大道!。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

姓名:薛锦利学号:14710074《计算机科学导论》第1次作业(第1章—第7章)一、选择题1. 电子计算机从诞生之日起,经历了4个发展阶段,目前所使用的第四代计算机的主要特点是( D )。

A.主要特征是逻辑器件使用电子管,用穿孔卡片机作为数据和指令的输入设备,用磁鼓或磁带作为外存储器,使用机器语言编程B.主要特征是使用晶体管代替了电子管,内存储器采用了磁芯体,引入了变址寄存器和浮点运算硬件,利用I/O处理机提高了输入/输出能力C.主要特征是用半导体中、小规模集成电路作为元器件代替晶体管等分立元件,用半导体存储器代替磁芯存储器,使用微程序设计技术简化处理机的结构,在软件方面则广泛地引入多道程序、并行处理、虚拟存储系统和功能完备的操作系统,同时还提供了大量的面向用户的应用程序D.主要特征是使用了大规模和超大规模集成电路2.计算学科的根本问题是( A )。

A.什么能被有效地自动进行B.NP问题C.工程设计D.理论研究实验方法3.计算机科学与技术研究的内容可以分为(ABC )。

A.基础理论B.专业基础C.应用D.实验4.计算机科学技术的研究范畴包括(ABCD )。

A.计算机理论B.硬件C.软件D.网络及应用5.计算机科学与技术学科的核心知识点个数是( C )个。

A.3 B.12 C.14 D.216.如果[X]补=11110011,则[-X]补是( D )。

A.11l 1001l B.01110011 C.00001100 D.0000110l7.若十进制数据为137.625,则其二进制数为( B )。

A.10001001.11 B.10001001.101 C.1000l011.101 D.1011111.101 8.存储器存储容量单位中,1KB表示( A )。

A.1024个字节B.1024位C.1024个字D.1000个字节9.数据总线、地址总线、控制总线3类划分根据是( A )。

A.总线传送的内容B.总线所处的位置C.总线传送的方向D.总线传送的方式10.每次可传送一个字或一个字节的全部代码,并且是对一个字或字节各位同时进行处理的信息传递方式是( B )。

A.串行方式B.并行方式C.查询D.中断11.目标程序是( D)。

A.使用汇编语言编写的程序B.使用高级语言编写的程序C.使用自然语言编写的程序D.机器语言程序12.程序设计语言中用来组织语句生成一个程序的规则称为( A )。

A.语法B.汇编C.编译D.解释13.汇编语言使用的助记符指令与机器指令通常是一一对应的,是使用(C)。

A.自然语言B.逻辑语言C.英语单词或缩写D.形式语言14.在高级语言中,源程序的基本单位是(D )。

A.字母B.数字C.标号D.语句15.好的程序设计风格,能够提高程序的(ABCD )。

A.正确性B.可读性C.可用性D.可维护性16.程序如果需要进行顺序查找,则线性表( C )。

A.必须以顺序方式存储 B. 必须以链表方式存储C. 采用顺序、链表方式存储均可D. 以上都不对17.假设一个顺序表中第一个数据元素在主存中的存储单元地址是100,每个元素占用2个存储单元,则第5个元素所在存储单元的地址是( A )。

A . 108B . 110C . 112D . 1 2018.用于处理重复动作的结构是( C )。

A.顺序 B. 判断 C. 循环 D. 逻辑19.数据结构可以是(D )。

A.数组 B. 记录 C. 链表 D. 以上全部都是20.一步一步解决问题或完成任务的方法是( D )。

A.结构体B.递归C.迭代D.算法21.( C)是算法自我调用的过程。

A.插入B.查找C.递归D.迭代22.用来计算一组数据乘积的基本算法是( B )。

A.求和B.乘积C.最小D.最大23.根据数值大小进行排列的基本算法是( B )。

A.查询B.排序C.查找D.递归24.根据数据加密标准,速度较快、适用于加密大量数据的场合的加密算法是(A)。

A.DES B.RC2 C.DSA D.MD525.下列属于概念模型的是( D )。

A.关系数据模型C.网状数据模型B.层次数据模型D.实体-联系模型26.SQL语言的最大的特点是( D )。

A.交互性B.直观性C.过程化D.非过程化27.设计E-R图是数据库设计过程中( B )阶段的任务。

A.需求分析B.概念设计C.逻辑设计D.物理设计28.数据模型的三要素是( C )。

A.外模式、模式、内模式B.关系模型、层次模型、网状模型C.数据结构、数据操纵、数据约束D.实体、联系、属性29. 一个图书管理数据库有这样的描连:一个图书馆有多本图书,一个学生可以借阅多本图书;而一本图书只能借给一个学生看,那么学生与图书之间的联系属于( B )。

A.1:1 B. 1:m C. m:n D. 无关联30.软件是指( D )。

A.按事先设计的功能和性能要求执行的指令系列B.使程序能够正确操纵信息的数据结构C.与程序开发维护和使用有关的图文资料D.计算机系统中的程序、数据结构及其说明文档31.瀑布模型的主要特点是( A )。

A.将开发过程严格地划分为一系列有序的活动B.将过程分解为阶段C.提供了有效的管理模式D.缺乏灵活性32.软件开发方法是指(A )。

A.指导软件开发的一系列规则B.软件开发的步骤C.软件开发的技术D.软件开发的思想33.基于构件的软件开发总是( D )。

A.使用现存的构件 B. 自己开发构件C.修改现存的构件D.使用现存的和开发新的构件34.简单地说,软件的质量是指( C)。

A.软件满足需求说明的程度B.软件性能指标的好坏C.用户对软件的满意程度 D. 软件可用性的程度二.简答题1.什么是计算机系统?计算机系统是一种能够按照事先存储的程序,自动、高速地对数据进行输入、处理、输出和存储的系统,由计算机硬件系统和计算机软件系统两大部分组成。

2.请解释冯•诺依曼所提出的“存储程序”概念。

把程序和数据都以二进制的形式统一存放在存储器中,由机器自动执行。

不同的程序解决不同的问题,实现了计算机通用计算的功能。

3. 简述计算机硬件系统的五大部分。

①运算器运算器又称算术逻辑单元(Arithmetic Logic Unit,ALU),是计算机对数据进行加工处理的部件,它的主要功能是对二进制数进行加、减、乘、除等算术运算和与、或、非等基本逻辑运算,实现逻辑判断。

运算器是在控制器的控制之下实现其功能的,运算结果由控制器发出的指令送到内存储器中。

②控制器控制器主要由指令寄存器、译码器、程序计数器和操作控制器等组成,控制器是用来控制计算机各部件协调工作,并使整个处理过程有条不紊地进行。

它的基本功能就是从内存中取出指令和执行指令,即控制器按程序计数器指出的指令地址从内存中取出该指令进行译码,然后根据该指令功能向有关部件发出控制命令,执行该指令。

另外,控制器在工作过程中,还要接受各部件反馈回来的信息。

通常把运算器、控制器集成在一个大规模集成电路板上称为中央处理器,又称CPU(Central Processing Unit)。

③存储器存储器是计算机的记忆装置,用于存放原始数据、中间数据、最终结果和处理程序。

为了对存储的信息进行管理,把存储器划分成存储单元,每个单元的编号称为该单元的地址。

各种存储器基本上都是以1个字节作为一个存储单元。

存储器内的信息是按地址存取的,如要访问存储器中的某个信息,就必须知道它的地址。

向存储器里存入信息也称为“写入”,写入新的内容将覆盖原来的内容。

从存储器里取出信息也称为“读出”,信息读出后并不破坏原来存储的内容,因此信息可以重复读出,多次利用。

通常把内存储器、运算器和控制器合称为计算机主机,也可以说主机是由CPU与内存储器组成的,而主机以外的装置称为外部设备,外部设备包括输入/输出设备、外存储器等。

④输入和输出设备输入和出设备简称I/O(Input/Output)设备。

用户通过输入设备将程序和数据输入计算机,输出设备将计算机处理的结果(如数字、字母、符号和图形)显示或打印出来。

常用的输入设备有:键盘、鼠标器、扫描仪、数字化仪等;常用的输出设备有:显示器、打印机、绘图仪等。

4. 简述计算机系统的主要技术指标。

评价计算机的性能指标有很多,通常人们从计算机的字长、时钟周期和主频、运算速度、内存容量、数据输入输出最高速率等技术指标来评价计算机系统。

1.字长在计算机中,用若干二进制位表示一个数或一条指令,前者称为数据字,后者称为指令字。

字长的直接影响计算机的功能强弱、精度高低和速度快慢。

计算机处理数据时,一次可以运算的数据长度称为一个“字”(Word),字的长度称为字长。

一个字可以是一个字节(Byte,简称B),也可以是多个字节。

常用的字长有8位(bit)、16位、32位、64位等。

如某一类计算机的字由4个字节组成,则字的长度为32位,相应的计算机称为32位机。

2.时钟周期和主频计算机的中央处理器对每条指令的执行是通过若干个微指令操作来完成的,这些微指令操作是按时钟周期的节拍来“动作”的,时钟周期的微秒数反映出计算机的运算速度。

有时也用时钟周期的倒数——时钟频率(兆频),即人们常说的主频来表示。

一般说来,主频越高(时钟周期越短),计算机的运算速度越快。

但是,主频并不能全面准确地反映计算机的运算速度,而每秒钟执行百万条指令数(MIPS)指标则能较全面准确地反映计算机的运算速度。

近十年来,微计算机的主频提高很快,例如,IBM PC/XT微机的CPU主频为4.77MHz,而Pentium 4 CPU的主频己超过1GMHz,并且在不断提高。

3.运算速度计算机的运算速度是衡量计算机水平的一项主要指标,它取决于指令执行时间。

运算速度的计算方法多种多样,目前常用单位时间内执行多少条指令来表示,而计算机执行各种指令所需时间不同。

因此,常根据在一些典型题目计算中,各种指令执行的频度以及每种指令的执行时间来折算出计算机的等效速度。

4.内存容量存储器的容量反映计算机记忆信息的能力,它常以字节为单位表示。

存储器的容量越大,则存储的信息越多,计算机的功能越强。

计算机中的操作大多是与内存交换信息,但内存的存取速度相对CPU的算术和逻辑运算的速度要低1~2个数量级。

因此,内存的读写速度也是影响计算机运行速度的主要因素之一。

为了度量信息存储容量,将8位二进制位(8bits)称为1个字节,字节是计算机中数据处理和存储容量的基本单位。

1024个字节称为1K字节(1KB),1024K个字节称1兆字节(1MB),1024M 个字节称为1G字节(1GB),1024G个字节称为1T字节(1TB),现在微型计算机主存容量大多数在兆字节以上。

5.数据输入输出最高速率主机与外部设备之间交换数据的速率也是影响计算机系统工作速度的重要因素。

相关文档
最新文档