1. Controller switchEvents queue should be priority based. The queue holds switch...