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