Computational Business Modeling Flashcards
Why modeling?
1 Understand the system
2 Communicate desired structure and behavior of the system
3 visualize and control system architecture
4 manage risk in development process
Types of Business Modeling Languages
1 Business Process Management Notation (BPMN)
2 Event-Driven-Process-Chains (EPC)
3 Activity Diagrams (part of UML)
Why care about Python?
- free
- easy to learn
- versatile
- well connected
- fashionable
Syntax
Structure of language
no room for error
handled by compiler
Variables
- address area on main-memory
- has data type
Integer Division
//
Potentiation
**
Table Test
-> understand flow of algorithm on paper
1 record table with one column per variable
2 note any change to variable
Relational Operators
==
>
<
!=
Logical Operators
and
or
Dictionaries are kind of lists with…
…keys as index
Functions that do not return anything are “—” functions
“void”
Flow of Execution
- top to bottom
- functions must be defined or imported
- called function runs outside of script top to bottom
writing or reading a program without exactly following the flow of execution through every function is termed a
Leap of Faith
Leap of Faith
we fill in needed function later.