Boolean
Domain: Programming Fundamentals
π― Motivation
Programs constantly make yes/no decisions - is the game over? Is the user logged in? Booleans capture this.
π Concrete Example
is_logged_in = True or game_over = False. Used in if conditions: if is_logged_in: show_dashboard().
π Analogy
A light switch - itβs either ON (True) or OFF (False), nothing in between.