Difference between revisions of "What is Programming?"

From CompSciWiki
Jump to: navigation, search
m (Cleaned up ChapterNum tag)
 
(28 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{1010Chapter|Introduction='''Programming''', simply put, is the act of writing computer programs. Everything you do on a computer, from playing Minesweeper to typing your homework requires the use of a computer program of some sort.  Programs are essentially a series of instructions written down for a computer to follow
+
{{1010Chapter
 +
|ChapterNum=1
 +
|Picture=Wiki_start01.jpg
 +
|Introduction=After reading this chapter you should be able to:
 +
<ul>
 +
<li>Understand that programming is breaking a problem into steps
 +
<li>Write steps to break down simple problems
 +
<li>Learn an approach to problem solving you can use throughout the term.
 +
</ul>
  
Writing instructions is a deceptively difficult task.  People are very good at intuitively breaking down tasks into simple steps.  Someone can tell you "go buy some bread", and you immediately form a series of steps without thinking of them:
 
#go upstairs and get your wallet out of your sock drawer
 
#put your wallet into your pocket
 
#go back downstairs and get the car keys
 
#drive to the store and park in the parking lot
 
#walk to the bread aisle in the store
 
#choose a loaf and pay for it
 
#drive back home
 
 
Some of these steps can even be broken down into smaller, more detailed steps.  How do you walk up a flight of stairs?  How do you drive a car?  There is a near-infinite series of steps that you ''could'' think of to do a task as seemingly simple as buying a loaf of bread.
 
 
Fortunately in COMP 1010 you will not be writing anything nearly that complicated.  Computers may be fast, but they are only as "smart" as their programmers.  This chapter will give you a brief introduction to writing instructions for computers to follow.
 
}}
 
 
__NOTOC__
 
__NOTOC__
  
 +
|Body=
 
==[[The Programming Process]]==
 
==[[The Programming Process]]==
 
 
 
==[[Anatomy of a Program]]==
 
==[[Anatomy of a Program]]==
 
 
==[[What Is Programming Questions|Review Questions and Exercises]]==
 
==[[What Is Programming Questions|Review Questions and Exercises]]==
 +
==[[What Is Programming Part II|Further Reading]]&nbsp;&nbsp;&nbsp;&nbsp;(''Note that the material in this section is '''not''' examinable'')==
  
===[[What is Programming Solutions|Solutions]]===
+
|NChapterNum=2
 +
|NChapterLink=[[Java Fundamentals]]
 +
}}
  
==[[What Is Programming Part II|Further Reading]]==
 
''Note that the material in this section is not examinable''
 
  
 
{{Category:COMP 1010}}
 
{{Category:COMP 1010}}

Latest revision as of 12:31, 2 December 2010


Wiki 1010 Table of Contents

Wiki start01.jpg

Chapter 1

After reading this chapter you should be able to:

  • Understand that programming is breaking a problem into steps
  • Write steps to break down simple problems
  • Learn an approach to problem solving you can use throughout the term.


  Write a Program a Day Case Studies

The Programming Process

Anatomy of a Program

Review Questions and Exercises

Further Reading    (Note that the material in this section is not examinable)




Table of Contents Chapter 2: Java Fundamentals



Template loop detected: