Fall 20111 - CS101Solution
Fall 20111 - CS101Solution
Assignment No. 01
Semester Fall 2011
Introduction to Computing-CS101
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 .1. A modern microprocessor performs 100 times faster then memory when we
assigned any task to microprocessor its completed the same in micro seconds now the
microprocessor waiting for memory response which is much slow against microprocessor, resultant
we waste lot of time and we say performance of our computer is much slow. Therefore we need to
found a memory whose response equal to the microprocessor performance, it is exist as cache
memory, a superfast memory, known as “ON CHIP CACHE MEMORY”, placed on the chap nearby
microprocessor. When microprocessor required any data/instruction first of all search in cache
memory. This is the fastest way the microprocessor can get data/instruction and also the
microprocessor guess what data require in near future and store in the memory furthermore stores
a copy of frequently used data/instruction in cache memory for quick access. On chip cache
memory is very expensive causes very small amount of cash memory fitted on the computer and it
can be contained very small amount of information but much faster than other memory. Hence it is
very important to boosting up of performance of the computer.
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. 2. Memory and storage are not the same terms, memory is an initial holding place
and the storage is final place or we can say memory is a midpoint between user and storage.
Memory loss their data when power removed except nonvolatile memory and storage kept their
data safe when power removed. For example in our real life when I went to shop and demanded a
Pepsi, shopkeeper, by whom take out from fridge and handed over to me, if I demanded a carton
of Pepsi now the shopkeeper get it from depot but I was refused my demand the shopkeeper leave
the carton at depot, in this example myself like user, shopkeeper like operating system, shop like
memory where the operating system kept current data/instruction and depot like storage where all
data saved when I refuse my demand operating system leave the data of storage.
STUDENT ID - Bc110400399
Q.3. Convert the following Octal Number to Hexadecimal Number by writing each and
every step of conversion process: (5 Marks)
So (53324)8 = (101011011010100)2
Now convert binary digits to the hexadecimal in the help of conversion table
0101 0110 1101 0100
5 6 D 4
Thus
(53324)8 = (101011011010100)2 = (56D4)16