Question # 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?
Solution:
C ache memory can play a vital role in enhancing the performance of computer system.
- If the right size of cache memory is used with proximity to microprocessor.
- By enhancing the capability of cache memory to store data.
- If a pair or more cache memory are used instead of a single cache.
- By enhancing its speed as it is dependent on algorithm. If changing is made in algorithm of cache, then it will help in boosting performance of cache, results in enhancing performance of computer
Question # 2:
Generally there is a concept that “memory and “storage are same terms. Do you agree? Justify your opinions with the real time example.
Solution:
“Memory” and “storage” are same terms as they refer to same thing “to store data”.
But there is a difference between them as memory stores data of current uses. When we are working on computer system. The all work we done are store on computers memory. It is for temporary purpose. If we shut off the computer it will clear from system’s memory.
On the other hand, if we do a work and save it. it will save in system’s storage. Storage is for permanent basis. it store anything that we can use later.
For example, in a medical shop, the medicines placed in show cases of medical shop store are the real things on which all the work is done .and there is also a store of shop where the extra medicines and luggage is present which is used later or on requirement.
If we considered this medical shop or store a “computer system”. then the showcases of medicine are the “memory” of computer system. And the store besides the shop is the “storage” of system. Where data is permanently store for later use or used on requirement.
Question # 3:
Convert the following octal number to Hexadecimal number by writing each and every step of conversion process.(53324)8=> (?)16
Solution:
First we convert the octal number into binary number. By dividing the number on 2.
Read from down to up side.
Octal to binary
(5)8 = (101)2
(3)8 = (011)2
(3)8 = (011)2
(2)8 = (010)2
(4)8 = (100)2
Now write them together. This is the octal to binary conversion.
101011011010100
To convert into hexadecimal arrange it into group of four. If it is not arranged then put an extra zero on left side.
0101 0110 1101 0100
Now according to table of binary to hexadecimal. Put value of each set.
Binary: 0101 0110 1101 0100
Hexadecimal: 5 6 D 4
And the answer is (56D4)16
The table of binary to hexadecimal is follows:
No comments:
Post a Comment