Programacion

Páginas: 4 (901 palabras) Publicado: 21 de junio de 2012
What is computer programming?
Writing computer programs means writing instructions, that will make the computer follow and run a program based on those instructions. To explain how programmingworks, I will give a brief history. The basic instructions are composed of a sequence of ons and offs, that the computer follows as it runs them through the processor, turning switches on and off. The onsare coded (meaning written in programming) with an 1, and the offs with a 0. Numbers and letters are also represented by this; 0000=0, 0001=1, 0010=2, 0011=3, etc. In the beginning, programs lookedlike "1010100100101111010101010101". Someone realized that since the purpose of writing programs is in order to make life easier, why don't we write a program that will take a kind of code that iseasier to create, and the program will translate it into computer code (1s and 0s). So, assembly language was created, where the code then looked like "add $5, $7, $8 #comment", which although notcompletely readable, it was a lot better than "010101". The program that converted the assembly language into computer code was called the assembler. Then someone decided, why don't we make a program thatwill translate English-like words into assembly language, so we can write code in English. Thus modern "third generation" code was created. Now the programmer can write code like "x = 5 + 8;" or "Stringstupid = "You are not smart;". (The first piece means that x will equal 5 + 8, and the second means that whenever the program writes stupid it means the words in the quotes. However, that is notimportant now, the important thing to realize is that programming is more "Englished" and understandable than before".) Now, a compiler will translate the new code into assembly language, to which anassembler will translate into computer language, that the computer will execute into a series of ons and offs. This new way enabled writing more complex code, as it was now more readable and easy to...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Programación
  • Programacion
  • Programacion
  • Programación
  • Programacion
  • Programacion
  • Programacion
  • Programacion

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS