No. Kahoot cannot detect if you switch tabs while using it. But if your teacher uses any other tracking software, they might be able to tell when you switch your tabs.