SlideShare ist ein Scribd-Unternehmen logo
1 von 9
Computer Programming:The Basics Broken Down Casey Dion ENG 1105 Ms. Elizabeth Owens June 6, 2011
Introduction What is a computer program? Before one can learn to write a computer program they must first learn what a computer program is.
According to David Bolton, “A computer program is a set of instructions for a computer to perform a specific task” (Bolton, About.com). The purpose of computer programming is to create a program that performs a certain behavior that it was told to do. 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. In programming, “the variables can represent numeric data, text, or graphical images” (internet.com).
There are many programming languages that can be used to write and perform a basic computer programming.
Some languages include C, C++, Pascal, JAVA, Basic, and Small Basic (A beginner’s version of Basic).  These languages are considered high-level languages. 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). 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.
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. Some languages include C, C++, Pascal, JAVA, Basic, and Small Basic (A beginner’s version of Basic).  These languages are considered high-level languages.
Programs are translated by a compiler or interpreter program so the computer can run it. Here are the steps  For a compiler: “Edit the Program  Compile the program into Machine code files.  Link the Machine code files into a runnable program (also known as an exe).  Debug or Run the Program” (Bolton, About Compilers and Interpreters ) The steps to run a program via interpreter are : Edit the Program  Debug or Run the Program “ (Bolton, About Compilers and Interpreters ) 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.
	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.
Bibliography Bolton, David. About Compilers and Interpreters . 2011. 14 May 2011          		<http://cplus.about.com/od/introductiontoprogramming/a/compinterp.htm>. —. About.com. 2011. 15 May 2011        <http://cplus.about.com/od/introductiontoprogramming/g/program.htm>. internet.com. Webopedia. 2011. 16 May 2011  <http://www.webopedia.com/TERM/P/program.html>. Microsoft. Small Basics. 2011. 19 May 2011 <http://msdn.microsoft.com/en-   us/beginner/ff384126.aspx>. Wikipedia. Computer Programming-Wikipedia. May 2011. 15 May 2011  <http://en.wikipedia.org/wiki/Computer_programming>.

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (19)

Computer Programming
Computer ProgrammingComputer Programming
Computer Programming
 
What is Coding
What is CodingWhat is Coding
What is Coding
 
BIS07 Application Development - I
BIS07 Application Development - IBIS07 Application Development - I
BIS07 Application Development - I
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languages
 
Programming Language
Programming LanguageProgramming Language
Programming Language
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Programming Language
Programming LanguageProgramming Language
Programming Language
 
Compilation v. interpretation
Compilation v. interpretationCompilation v. interpretation
Compilation v. interpretation
 
compiler vs interpreter
compiler vs interpretercompiler vs interpreter
compiler vs interpreter
 
Introduction to programming languages
Introduction to programming languagesIntroduction to programming languages
Introduction to programming languages
 
computer languages
computer languagescomputer languages
computer languages
 
Computer languages
Computer languagesComputer languages
Computer languages
 
APU RoR Workshop Series #1 - Introduction to Programming
APU RoR Workshop Series #1 - Introduction to ProgrammingAPU RoR Workshop Series #1 - Introduction to Programming
APU RoR Workshop Series #1 - Introduction to Programming
 
Programming language
Programming languageProgramming language
Programming language
 
COMPUTER PROGRAMMING
COMPUTER PROGRAMMINGCOMPUTER PROGRAMMING
COMPUTER PROGRAMMING
 
Let's go
Let's go Let's go
Let's go
 
10 lesson7
10 lesson710 lesson7
10 lesson7
 
Translators
TranslatorsTranslators
Translators
 
Unit 1
Unit 1Unit 1
Unit 1
 

Andere mochten auch

Wevac University Prospectus
Wevac University ProspectusWevac University Prospectus
Wevac University ProspectusWEVAC University
 
General ideas of Language Acquisition
General ideas of Language AcquisitionGeneral ideas of Language Acquisition
General ideas of Language AcquisitionAbdul Momin
 
Conditionals 100819134225-phpapp01
Conditionals 100819134225-phpapp01Conditionals 100819134225-phpapp01
Conditionals 100819134225-phpapp01wil_4158
 
Presentacion blogspot yulioxis
Presentacion blogspot yulioxisPresentacion blogspot yulioxis
Presentacion blogspot yulioxiskeillydossantos
 
Benchmark of 3D Virtual Environments
Benchmark of 3D Virtual EnvironmentsBenchmark of 3D Virtual Environments
Benchmark of 3D Virtual EnvironmentsProViWo
 
All things virtual seminar
All things virtual seminarAll things virtual seminar
All things virtual seminarProViWo
 
Hakonen presentation
Hakonen presentationHakonen presentation
Hakonen presentationProViWo
 
The four disputed islands
The four disputed islandsThe four disputed islands
The four disputed islandsEric Johnston
 
The four disputed islands
The four disputed islandsThe four disputed islands
The four disputed islandsEric Johnston
 
Rendicion de Cuentas Municipalidad Distrital de Chancay 2007-2010
Rendicion de Cuentas Municipalidad Distrital de Chancay 2007-2010Rendicion de Cuentas Municipalidad Distrital de Chancay 2007-2010
Rendicion de Cuentas Municipalidad Distrital de Chancay 2007-2010MuniChancay
 
Creación de la marca personal deportiva para Vicente Juan García
Creación de la marca personal deportiva para Vicente Juan GarcíaCreación de la marca personal deportiva para Vicente Juan García
Creación de la marca personal deportiva para Vicente Juan GarcíaPaco Lorente
 
Forms : a UX manifesto
Forms : a UX manifestoForms : a UX manifesto
Forms : a UX manifestoDanielle Swank
 

Andere mochten auch (16)

Wevac University Prospectus
Wevac University ProspectusWevac University Prospectus
Wevac University Prospectus
 
General ideas of Language Acquisition
General ideas of Language AcquisitionGeneral ideas of Language Acquisition
General ideas of Language Acquisition
 
Conditionals 100819134225-phpapp01
Conditionals 100819134225-phpapp01Conditionals 100819134225-phpapp01
Conditionals 100819134225-phpapp01
 
Presentacion blogspot yulioxis
Presentacion blogspot yulioxisPresentacion blogspot yulioxis
Presentacion blogspot yulioxis
 
Wecac university brochure
Wecac university brochureWecac university brochure
Wecac university brochure
 
Benchmark of 3D Virtual Environments
Benchmark of 3D Virtual EnvironmentsBenchmark of 3D Virtual Environments
Benchmark of 3D Virtual Environments
 
All things virtual seminar
All things virtual seminarAll things virtual seminar
All things virtual seminar
 
Hakonen presentation
Hakonen presentationHakonen presentation
Hakonen presentation
 
The four disputed islands
The four disputed islandsThe four disputed islands
The four disputed islands
 
The four disputed islands
The four disputed islandsThe four disputed islands
The four disputed islands
 
Rendicion de Cuentas Municipalidad Distrital de Chancay 2007-2010
Rendicion de Cuentas Municipalidad Distrital de Chancay 2007-2010Rendicion de Cuentas Municipalidad Distrital de Chancay 2007-2010
Rendicion de Cuentas Municipalidad Distrital de Chancay 2007-2010
 
Goril·les
Goril·lesGoril·les
Goril·les
 
Creación de la marca personal deportiva para Vicente Juan García
Creación de la marca personal deportiva para Vicente Juan GarcíaCreación de la marca personal deportiva para Vicente Juan García
Creación de la marca personal deportiva para Vicente Juan García
 
Forms : a UX manifesto
Forms : a UX manifestoForms : a UX manifesto
Forms : a UX manifesto
 
Remaja anti korupsi
Remaja anti korupsiRemaja anti korupsi
Remaja anti korupsi
 
Berpikir dan bersikap positif
Berpikir dan bersikap positifBerpikir dan bersikap positif
Berpikir dan bersikap positif
 

Ähnlich wie Computer Programming Basics Explained

Computer Science Is The Study Of Principals And How The...
Computer Science Is The Study Of Principals And How The...Computer Science Is The Study Of Principals And How The...
Computer Science Is The Study Of Principals And How The...Laura Martin
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & LanguagesGaditek
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & LanguagesGaditek
 
Introduction to systems programming
Introduction to systems programmingIntroduction to systems programming
Introduction to systems programmingMukesh Tekwani
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programmingGwyneth Calica
 
Java And Community Support
Java And Community SupportJava And Community Support
Java And Community SupportWilliam Grosso
 
Specification Of The Programming Language Of Java
Specification Of The Programming Language Of JavaSpecification Of The Programming Language Of Java
Specification Of The Programming Language Of JavaKim Moore
 
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.docICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.docAmanGunner
 
Concept of computer programming iv
Concept of computer programming ivConcept of computer programming iv
Concept of computer programming ivEyelean xilef
 
Cmp2412 programming principles
Cmp2412 programming principlesCmp2412 programming principles
Cmp2412 programming principlesNIKANOR THOMAS
 
Procedural Programming Of Programming Languages
Procedural Programming Of Programming LanguagesProcedural Programming Of Programming Languages
Procedural Programming Of Programming LanguagesTammy Moncrief
 
Top Programming Languages of 2020
Top Programming Languages of 2020Top Programming Languages of 2020
Top Programming Languages of 2020Ikbal Ahmed
 
Computer languages
Computer languagesComputer languages
Computer languagesPrince Arsal
 

Ähnlich wie Computer Programming Basics Explained (20)

Computer Science Is The Study Of Principals And How The...
Computer Science Is The Study Of Principals And How The...Computer Science Is The Study Of Principals And How The...
Computer Science Is The Study Of Principals And How The...
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
 
Introduction to systems programming
Introduction to systems programmingIntroduction to systems programming
Introduction to systems programming
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Ic lecture8
Ic lecture8 Ic lecture8
Ic lecture8
 
Java And Community Support
Java And Community SupportJava And Community Support
Java And Community Support
 
Presentation-1.pptx
Presentation-1.pptxPresentation-1.pptx
Presentation-1.pptx
 
Specification Of The Programming Language Of Java
Specification Of The Programming Language Of JavaSpecification Of The Programming Language Of Java
Specification Of The Programming Language Of Java
 
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.docICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
 
Concept of computer programming iv
Concept of computer programming ivConcept of computer programming iv
Concept of computer programming iv
 
Computer Programming
Computer Programming Computer Programming
Computer Programming
 
Computer
ComputerComputer
Computer
 
Cmp2412 programming principles
Cmp2412 programming principlesCmp2412 programming principles
Cmp2412 programming principles
 
Chapter 2.pptx
Chapter 2.pptxChapter 2.pptx
Chapter 2.pptx
 
Procedural Programming Of Programming Languages
Procedural Programming Of Programming LanguagesProcedural Programming Of Programming Languages
Procedural Programming Of Programming Languages
 
Top Programming Languages of 2020
Top Programming Languages of 2020Top Programming Languages of 2020
Top Programming Languages of 2020
 
df
dfdf
df
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Languages in computer
Languages in computerLanguages in computer
Languages in computer
 

Kürzlich hochgeladen

A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 

Kürzlich hochgeladen (20)

A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 

Computer Programming Basics Explained

  • 1. Computer Programming:The Basics Broken Down Casey Dion ENG 1105 Ms. Elizabeth Owens June 6, 2011
  • 2. Introduction What is a computer program? Before one can learn to write a computer program they must first learn what a computer program is.
  • 3. According to David Bolton, “A computer program is a set of instructions for a computer to perform a specific task” (Bolton, About.com). The purpose of computer programming is to create a program that performs a certain behavior that it was told to do. 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. In programming, “the variables can represent numeric data, text, or graphical images” (internet.com).
  • 4. There are many programming languages that can be used to write and perform a basic computer programming.
  • 5. Some languages include C, C++, Pascal, JAVA, Basic, and Small Basic (A beginner’s version of Basic). These languages are considered high-level languages. 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). 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.
  • 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. Some languages include C, C++, Pascal, JAVA, Basic, and Small Basic (A beginner’s version of Basic). These languages are considered high-level languages.
  • 7. Programs are translated by a compiler or interpreter program so the computer can run it. Here are the steps For a compiler: “Edit the Program Compile the program into Machine code files. Link the Machine code files into a runnable program (also known as an exe). Debug or Run the Program” (Bolton, About Compilers and Interpreters ) The steps to run a program via interpreter are : Edit the Program Debug or Run the Program “ (Bolton, About Compilers and Interpreters ) 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.
  • 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.
  • 9. Bibliography Bolton, David. About Compilers and Interpreters . 2011. 14 May 2011 <http://cplus.about.com/od/introductiontoprogramming/a/compinterp.htm>. —. About.com. 2011. 15 May 2011 <http://cplus.about.com/od/introductiontoprogramming/g/program.htm>. internet.com. Webopedia. 2011. 16 May 2011 <http://www.webopedia.com/TERM/P/program.html>. Microsoft. Small Basics. 2011. 19 May 2011 <http://msdn.microsoft.com/en- us/beginner/ff384126.aspx>. Wikipedia. Computer Programming-Wikipedia. May 2011. 15 May 2011 <http://en.wikipedia.org/wiki/Computer_programming>.