Chapter One - Introduction
Chapter One - Introduction
Chapter 1:
Introduction
Recall …
Software Categories (from introductory
courses …)
System Software
◦ Programs written for computer systems
Compilers, operating systems, …
Application Software
◦ Programs written for computer users
Word-processors, spreadsheets, & other
application packages
Computer Program:
Series of instructions to a computer to
accomplish a task.
◦ Instructions must be written in a way the
computer can understand.
Programs are written in programming
languages
◦ Pieces of the same program can be written in
different Programming Languages
A) Machine languages
• Use binary code
• Machine-dependent
• Not portable
Example:
Example:
Load Price
Add Tax
Store Cost
Examples:
Pascal, C, C++, Java, Fortran, ..
B) Functional Programming
Focuses on function evaluation; avoids
updates, assignment, mutable state, side
effects
Example: LISP, ML, Haskell
C) Object-Oriented Programming
Is based on real world objects that embed
both data and operations.
Example: SmallTalk, C++, Java