Introduction To Programming
Introduction To Programming
What is a Computer?
• A computer is an electronic device capable of
performing commands
• Commands: The basic commands that a computer
performs are input (get data), output (display result),
storage, and performance of arithmetic and logical
operations
Instructions
A Computer
Results
System
Data
Introduction
• Without software, the computer is useless
• Software developed with programming languages
• C++ is a programming language
• C++ suited for a wide variety of programming tasks
• Before programming, it is useful to understand
terminology and computer components
LOAD rate
MULT hour
STOR wages
• Widely used
• Easy to read and write
• Allow the programmer to concentrate on the
logic of the problem
Input
Radius (r)
Calculate Area =
3.14 * r * r
Display
Area
END
Flowchart Symbols
Name Symbol Description
Relational Operators
Operator Description
> Greater than
< Less than
= Equal to
Greater than or equal to
Less than or equal to
Not equal to
QUIZ