COMP121L_Decision_Making

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/9

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

10 Terms

1
New cards
Decision Structure
A programming structure that allows a program to perform actions based on specific conditions.
2
New cards
if Statement
A decision-making statement that executes a block of code if its condition is true.
3
New cards
if-else Statement
A decision structure that executes one block of code if its condition is true, and a different block if it is false.
4
New cards
Boolean Expression
An expression that evaluates to either true or false.
5
New cards
Relational Operator
An operator that compares two values and determines the relationship between them.
6
New cards
Logical Operators
Operators that connect multiple Boolean expressions to form a compound expression.
7
New cards
Nested Decision Structure
A decision structure that contains another decision structure within it to test multiple conditions.
8
New cards
Alphabets Comparison in Strings
The process of comparing strings to determine their order based on alphabetical value.
9
New cards
Diamond Symbol
Represents a true/false condition in flowcharts for decision structures.
10
New cards
High Score Constant
A fixed value used to determine a threshold for a high score (e.g., HIGH_SCORE = 95).