Professional Documents
Culture Documents
COMPUTER PROGRAMMING
Outline
Introduction
What is IT102
Required to attend
Course policies
Why Program?
What is a program ???
Example of a program
What is a program made of ?
What’s next ??
Staff
Instructor: Andy Pallen
Email: andypallen@gmail.com
What is IT102???
A course intended to:
Introduce you to computing basics
Introduce you to programming
Goals:
You would be able to write simple
effective programs in JAVA
You would be able to design a simple
application
Required to attend
1F:M-TH: 7-9:30AM (LAB/LEC)
1E:M-TH: 10-11:30AM (LAB/LEC)
Why Program?
A computer is hardware and software
Software is a set of programs
A program is a set of instructions that
a computer can understand
A program is designed to accomplish
a certain task or tasks
What is a program ???
A precise set of instructions that are
used to define a task
Examples:
Steps to build a piece of furniture
A recipe
Directions to use a machine
Example of a program
Calculating the average of two
numbers:
Input first number
Input Second number
Add the two numbers = sum
Divide the sum by 2 = average
Output average
What is a program made of ?
Key words: words in Java that have a
special meaning or function
Operators: like +, -, *, /
Punctuation: like ; , :
Programmer defined names:
Syntax: rules that you must follow
while writing the program