05

Phase 1 - Level 5: Creative / Tricky Logical Scenarios

Chapter 5 • Advanced

90 min

Phase 1 - Level 5: Creative / Tricky Logical Scenarios

Introduction

This level challenges you with complex, real-world scenarios that require creative application of conditional logic. These problems test your ability to think critically and apply multiple concepts together.

Advanced Concepts

  • Coordinate Geometry: Working with x, y coordinates
  • Mathematical Progressions: Arithmetic and geometric progressions
  • Time Calculations: Clock angles, date comparisons
  • Complex Validations: Multiple interdependent conditions

Problem-Solving Strategies

  1. Break Down: Divide complex problems into smaller parts
  2. Visualize: Draw diagrams for geometric problems
  3. Edge Cases: Consider boundary conditions
  4. Test Cases: Verify with multiple examples

Common Challenge Types

  • Geometric Problems: Quadrants, triangle properties, angles
  • Time-based Logic: Clock hands, date calculations
  • Mathematical Relationships: Progressions, sequences
  • Multi-condition Validation: Complex eligibility checks

Key Techniques

  • Coordinate system understanding (quadrants)
  • Modulo arithmetic for cycles (clock, days)
  • Mathematical formula application
  • Logical decomposition of complex rules

Hands-on Examples

Determine Quadrant

# Take coordinates
x = float(input("Enter x coordinate: "))
y = float(input("Enter y coordinate: "))

# Determine quadrant or axis
if x == 0 and y == 0:
    print("Origin")
elif x == 0:
    print("On Y-axis")
elif y == 0:
    print("On X-axis")
elif x > 0 and y > 0:
    print("Quadrant I")
elif x < 0 and y > 0:
    print("Quadrant II")
elif x < 0 and y < 0:
    print("Quadrant III")
else:
    print("Quadrant IV")

Check for special cases first (origin, axes), then check sign combinations for quadrants.