Automated Room Lighting System
Filed under SAP
The question
Design and write a program to automatically turn room lights on or off based on a person entering or leaving the room, assuming hardware interaction is handled via a class interface.
No write-up yet. Related questions below have one.
Related SAP questions
Collected from public candidate posts and coding forums. Updated Nov 2026.