CourcesC++Chapter 1 in C++ 2014-2015 - Chapter Introduction to Programming Introduction Computers are around us everywhere and entered every possible

CourcesC++Chapter 1 in C++ 2014-2015 - Chapter Introduction...

This preview shows page 1 - 4 out of 24 pages.

Chapter Introduction to Programming Introduction Computers are around us everywhere and entered every possible work and activity in our daily life. You cannot imagine your life without computers and its alike machines like mobile, PDA, Tablets,… and so on. It is increasing to penetrate and affect every science in engineering and others. Civil, architectural and mechanical engineers need it to illustrate/ design their work. They also need it at least to write documents or to send mails. That is why we must have a closer look, as electrical engineers, to the computer from the inside rather than their outside look. A computer system contains hardware and software components. The hardware is the parts that you can see of the computer inside or outside. The general architecture of a computer system (and its alike machines) is as shown in Figure . It consists of input/output devices used to enter/see the data, central processing unit (CPU) to process the data and control its movement, and memory to temporally hold the running programs and data. Figure Basic parts of computer system
Image of page 1
The basic units of the computer and their expected functions in more details are: Input Units: used to input the data and instructions into the computer memory. Output Units: Used to output the final results to the user. Memory Unit (RAM): used to store the user data and instructions as well as the final results. CPU (Central Processing Unit): o Control Unit: used to control the sequence of operations that will be performed by the processor. o The Processor: it’s the core of the computer Its task is to perform all the required operations. As you know, computer cannot do anything without instructions from the user. You can imagine the hardware as the body of a human and the software as the soul. The body without a soul is dead and the soul without a body cannot do any action. The input/output system of a human is any part of the body you can sense or act through. In order to do any specific job you have to give a sequence of instructions to the computer. This set of instructions is called a computer program . Software refers to the set of computer programs, procedures that describe the programs, how they are to be used. We can say that it is the collection of programs, which increase the capabilities of the hardware. Software guides the computer at every step where to start and stop during a particular job. The process of software development is called programmin g.
Image of page 2
The hardness of the software is that you cannot see it or touch it as it is a flow of currents in the proper parts of the Hardware to achieve a certain response you want be the computer. You should keep in mind that software and hardware are complementary to each other. Both have to work together to produce meaningful result. Another important point you should know that producing software is difficult and expensive.
Image of page 3
Image of page 4

You've reached the end of your free preview.

Want to read all 24 pages?

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes