Designing algorithms with conditionals
7 videos

0
3
Computer Science / Programming - What Are Algorithms and Selection?
Learn what algorithms are, how they use sequence and selection for decision-making, and how to evaluate them based on correctness, efficiency, and readability.

0
4
Computer Science / Programming - if Statements in Python
Learn how Python if statements work using conditions and indentation to make programs execute different code based on true/false decisions.

0
2
Computer Science / Programming - Build a Bus Fare Calculator with if Statements
Learn how to use if statements in Python by building a bus fare calculator that adjusts prices based on passenger age with real-world logic.

0
1
Computer Science / Programming - Compound Boolean Expressions: and, or, not
Learn how Python's logical operators (and, or, not) work, including operator precedence and short-circuit evaluation to combine conditions efficiently.

0
2
Computer Science / Programming - if-elif-else: Chained Conditionals
Learn how Python's if-elif-else chains work to execute exactly one code path. Understand why chained conditionals differ from separate if statements and avoid common bugs.

0
2
Computer Science / Programming - Nested Conditionals
Learn how nested conditionals work in Python using if statements inside other if statements, with examples like age and ticket checks. Understand indentation and control flow.

0
2
Computer Science / Programming - Algorithmic Bias: When Code Isn't Neutral
This video explains algorithmic bias and how conditionals can unintentionally create unfair outcomes. It teaches students to critically evaluate their code for fairness.