# Computer and Memory - Essay Example

Since minimum bus cycle duration = 4 clock cycles and bus clock = 8 Much Then, maximum bus cycle rate 8 M / 2 M/s Data transferred per bus cycle = 16 bit = 2 bytes Data transfer rate per second = bus cycle rate * data per bus cycle = 2 M * 2 = 4 Maybes/sec. 2. A computer has a cache, mall memory, and a disk used for virtual memory. If a referenced word Is In the cache, 20 NSA are required to access It. If It Is In mall memory but not in the cache, 60 NSA are needed to load it into the cache (this includes the time to originally check the cache), and then the reference is started again.

We Will Write A Custom Essay Sample On
ANY TOPIC SPECIFICALLY
FOR YOU

For Only \$13.90/page

order now

If the word is not in main memory, 12 ms are required to fetch the word from disk, followed y 60 NSA to copy it to the cache, and then the reference is started again. The cache- hit ratio Is 0. 9 and the main-memory hit ratio Is 0. 6. What is the average time in NSA (Anna second) required to access a referenced word on this system? 90% (0. 9) Is the 0. 10% * 60% (0. 06) is the time it is not in cache but is in memory. 4% (0. 04) (obtained from 1-90% – 6%) of the time it is neither in cache or memory 0. 9 (inns) +0 . 06 (60 NSA + inns) + . 04 (runs + inns +inns) inns + 4. Ins + . Ms (Vive dropped the rest because it is minimal compare to the access to disk) = 480 microseconds 3. A user program begins at t=O. At t -?10, a printer interrupt occurs and at t=15, a communications interrupt occurs and at t=20, a disk interrupt occurs. Given the service times of 20, 30, and 10 for printer interrupt, communication interrupt, and disk interrupt respectively, and the desk interrupt has the highest priory followed by printer and then communication interrupt. Which one of the following statements give the correct finish times for the printer interrupt. 4.

What does PC register stands for? What value does it hold? It keeps track of the next memory address of the instruction that is to be executed once the execution of the current instruction is completed. In other words, it holds the address of the memory location of the next instruction when the current instruction is executed by the microprocessor. 5. What is a memory word? And what does it contain? Internal storage areas in the computer. The term memory identifies data storage that comes in the form of chips, and the word storage is used for memory that exists on tapes or disks.

Moreover, the term memory is usually used as shorthand for physical memory, which refers to the actual chips capable of holding data. Some disk. Every computer comes with a certain amount of physical memory, usually referred to as main memory or RAM. You can think of main memory as an array of boxes, each of which can hold a single byte of information. A computer that has 1 megabyte of memory, therefore, can hold about 1 million bytes (or characters) of information. There are several different types of memory: RAM (random-access memory): This is the same as main memory.

When used by itself, the term RAM refers to read and write memory; that is, you can both write data into RAM and read data from RAM. This is in contrast to ROOM, which permits you only o read data. Most RAM is volatile, which means that it requires a steady flow of electricity to maintain its contents. As soon as the power is turned off, whatever data was in RAM is lost. ROOM (read-only memory): Computers almost always contain a small amount of read-only memory that holds instructions for starting up the computer.

Unlike RAM, ROOM cannot be written to. PROM (programmable read-only memory): A PROM is a memory chip on which you can store program. But once the PROM has been used, you cannot wipe it clean and use it to store something else. Like Rooms, PROMS are non-volatile. . What is meant by interrupt? Why it is useful? An interrupt is a signal from a device attached to a computer or from a program within the computer that causes the main program that operates the computer (the operating system ) to stop and fugue out what to do next.

Almost all personal (or larger) computers today are interrupt-driven – that is, they start down the list of computer instruction s in one program (perhaps an application such as a word processor) and keep running the instructions until either (A) they can’t go any further or (B) an interrupt signal is sensed. After the interrupt signal is sensed, the computer either resumes running the program it was running or begins running another program. 7. What are the two main parts of instruction cycle? What does each part do?