Computational Business Modeling Flashcards

1
Q

Why modeling?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Types of Business Modeling Languages

A

1 Business Process Management Notation (BPMN)
2 Event-Driven-Process-Chains (EPC)
3 Activity Diagrams (part of UML)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why care about Python?

A
  • free
  • easy to learn
  • versatile
  • well connected
  • fashionable
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Syntax

A

Structure of language
no room for error
handled by compiler

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Variables

A
  • address area on main-memory

- has data type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Integer Division

A

//

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Potentiation

A

**

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Table Test

A

-> understand flow of algorithm on paper
1 record table with one column per variable
2 note any change to variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Relational Operators

A

==
>
<
!=

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Logical Operators

A

and
or

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Dictionaries are kind of lists with…

A

…keys as index

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Functions that do not return anything are “—” functions

A

“void”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Flow of Execution

A
  • top to bottom
  • functions must be defined or imported
  • called function runs outside of script top to bottom
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

writing or reading a program without exactly following the flow of execution through every function is termed a

A

Leap of Faith

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Leap of Faith

A

we fill in needed function later.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Incremental Development

A

1 listing steps as comments
2 write first lines and check
3 add and change incrementally, hold intermediary values in variables
4 test after each incremental step

+likely to find errors
+complexity reduction

afterwards increase efficiency!

17
Q

Programming Paradigms

A
1 imperative (step-by-step)
2 procedural (user-defined functions)
3 functional (like R)
4 object-oriented
18
Q

classes have

A

Attributes

Methods

19
Q

Why use objects?

A

relational data-storage

relevant functionality

20
Q

Prototype and Patch

A

1 Write code without error but not quite the result
2 patch by adding code
3 clean up

21
Q

Aliasing does not apply to..

A

integers, floats, and strings but ALL ELSE

22
Q

3 Perspectives on Code

A

1 Executable
2 Script
3 Notebook

23
Q

Code Documentation

A

1 Comments and Handbooks (classic)
2 Docstrings
3 Automated