Tuesday, April 2, 2019

The Equivalents In The Little Man Computer Information Technology Essay

The Equivalents In The Little Man Computer Information Technology turn upThere are both different registers . murder keeps address and MDR considers the content and commemorate from the memory which was indicated by the MAR. These for individually one memory location has an address. These address are identifiers them and the data which is stored there, only as each mailbox in the LMC has both(prenominal) an address. Slip of paper including the data stuffed into the slot.9.19) Describe the steps that occur when a system receives multiple interrupts?-If we encounter with multiple interrupts, first interrupt makes a suspension of the curriculum executing at the time, memory of programs critical parameters and absent of control to the program which are handles the determined interrupt. After first interrupt, the indorsement interrupt occurs. Second interrupts priority is compared to that of the master interrupt. When its priority is handsomeger, it gets precedence and the or iginal interrupt program is itself suspended. In the contrary, processing of the real (original) interrupt keeps passage and the new interrupt is caught on bank the original interrupt program is complete. If the higher priority interrupt process is completed, the lower interrupt is processed. When whatever interrupts do non occur and when whatever interrupts result do not occur in the suspension of all mainframe processing, control finally turn back to original program which then resumes processing. Generally, multiple interrupts motion in a queue of interrupt handler programs. These programs are penalise by priorities associated with each interrupt.11.19)Carefully explain the differences between a client-server lucre and a peer-to-peer network. Compare the Networks in terms of capability and serveance.-There are many big diffarence between a client-server and a peer-to-peer network. Firstly a peer-to-peer network do not has a central server. Each workstation on the networ k shares its files evenly with the others. There is no central storage or authentication of users. On the other hand, there are allocate dedicated servers and clients in a client/server network. Via the client workstations, users jackpot find lots of files that slackly stored on the server. The server will determine that users faecal matter reach the files on the network. Peer-to-peer network is precise usable because it can be installed in your homes or in a very small businesses. Employees can interact regularly there. On the other hand they are very expensive to put overmaster up and they gives al most(prenominal) no security. However, client-servers networks can become big to you bring them. Millions of user jut it and offer elaborate security measures but it is very expensive. When we compare two networks we can see that Peer-to-peer networks has any PC is an satisfactory participant on the network, PCs are not reliant on unrivaled PC for resources like printer, acc ess to the network is not centrally controlled, ply on a basic PC OS, cosmopolitanly simpler and cheaper. Client-servers A PC acts as the network controller, A PC controls access to network resources, network reach and security are centrally controlled, Need a picky OS, generally much complicated but give the user much control.11.21)Clearly and carefully discuss each of the advantages of clustering.-Clustering is two computers are in interconnecting and can cr kille a solution when a problem occurred. One of the most important advantage of clustering is that if one of the computer has a fail, another(prenominal) computer can see the problem and automaticly recovery this problem. The users see no interrupt of access. Clustering computers for scalability include increased application surgical procedure and it has support of a greater figure of speech of users. It can cause ability to perform maintenance and upgrades with limited downtime and easily scale up your cluster to a ma ximum of seven active Exchange Virtual Server.8.8)Carefully discuss what happens when a stash miss occurs.Does this result in a major slowness in execution of the statement? If so, wherefore?Cache miss federal agency that cache controller can not do true see the cache via the data processor acculy needs adjacent .Cache misses slow down programs because the program can not going on its executing public treasury the requested page is fetched from the main memory. In other words, The first cache miss will recompute the data, another request will get a cache miss and also recompute. As a result, this situation added numeration might slow down the whole system leading you to a loop.7.14)As computer words get larger and larger,there is a law of fall returnsthe speed of execution of real application programs does not increase and may,infact,decrease.Why do you suppose that this is so?Firstly we have to know marginal emolument for empathize to deminishing returns. The law of dimi nishing marginal utility helps people to understand the law of demand and the negative sloping demand curve. If you have something less, the more satisfaction you gain from each additional unit you consume. For instance when you eat a burnt umber bar, it taste is sweet and you were satisfied. However, when you continue to eat chocolate ,its taste started to disgusting for you and your pleasure will go decreasing. Another use can be classical System processors (CPUs). They are generally priced in an exponential manner the fastest CPU available at any given time is so expensive, and then prices decrease quickly as you go down in speed yet, the increase in performance by getting a CPU thats a little snack faster is very slight.7.16)Create the fetch-execute cycle for an steering that moves a value from general purpose register1 to general purpose register2.Compare this cycle to the cycle for a misdirect instruction. What is the major advantage of the move over the LOAD?For movesREG 1 - MARMDR - IRIR - MARMDR - REG2PC + 1 - PCFor loadPC - MARMDR - IRIR - MARMDR - APC +1 - PCThe move fetch-execute cycle is beter because it is faster than LOAD because it occures between two registers. Registers are endlessly faster than main memory.8.11) a) Suppose we are act to determine the speed op a computer that executes the Little Man instruction set. The load and store instructions each make up about(predicate) 25% of the instructions in a typical program. Add, subtruct, in, and out retreat 10% each. The various branches each take about 5%. the assay instruction is almost never used (a maximum of once each program, of course). Determine the average number of instructions penalise each second if the clock ticks at 100 MHz.TheloadandStoretakefive steps .The Addand Subtrack also require five steps, IN and outrequire four , SKIPs require four, and JUMPs require three. Then untypicalprogrammix requiresS = 0.25 (5+5) + 0.10 (5+5+ 4 + 4) + 0.05 (4 + 3) = 4.65 steps perinst ructionon average.If the clock ticks at10MHz., the number ofinstructionsexecuted in a second,N = 10,000,000 / 4.65 = approximately 2.17instructionsper second.b)Now suppose that the CPU is pipelined, so that each instruction is fetched while another instruction is executing. What is the avarage number of instructions that can be executed each second with the same clock in this case?With pipelining,eachinstructionis reduced by the two steps required for the fetch. Then,N = 10,000,000 / ( 0.25 (2 + 2) + 0.10 (2 + 2 + 1 +1) + 0.05 (2 + 1) )= approx. 5.7 trillion IPS8.18) Some systems use a branch indicateion method know as static branch prediction, so called because the prediction is made on the basis of the instructer, without regard to history. One possible scenario would have the system predict that all conditional backward branches are taken and all forward conditional branches are not taken. Recall your experience with this programing in the little man computer language. Would this algorithm be emotive? Why or why not? What aspects of normal computer programming, in any programming language, support your conclusion.Little man algorithm can be affective for branch prediction method, because it is suitable for pipeling. Witout branch prediction,users have to wait till the conditional jump instruction has passed the execute stage before the next instruction can enter the fetch stage in the pipeline.You can avoid this waste of time via the branch predictor attempts.7.6) Most of the registers in the machine have two-way repeat capability that is, you can facsimile to them from another register, and you can copy from them to another register. The MAR, on other hand, is always used as a destination register you only copy to the MAR. Explain clearly why this is so.-Addresses are always moved to the MAR there would never be a reason for an address steer from the MAR to another register within the CPU, since the CPU controls memory transfers and is seemingly a ware of the memory address being used.

No comments:

Post a Comment

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

What Warren Buffets eating habits can teach you about your career

What Warren Buffets dietary patterns can show you your profession Have you at any point heard the expression â€Å"you are what you...