← Home BP Β· 7-9 🎭

Spotlight Chief

60
🎯 Today's Missions
🎡 🎢 🎀 ✨
🎭
Stage & Music Universe
Spotlight Chief
You're the Spotlight Chief! Read the crowd's noise level with COMPARISONS β€” is it GREATER THAN 70? LESS THAN 30? EXACTLY 50? Then decide the show: PARTY, HUSH, SLOW SONG, or STAR PERFORMANCE! Every computer compares numbers to make decisions β€” now YOU run the show!

⚑ Today's Concept: Comparison Operators ( > < = )

A comparison asks a TRUE/FALSE question about two numbers: is 80 > 70? (YES!) Is 15 < 30? (YES!) Is 50 = 50? (YES!) Computers use comparisons all the time β€” games check your score, apps check your age, websites check your password length. You already learned IF/ELSE decisions β€” now power them with real number checks!

> GREATER THAN β€” bigger number wins < LESS THAN β€” smaller number wins = EQUAL TO β€” exactly the same!
← Last time you programmed IF/ELSE decisions (Coral Guard). Now you'll feed those decisions with COMPARISONS β€” the > < = checks computers make every single day!
Step 1 / 4
The crowd is at 80 β€” WAY too loud! Build the rule: IF crowd noise > 70 THEN Party Mode. ELSE Hush. Then run the show!
● LIVE STAGE
🎭 Show Ready
😊 Crowd Noise 50
Drag the crowd meter to change the noise level!
The crowd is warming up… set your rule and run the show!
🎚️ Your Rule β€” how should the show decide?
IF crowd noise
70
THEN
β€” ELSE β€”
ELSE
πŸ“‹ What Will Happen β€” watch it update live!
βœ…
IF TRUE: Party Mode πŸŽ‰
❌
ELSE: Hush 🀫
πŸ“‹ Your 4 Stage Challenges
0 of 4 challenges complete
🎭
You're a Spotlight Chief!
You programmed comparison rules for every show β€” the crowd is happy, the band is loud, and the ENCORE was perfect! 🎀✨

πŸ’« What You Learned

  • Comparisons ask TRUE/FALSE questions about numbers: is it greater (>), less (<), or equal (=)?
  • A comparison needs two numbers: the measured value (crowd noise) and the target (your threshold).
  • IF/ELSE uses the comparison's answer to choose an action β€” TRUE runs one branch, FALSE runs the other.
  • Moving the threshold changes the decision β€” small changes can flip the whole show!
  • You already knew IF/ELSE and BOOLEAN logic β€” now your decisions are powered by real number checks, just like real programs!
🎬 Come Back Tomorrow!
Next up: LOOPS β€” make the show check the crowd again and again, every single minute, all night long!
🏠 Home
Nice! πŸŽ‰