Professional Documents
Culture Documents
Week 3 IntroductionToProgramming
Week 3 IntroductionToProgramming
PYTHON PRGRAMMING
What is Programming?
The art of telling a computer how to perform
complex tasks
The art of writing computer programs (software)
Program is a set of instructions asking the
computer to perform specified tasks
Course Learning Objectives (CLOs)
http://www.py4inf.com/
https://www.tutorialspoint.com/python/index.htm
https://realpython.com/
What is a Programming Language?
Machine Languages
Strings of numbers giving machine specific instructions
Example: 00000001 00000010 00000001
Assembly Languages
English-like abbreviations representing elementary
computer operations (translated via assemblers)
Example:
LOAD BASEPAY
ADD OVERPAY
STORE GROSSPAY
Types of Programming Languages (2/2)
High-level Languages
Codes similar to everyday English
Use mathematical notations
Have to be translated to machine-level, thus taking
extra processing time
Take less time to write, are shorter, easier to read, and
more likely to be correct
Example:
grossPay = basePay + overTimePay
What is Code? Software? Program?
1x = 10
2#variable is declared as the value 10 is assigned to it.