Wednesday, May 6, 2020

Computer Organization and Design Samples for Students-Myassignment

Questions: 1.Explain what the term Green Computing means.2.The Von Neumann Architecture, which is the basis for most Digital Computers today, Suffers from the von Neumann bottleneck. Explain.3.Java is Called an Interpreted Language, yet Java is a compiled language that produces a Binary Output Stream. Explain how this Language can be both compiled and interpreted.4.Why should assembly language be avoided for General application Development? Under what Circumstances would you argue in favour of using assembly Language code for Developing an Application Program?5.Explain how DMA (Direct Memory Access) is different from other ways of I/O Controlling Mechanisms. Anwers: 1.Green computing: This the study of designing, manufacturing, using and disposing off the computer devices in relation to caring the environment health. These activities involved in computer usage and manufacturing ensures that the environment is not polluted and no components of computers should be disposed of to the environment if its impacts negatively to environs. In fact we should reuse this components. Green computing is in effect to maximise effective usage of power, ensure usage of biodegradable materials, recycle materials and reduce or eliminate cases of hazard effects. 2.Due to this architecture, it should be noted that a program data has to be fetch and restored to the memory units and being loaded on the processor unit for processing. This makes the computer sometimes idle especially with currently increasing speed of processor performance. Some commonly used data should be stored in the RAM for its usage. Bottlenecks emerges when we have mismatched hardware units. For instance, a Gigabit Ethernet port being connected to a 0.01 Ethernet switch port with a very low connection speed will cause a bottleneck. Same case applies when we have a higher performing processor being connected to a low space RAM that keeps on fetching data instructions bit by bit than how high the processor is executing these instructions. The technology at which the processor is being improved cannot go in line with the technology at which RAMs are being developed. RAMs are expensive. 3.When java is being interpreted and compiled, JVM converts data instructions line by line as they appear. This conversion is termed to as interpretation since the instructions have been converted into byte codes. For a native program to run in a computer, it must then be converted into machine language which is termed to as compilation. In case of JVM, there exist the stage of having byte codes first for platform independence and then machine code conversion for program running. 4.Assembly language has mnemonic codes which are English like words. It is a low level language which is a machine language, if one has to program using this language, one needs a clear understanding of hardware in detail. Trying to conceptualize this language is time consuming. However, we need assembly language in cases where we need direct hardware manipulation and speed optimization much so in designing and developing drivers and real time systems. 5.The I/O control mechanisms is a way in which processor uses device software like a driver for instruction data request from the main storage into memory and then back to the main memory. The process is tedious in a way that processor has to make a request and wait for I/O response. This communication process has to continue towards completion of every execution cycle. On the other hand, direct memory address involves processor granting the I/O module the mandate to read and write data without involving the processor. The I/O module can write to RAM directly without passing through processor. This speeds up fetch execution cycle. References PATTERSON, D. (2017).COMPUTER ORGANIZATION AND DESIGN. MORGAN KAUFMANN PUBLISHER What is von Neumann bottleneck? - Definition from WhatIs.com. (n.d.). Retrieved April 22, 2017, from https://whatis.techtarget.com/definition/von-Neumann-bottleneck Wong, A. Y. (n.d.). Retrieved April 22, 2017, from https://www.louiewong.com/archives/137

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.