← Lessons PP 4-6 🏥 Code Doctor Lesson 56
💊 🩺 💚
🏥 Universe
Hospital Tech
Welcome to the LOGIC WARD! Every monitor reads TRUE (✅) or FALSE (❌). Computers think in YES and NO — and today YOU control the switches! Learn BOOLEAN LOGIC — combine TRUE and FALSE with AND, OR, and NOT to heal every patient!

💡 What is Boolean Logic?

Computers don't think in words — they think in TRUE (✅) and FALSE (❌)! Is the heart beating? TRUE or FALSE! Is the temperature normal? TRUE or FALSE! You can COMBINE true/false answers with three magic words: AND (both must be true), OR (either one is enough), and NOT (the opposite!). That's Boolean Logic — the brain of every computer!

🔗 You already learned VARIABLES (named boxes that hold values), ALGORITHMS (step-by-step plans), and PATTERNS. Now learn the SIXTH superpower — how computers make DECISIONS! Every IF, every choice, every check uses Boolean Logic! 💡
CHALLENGE 1 of 4
The patient needs all vitals TRUE! Tap each monitor to flip its switch. Turn ALL 4 monitors to TRUE (✅) to heal the patient!
📊 VITALS 0/4
🏥 STATUS SICK
😷
Tap monitors to flip them TRUE!
📊 Vital Monitors — tap to flip the switch!
👆 Tap each monitor to flip it between TRUE (✅) and FALSE (❌)!

🌟 What you learned

🏥 Next time: A NEW coding adventure awaits at Code Explorer! Come back tomorrow — your doctor skills are leveling up! ✨
🏥

Code Doctor!

Welcome to the Logic Ward! Every monitor reads TRUE (✅) or FALSE (❌). Computers think in YES and NO! Learn to flip switches and combine them with AND, OR, and NOT to heal every patient!

📊Flip monitors between TRUE and FALSE!
🔗AND — both must be TRUE at once!
🔀OR — either one being TRUE is enough!
🔄NOT — make TRUE become FALSE!