Lutron Electronics interview question

Using a microprocessor and a switch, design a system to light up an LED bulb.