Topic 1 –
Basic Programming Concepts
ITE3101 Introduction to
Programming
Basic Programming Concepts
© VTC 2012
Topic 1, p.1
Introduction to Programming (ITE3101)
Lesson Intended Learning Outcomes
• Upon completion of this lesson, you should be able to:
– Identify input, output and processing from a problem description
– Design solution algorithms in pseudocode for simple problems with appropriate control structures Basic Programming Concepts
© VTC 2012
Topic 1, p.2
Introduction to Programming (ITE3101)
Lecture 1
Steps in Program Development
Characteristics of Good Programs
Algorithms and Algorithm Development
Basic Programming Concepts
© VTC 2012
Topic 1, p.3
Introduction to Programming (ITE3101)
Important Definitions
• A program is a sequence of instructions for computer data processing
• A machine language is low-level instructions executed by computer hardware
• A high-level programming language (e.g. Java, C,
C#) is human understandable, usually English-like
• A programmer is a person who solves problems and writes programs
• A user is a person who uses programs
Basic Programming Concepts
© VTC 2012
Topic 1, p.4
Introduction to Programming (ITE3101)
Computer Programming
• Computer Programming
– The development of a related series of instructions to an identified problem to direct computer to produce the desired results
• Computer programming is an art
• Given the right tools and steps, anyone can write well-designed programs
Basic Programming Concepts
© VTC 2012
Topic 1, p.5
Introduction to Programming (ITE3101)
Steps in Program Development
Basic Programming Concepts
© VTC 2012
Topic 1, p.6
Introduction to Programming (ITE3101)
Seven Basic Steps in Program Development
1.
2.
3.
4.
5.
Define the problem
Outline the solution
Develop the outline into an algorithm
Test the algorithm for correctness
Code the algorithm into a targeted programming language
6. Run the program on the computer
7.
References: – Robertson, L.A. (2006). Simple Program Design (5th ed.). Boyd & Fraser Publishing Company – Liang, D.Y. (2009). Introduction to Java Programming (8th ed.). Pearson Education, Chapter 1 • Internet – Topic about pseudocode on Wikipedia Basic Programming Concepts © VTC 2012 Topic 1, p.62