The slot is a thin opening or groove that can be used to insert or…