已阅读5页,还剩12页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
3. Which of the following storage systems is best suited for storing and retrieving 检索long strings of data that are processed in their sequential order?ca. Main memoryb. magnetic diskc. optical CDs and DVDs4. Which of the following mass storage system does not required physical motion?a. magnetic tapeb. magnetic diskc. DVDsd, Flash drives magnetic & optical devices require physical motion to store and retrieve data slow in flash memory, bits are stored by sending electronic signals directly to the storage medium where they cause electrons to be trapped in tiny chambers of silicon dioxide, thus altering the characteristics of small electronic circuits good for off-line storage, digital cameras, phones, PDAs5. How many different symbols can be encoded using Unicode?a. 256b. 4096c. 6553616 bitsd. 1046476iASCII: 8bitsExtended ASCII: 8bitsISO: 32 bits6. A computers main memory consists of numerous memory cells, each of which contains _8_bits. Each memory cell is identified by a numeric value called the cells _address_.7. Represent the bit pattern 1011,0100,1001,1111 in hexadecimal notation. B49F8. A7DF is the hexadecimal representation for what bit pattern?1010 0111 1101 11119. Under what condition is each of the following data compression techniques most effective?a. Run-length encoding Is the process of replacing long sequences of data of the same value with a code indicating the value that is repeated and the number of times it occurs in the sequence.Contains long sequences of data of the same valueb. Relative encodingIs to record the differences between consecutive data blocks rather than entire blocks.That is, each block is encoded in terms of its relationship to the previous block.There is not much difference between consecutive data iFrequency-dependent encodingAdaptive dictionary encoding2. Which of the following instructions (as described in the language description table) changes the contents of a memory cell?a. 10ABb. 20ABc. 30ABd. 40AB3. Which of the following instructions (as described in the language description table) places 00000000 in register A?a. 1A00b. 2A00c. 3A00d. 200A4. In which of the following locations is information most readily available for manipulation by the CPU?a. General-purpose registersb. Main memoryc. Mass storage5. Which of the following instructions falls in the category of data transfer instructions?aa. LOADb. ANDc. ROTATEd. JUMP7. If registers 0, 1, and 2 contain the patterns A5, A5, and B7, respectively, which of the following instructions will result in a jump to location AA? (refer to the language description table)aa. B0AAb. B1AAc. B2AA8. If registers 0 and 1 contain the patterns B5 and F0, respectively, what will be in register 1 after executing each of the following instructions? (refer to the language description table.)3c,b5,f0a. A102 c3b. 4001 b5c. 4010 f09. Encode each of the following commands in terms of the machine language described in language description table. 27a5,17a5,5456,7456a. _ LOAD register 7 with the value A5b. _ LOAD register 7 with the contents of the memory cell at address A5.c. _ ADD the contents of registers 5 and 6 as thought they were values in twos complement notation and leave the result in register 4. d. _ OR the contents of registers 5 and 6, leaving the result in register 4.10. Decode each of the following instructions that were encoded using the language description table. a. A004 rotate the bit pattern in register 0 to the right 4 timesb. 1234 load the register 2 with the bit pattern found in the memory cell whose address is 34c. 5678 add the bit pattern in regiser7 and register 8 as they were two complement representations and leave result in register 6d. C000 halt execution1. Which of the following components of an operating system maintains the directory system? ba. Device driversb. File managerc. Memory maneger2. Which of the following components of an operating system handles the details associated with particular peripheral equipment外部设备? aa. Device driversb. File managerc. Memory manager3. Which of the following components of an operating systems is not part of the kernel? aa. Shellb. File managerc. Scheduler5. which of the following is not a role of a typical operating system? da. Control the allocation of the machines resourcesb. control access to the machinec. maintain records regarding files stored in mass storaged. Assist the computer user in the task of processing digital photographs6. Which of the following would not require real-time processing? ca. Typing a document with a word processorb. Navigation of an aircraftc. Forecasting word-wide trade for the next five year periodd. Maintaining a airline reservation system7. Fill in the blanks below with the part on the operating system(file manager, memory manager, device drivers, window manager, scheduler, dispatcher) that performs the activity described.a. _windows manager_ Maintains a record of what is displayed on the computers screenb. _dispatcher_ Performs the switching from one process to anotherc. _file manager_ Maintains the directory systemd. _memory manager_ Creates virtual memory8. List three popular operating systems.a. linuxb.unixc. Microsoft windows series10. Describe the bootstrap process.1. Automatically run bootstrap when power is on 2. Direct CPU to transfer operating system from a predetermined location in mass storage into the volatile area of the main memory3. Directs CPU to execute a jump instruction to that area of memoryMultiple Choice Questions1. Which of the following is not a means of performing inter-process communication over a network? ba. Client/serverb. ICANNc. Peer-to-peer2. Which of the following is not a means of referencing entities on the Internet? ca. URLb. IP addressc. Anonymous FTPd. Host address3. List three network topologiesa. _ring_ b. _star_c. _bus_4. Name the portion of the url below that identify the directory containing the file being addressed. Name the portion that identifies the protocol that should be used when accessing the file. And name the portion that identifies the file name itself.a. _http:/www_protocol name_b. _domain name_c. _directory_5. IP address used in the Internet are _32_ bits long and consist of two parts. One part, which identifies the domain, is called the_network identifier_ and the other, which identifies a particular machine within that domain, is called the_host address_.6. Fill in the blanks in the HTML document below so that the term Earth will be linked to the HTML document earthinfo.html in the directory earthdir at .Earth pageThe planet we live on is called_a href=”/earthdir/earthinfo.html”_Earth_7. in each blank below write the html tag that performs the indication functiona. begins the part that describes what will appear on the computer screenb. marks the end of the html documentc. marks the beginning of a paragraphd. marks the end of a term that is linked to another document 8. The client/server model refers to a form of inter-process communication in which one process, known as the _server_, runs continuously so that it can be contacted by other processes, known as _client_, as needed. In contrast is the _peer-to-peer_ model of inter-process communication in which two processes communicate as equals.9. Where would be the most likely place to put a firewall to provide each of the following services?a. _gateway _ protect an entire domain from attacks from the cloud.b. _mail server_ protect an entire domain from spam.c. _individual computer_ protect an individual machine from worms and viruses.10. What is the difference between hubs, switches, and routers?Hubs: central network device used in a star topology to join networksSwitches: connect several compatible networks(link network segment and forward and filter frames between segments)Routers: connecting two incompatible networks result in a network of networks called Internet1. Which of the following is an activity? ca. algorithmb. programc. process2. which of the following set of instructions defines an algorithm in the formal, strict sense?ba. x3; while (x5) do (xx)b. x3; while(x5) do (x-x+1)c. x-3; while (x5) do (x-x-1)3. Which of the following is not a means of repeating a block of instructions?da. pretest loopb. posttest loopc. recursiond. assignment statement4. The insertion sort algorithm is an example of an algorithm in which of the following classes? d5. Which of the following is not a way of representing algorithms?aa. Stepwise refinementb. pseudocodec. flowchartd. programming language6. Define each of the following terms.a. Algorithm _a set of steps that define how a task is performed_b. Program _the representation of an algorithm_c. Process _the activity of executing an algorithm_7. What sequence of values will be printed when the following instructions are executed?6 28. what sequence of numbers would be printed if the following procedure were executed with the value of N being 0? 0 2 2 49. Rewrite the following routine using a pretest while statement. repeat (print the value of X; x5)10. Use a repeat loop rather than a while loop to accomplish the same results as the following program segment. Assume that X will have only integer values. (You may also use an if statement if you like) while (x5) do (print the value of X; x-x+1)1. Most machine languages are based on the aa. Imperative paradigmb. Declarative paradigmc. Functional paradigmd. Object-oriented paradigm2. Which of the following does not require a Boolean structure? ca. If-then-else statementb. While loop statementc. assignment statementd. for loop statement3. Which of the following is not a step in the process of translating a program? aa. Executing the programb. Parsing the programc. Lexical analysisd. code generation4. Which of the following is ignored by a compiler? da. control statementsb. Declarations of constantsc. procedure headersd. comment statements5. Which of the following is not constructed by a typical compiler?aa. source codeb. symbol tablec. parse treed. object program6. List two disadvantages of both machine languages and assembly languages that are overcome by high-level programming languages._programmers must think as a machine_inherently machine dependent_One-to-one correspondence between machine instructions and assembly instructions7. Indicate how each of the following types of programming languages is classified in terms of generaion (first generation, second generation, or third generation). 3 12a. high-level languages_third_b. machine languages_one_c. assembly languages_two_8. In the context of the object-oriented paradigm, _classes_ are templates from which _objects_are constructed. We say that the latter is an instance of the former.9. What does it mean to say that a programming language is machine independent?Means source code can run on various platform, without modification for the sake of particular operating system or hardware10. Explain the distinction between translating a program (in a high-level language) and interpreting the program.Translating: convert source code to machine language code which called object codeInterpreting: convert source code to machine language on statement at a time just before execution.1. Which of the following is most likely an example of a one-to-one relationship?da. subscribers and magazinesb. birth dates and peoplec. planets and their moonsd. dinner guests and table settings2. which of the following is a form of glass-box testing?aa. basis path testingb. boundary value analysisc. beta testing3. Which of the following is not represented in a class diagram?da. generalizationsb. the methods within a classc. the attributes within a classd. the number of instances each class will have4. which of the following is the oldest approach to software development?ba. component architectureb. waterfall modelc. open-source developmentd. extreme programming5. which of the following is a stronger form of cohesion?aa. functional cohesionb. logical cohesion6. identify the stage of software development in which each of the following activities is performed.a. _implementation_programming is conducted.b. _design_class diagrams are drawn.c. _analysis_User needs are analyzed.7. During the analysis stage of software development, user needs are identified in the form of non-technical _system requirements_ that are then converted into technical _system specifications_.8. prototyping occurs in two forms. In one, called _evolutionary_ prototyping the original prototype is slowly enhanced to become the final product. In the other, called _throwaway_ prototyping, the original prototype is used as an experimental system that is ultimately discarded. 9. Identify two distinctions between software engineering and other traditional fields of engineering.The ability to conduct system from generic prefabricate componentThe role of tolerance: traditional fields of engineering deals with the products that are acceptable as long as they perform their task within certain bounds. Software performs either correctly or incorrectly.The lack of quantitative system for measuring the properties of software. 10. In what sense is the software life cycle different from the life cycle of other products?1). change often introduce more problems than it solve2). Problem currently focuses primarily on improving initial stage of software life cycle3). The major phrase within software development phrase of the software life cycle are analysis, design, implementation, testing1. which of the following is a LIFO structure? ba. arrayb. stackc. queued. tree2. Suppose a binary tree contained the nodes W,X,Y, and Z. If W and X were chil
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 动物园筹建项目可行性研究报告
- 医学诊断服务项目可行性研究报告
- 颈部良性肿瘤护理查房
- 抽水储能通风设备试生产温控精度优化可行性研究报告
- 红外烟感运营服务方案
- 加盟火锅店运营方案
- 宠物医疗行业运营方案
- 饮品店初期运营方案
- 餐厅小白运营方案策划
- 飞行体验项目线上运营方案
- 2026昆明民泰保安有限责任公司劳务外包文员、财务人员招聘2人考试模拟试题及答案解析
- 2026年青岛市局属公办高中自主招生物理试卷试题(含答案详解)
- 2026中国激光器行业发展现状调研及市场前景趋势洞察报告
- 2026年政府采购评审专家通关考试题库完整附答案详解
- (二模)河南五市2026年高三毕业年级第二次质量检测生物试卷(含答案)
- 养老院老人食物中毒应急预案演练脚本
- 2026湖北省崇阳县人才引进26人建设笔试备考题库及答案解析
- 国家义务教育质量监测八年级德育模拟试卷
- 超危大模板及支撑体系专项施工方案(专家论证修改后)2022
- 生涯教育与化学学科素养融合
- 2025年安庆市大观区事业单位招聘考试试题及答案解析
评论
0/150
提交评论