Tuesday, November 1, 2011

Re: [ vuZs.net ] PLZ HELP ME ?

CS101 Assignment 1 Solution Fall 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,  (violations)  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 CPUs 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 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  ourdaily 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 (violations) 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.

Q.3. Convert the following Octal Number to Hexadecimal Number by

Writing each and every step of conversion   (53324)8 => (?)16 

Answer: 

(53324)8 = 5*8^4+3*8^3+3*8^2+2*8^1+4*8^0

(53324)8 = 5*4096+3*512+3*64+2*8+4*1

(53324)8 = 20480+1536+192+16+4

(53324)8 = (22228)10

 

Now converting into hexadecimal

 

16

22228

remaindwer

16

1389

4

16

86

D

 

5

6

 

 

 

 

 

 

 

So the hexa decimal equivalent is     

(56D4)16 


ISL201 Assignment 01 Idea Solution 

Given Scenario:

An Islamic society well portrays the bases of principal of Beliefs and righteous conduct and practice of these two principles governs the Islamic society as well. An Ideal Muslim depicts Islamic values through his conduct in practical life and it also forms the very basis of his belief as a Muslim. Holy Quran and Holy Sunnah serve as a role model for Muslims. Islamic society also constitutes hundreds of mosques, Islamic centers and organizations. But all these sources of spiritualism seem to be ineffective in moral characters of Muslims.

Given Question:

You are to point out what
is missing and becoming a cause of this downfall in the Beliefs and values of Islamic society and suggest how we can overcome these issues.


Answer:

from my point of view i think the missing thing is taqwaa in Muslims. because; if we fear from Allah then every thing that we do will be according to him and his Prophet (S.A.W.W). The missing thing is taqwaa.

coz if we do not fear from (Allah) then whatever we do it will be ineffective in moral.

Taqwa means: to cleanse or purify the heart and the soul. Some Aayaat in Sort ush-Shams in which Allah says proves this fact:

" By the sun and its rising sunshine, and by the moon when it comes after the sun, and by the day when it brightens,

it, and by the night when it enshrouds it, and by the heaven and as He made it, and by the earth and as he extended (outspread) it,
and by the soul and as He shaped it, then He inspired it understanding of licentiousness and warding off!

Verily prospered he who purified it, and failed he who threw it into dust [91:1-10]



Allah (T) says:

"It is he who raised up from among the illiterate a Messenger from among them, recites to them His verses and Book and the Wisdom and;

before that they had been lying in manifest forgetfulness." (62-2)





1) To teach the Qur'an. 

2) To teach the Sunnah. 

3) To show the means of purifying the soul. 
This purification is obtained by doing the proper acts of 'ibaadah and by avoiding sins and 
disobedience.

For More Detailed Solution please Read Lecture 01 to Lecture 03
Thanks

--
--
Please visit www.vuzs.net For Current & Old Papers, Quizzes, Assignments and study material.
--
You received this message because you are subscribed to the Google
Groups "vuZs" group.
--
To post a new message on this group, send email to vuZs@googlegroups.com
--
Message Posting Rules: http://vuzs.net/faq/4795-vuzs-google-groups-basic-rules-for-posting-messages.html
--
To unsubscribe from this group, send email to vuZs+unsubscribe@googlegroups.com
--
To join this group Send blank email from your virtual university email address to
vuZs+subscribe@googlegroups.com
or visit
http://groups.google.com/group/vuZs/subscribe
---
For more information Contact vuZs Manager at info@vuzs.net

No comments:

Post a Comment