Sunday, July 24, 2016

Computer Organization.



Regardless of differences in physical appearance, virtually every computer may be envisioned as being divided into six logical units or sections. these are:
1.Input unit. this is the "receiving"dection of the computer. it obtains information[data and computer programs ] from various input devices and places this information at the disposal of the other units so that the information may be processed. Most information is interred  computers today through typewriter-like key- boards,"mouse"devices and disks. In the future , most information will be interred by speaking to computers, by electronically scanning images, and by video recording.

2. output unit: This is the "shipping section of the computer. It takes information processed by the computer and places it on various output devices to make the information available for use outside the computer. information output from computer is displayed on screens, printed on paper, played through audio speakers, magnetically recorded on disks and tapes, or used to control other devices.

3.Memory unit: This is the rapid access, relatively low capacity"warehouse"section of the computer. it retains information that has been entered through the input unit so that the information may be made immediately available for processing when it is needed. The memory unit also retains information that has already been processed until that information  can be placed on output devices by the output unit. The memory unit is often called either memory, primary memory or random access memory[Ram].

4.Arithmetic and logic unit [Alu]. This is the "manufacturing" section of the computer. It is the responsible of performing calculations such as additions, subtraction, multiplication and division. It contains the decision mechanisms that allow the computer, for example, to compare two itemed from the memory unit to determine whether or not they are equal.

5.central processing unit [Cpu].  This is the "administrative" section of the computer. It is the computer's coordinator and is responsible for supervising the operation of the other sections. The cpu tells the input unit when information should be read into the memory unit, tells the alu when information from the memory unit should be utilized in calculations and tells the output unit when to send information from the memory unit to certain output devices

6.secondary storage unit: This is the long- term , high- capacity "warehousing"section of the computer . programs or data not being used by the other units are normally placed on secondary storage device[such as disks] until they are needed, possibly hours, days, months or even years later. Information in secondary storage takes longer to access than Information in primary memory. The cost per unite of secondary storage is muss less than the cost per unite of primary memory.

Saturday, July 23, 2016

001 . What is a Computer ?




a computer is a device capable of performing computations and making  logical decisions at speeds millions, and even billions, of time faster than human beings can. For example ,many of today's personal computers can perform hundreds of millions additions per second. a person operating a desk calculator might require decades to complete the same number of calculations a powerful personal computer can perform in one second. [points to ponder: how would you know whether the person added the numbers correctly ?] today's fastest supercomputers can perform hundreds of billions of additions per second-about as many calculations as hundreds of thousands of people could perform in one year! and trillion instruction -per- second computers are already functioning in research laboratories!
computers process data under the control of sets of instructions called computer programs. these computer programs guide the computer through orderly sets of actions specified by people called computer programmers.
The various device[such as the keyboard,screen,disks, memory and processing units] that comprise a computer system are referred to as hardware. The computer programs that run on a computer are referred to as software. hardware cost have been declining dramatically in recent years, to the point that personal computers have become a commodity. unfortunately, software development cost have been rising steadily as programmers develop ever more powerful and complex applications, without being able to significantly improve the technology of software development. In this book you will learn proven software development methods that can reduce software development costs- top down stepwise refinement, fictionalization and object- oriented programming. object- oriented programming is widely believed to be the significant breakthroughs that can greatly enhance programmer productivity.