Computer Programming:The Basics Broken Down<br />Casey Dion<br />ENG 1105<br />Ms. Elizabeth Owens<br />June 6, 2011<br />
Introduction<br />What is a computer program?<br />Before one can learn to write a computer program they must first learn ...
According to David Bolton, “A computer program is a set of instructions for a computer to perform a specific task” (Bolton...
There are many programming languages that can be used to write and perform a basic computer programming.<br />
Some languages include C, C++, Pascal, JAVA, Basic, and Small Basic (A beginner’s version of Basic). <br />These languages...
Every program is eventually translated into a machine language so a computer can understand it. They are translated by a c...
Programs are translated by a compiler or interpreter program so the computer can run it.<br />Here are the steps <br />For...
	Computer programming can be very simple once the basics are understood. Different languages can present many different pr...
Bibliography<br />Bolton, David. About Compilers and Interpreters . 2011. 14 May 2011         <br />		<http://cplus.about....
Upcoming SlideShare
Loading in...5
×

Dion computerprogramming

156

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
156
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Dion computerprogramming

  1. 1. Computer Programming:The Basics Broken Down<br />Casey Dion<br />ENG 1105<br />Ms. Elizabeth Owens<br />June 6, 2011<br />
  2. 2. Introduction<br />What is a computer program?<br />Before one can learn to write a computer program they must first learn what a computer program is.<br />
  3. 3. According to David Bolton, “A computer program is a set of instructions for a computer to perform a specific task” (Bolton, About.com).<br />The purpose of computer programming is to create a program that performs a certain behavior that it was told to do.<br />A program is basically a set of instructions that you write with a list of directions or statements that tells the computer what to do with different objects or variables.<br />In programming, “the variables can represent numeric data, text, or graphical images” (internet.com).<br />
  4. 4. There are many programming languages that can be used to write and perform a basic computer programming.<br />
  5. 5. Some languages include C, C++, Pascal, JAVA, Basic, and Small Basic (A beginner’s version of Basic). <br />These languages are considered high-level languages.<br />One can also write programs in more difficult language, assembly languages which are considered the low-level languages. This is because, “low-level languages are closer to the language used by a computer, while high-level languages are closer to human languages” (internet.com).<br />Every program is eventually translated into a machine language so a computer can understand it. They are translated by a compiler or interpreter program so the computer can run it.<br />
  6. 6. Every program is eventually translated into a machine language so a computer can understand it. They are translated by a compiler or interpreter program so the computer can run it.<br />Some languages include C, C++, Pascal, JAVA, Basic, and Small Basic (A beginner’s version of Basic). <br />These languages are considered high-level languages.<br />
  7. 7. Programs are translated by a compiler or interpreter program so the computer can run it.<br />Here are the steps <br />For a compiler:<br />“Edit the Program <br />Compile the program into Machine code files. <br />Link the Machine code files into a runnable program (also known as an exe). <br />Debug or Run the Program” (Bolton, About Compilers and Interpreters )<br />The steps to run a program via interpreter are :<br />Edit the Program <br />Debug or Run the Program “ (Bolton, About Compilers and Interpreters )<br />This is a faster process and it helps beginners edit and test their code faster than using a compiler. It has the disadvantage of running much slower than a compiled program, five to ten times slower because every line of code has to be re-read and then re-processed.<br />
  8. 8. Computer programming can be very simple once the basics are understood. Different languages can present many different pros and cons. Some are easier for beginners and certain languages should be left for the more advanced users. If you know how to write a set of instructions then after learning a programming language of choice you should be able to write your own program in no time at all. <br />
  9. 9. Bibliography<br />Bolton, David. About Compilers and Interpreters . 2011. 14 May 2011 <br /> <http://cplus.about.com/od/introductiontoprogramming/a/compinterp.htm>.<br />—. About.com. 2011. 15 May 2011 <br /><http://cplus.about.com/od/introductiontoprogramming/g/program.htm>.<br />internet.com. Webopedia. 2011. 16 May 2011 <br /><http://www.webopedia.com/TERM/P/program.html>.<br />Microsoft. Small Basics. 2011. 19 May 2011 <http://msdn.microsoft.com/en- <br />us/beginner/ff384126.aspx>.<br />Wikipedia. Computer Programming-Wikipedia. May 2011. 15 May 2011 <br /><http://en.wikipedia.org/wiki/Computer_programming>.<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×