click below
click below
Normal Size Small Size show me how
AliceCh6
Learning to Program with ALICE Chapter 6 key terms
| Question | Answer |
|---|---|
| Conditional expression | evaluate to being either true or false. In Alice the “If/Else” statement is used to do this. |
| Relational operators | (<, >, <=, >=, !=, ==) |
| Logical operators | (and, or, not) |
| Boolean expression | the part of a conditional expression that actually compares two items using either relational operators of logical operators. |
| Conditional execution | one of the two possible branches taken when an If statement resolves to either true or false. |
| If/Else statement | a block of program code that allows for the conditional execution f that code. |
| Abstraction | reduces and factors out details so that we can focus on one or a few main concepts at a time. |
| Return statement | found in a function and will return a value that is the same as the definition of the function. |
| Function | returns a value when used in a program statement. |
| Integer | a whole number (has no fractional parts) |
| Range | a set of consecutive numbers that are defined by a minimum and maximum value. |
| Random number | a set of numbers used in a computer program that does not repeat and has no recognizable pattern. |