U2: Making Decisions Flashcards
1
Q
Artificial Intelligence
A
- Machine performing calculations is AI (simplest form)
- AI continuum: less complex AI → more advanced AI
2
Q
Comparison Operators
A
Allows program to compare +2 pieces of info
3
Q
Examples of Comparison Operators [A]
A
- > → Greater than
- < → Less than
- == → Equal to
4
Q
Examples of Comparison Operators [B]
A
- > = → Greater than/equal to
- <= → Less than/equal to
- != → Not equal to
5
Q
If… then… else if… else
A
- Allows you to add +2 responses to an input
- If +2 potential answers evaluates to true, program will only execute first true response
6
Q
Boolean Logical Operators
A
- AND: &&
- OR: ||
7
Q
Flowcharts
A
- Visual representation of steps for process
- Each component noted w/ different shape
- Connected by lines and arrows