Decision Structures and Boolean Logic

0.0(0)
studied byStudied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/9

flashcard set

Earn XP

Description and Tags

These flashcards focus on key concepts and definitions related to decision structures and Boolean logic as covered in the lecture.

Last updated 5:34 AM on 12/12/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

10 Terms

1
New cards

A logical design that controls the order in which a set of statements execute based on conditions.

Decision Structure

2
New cards

A control structure that performs specific actions if a condition is met.

If Statement

3
New cards

An operator that determines whether a specific relationship exists between two values.

Relational Operator

4
New cards

An expression that evaluates to true or false, typically used in conditional statements.

Boolean Expression

5
New cards

A dual alternative decision structure that executes one block of code if the condition is true and another block if the condition is false.

If-else Statement

6
New cards

A decision structure placed inside another decision structure to handle more complex conditions.

Nested Decision Structure

7
New cards

Operators that combine or modify Boolean expressions; includes and, or, and not.

Logical Operators

8
New cards

A Python operator (:=) that allows for assignment expressions, assigning a value to a variable while evaluating it.

Walrus Operator

9
New cards

A variable that can hold one of two values: True or False.

Boolean Variable

10
New cards

An expression that returns one value if a condition is true and another if it is false, written as 'valueiftrue if condition else valueiffalse.'

Conditional Expression