rss
twitter
    Find out what You Want :)
Home    Downloads    Corner    Market    News sites    About Us

Thursday, October 27

Cs101 Assignment #01 Solution

Cs101 Assignment #01 Solution
Fall October/2011
Q.1. There are multiple ways to enhance the performance of a computer system. Discuss what role a cache can play in boosting up the performance of a computer system? (5 Marks)

Answer:
A CPU cache is a cache used by the central processing unit of a computer to reduce the average time to access memory it is different as compare to the main memory which is used to copy data from the secondary storage it store the data inside the page file and then take it from there as compare to cache memory it exists inside the CPU and directly gives the data to cpu to process the instructions lets see a figure which will make it more clear. The cache is a smaller, faster memory which stores copies of the data from the most frequently used main memory locations. As long as most memory accesses are cached memory locations, the average latency of memory accesses will be closer to the cache latency than to the latency of main memory. It is Volatile memory, also known as volatile storage, (FutureBlog) is computer memory that requires power to maintain the stored information,When the processor needs to read from or write to a location in main memory, it first checks whether a copy of that data is in the cache. If so, the processor immediately reads from or writes to the cache, which is much faster than reading from or writing to main memory. Most modern desktop and server CPU's have at least three independent caches: an instruction cache to speed up executable instruction fetch, a data cache to speed up data fetch and store, and a translation [Future Blog] look-aside buffer (TLB) used to speed up virtual-to-physical address translation for both executable instructions and data. Data cache is usually organized as a hierarchy of more cache levels which are L1 and L2 etc.

Q.2. Generally there is a concept that “Memory” and “Storage” are same terms. Do you agree? Justify your opinion with a real life example. (5 Marks)

Answer:-
AS we know nowadays these are very common terms which we use in our daily life so for that you called mostly the Ram as the memory of the system and the Storage device which is called the hard disk or Flash (USB) memory or can be a memory card. So what’s the difference between them lets see it in real life that in Memory which is Volatile (FutureBlog) and need powers to maintain if the electricity is off then it is going to wash each and everything. As compare to the Storage Non-Volatile memory which doesn’t need the power all the time when the data is store to it and power went off next time you can see the data inside it. As we can see a new functions which start from the XP Windows Os from Microsoft. Hibernate it store the data to the hard drive from the Memory You can say the Memory to storage when you hibernate the system it will open next time all the files and applications where you were working. So it’s an example from real life.

Q3).Convert the following Octal Number to Hexadecimal Number by writing each and every step of conversion process: (5 Marks) (53324)8 => (?)16
 

Answer:-
First we will convert this to binary to decimal
 
Another Solution

Q.1. There are multiple ways to enhance the performance of a computer system. Discuss what role a cache can play in boosting up the performance of a computer system? (5 Marks)

Answer:-
Cache memory is random access memory RAM that a computer microprocessor can access more quickly than it can access regular RAM. As the microprocessor processes data, it looks first in the cache memory and if it finds the data there (from a previous reading of data), it does not have to do the more time-consuming reading of data from larger memory.


Q.2. Generally there is a concept that “Memory” and “Storage” are same terms. Do you agree? Justify your opinion with a real life example. (5 Marks)

Answer:- 
The term memory refers to the amount of RAM installed in the computer, whereas the term storage refers to the capacity of the computer’s hard disk. To clarify this common mix-up, it helps to compare your computer to an office that contains a desk and a file cabinet.
The file cabinet represents the computer's hard disk, which provides storage for all the files and information you need in your office. When you come in to work, you take out the files you need from storage and put them on your desk for easy access while you work on them. The desk is like memory in the computer: it holds the information and data you need to have handy while you're working.

No comments:

Post a Comment

Discus Your Study Problems Here

Is This Blog Is Useful For You?

Face Book Fans