This is the fourth part of a series, which introduces secondary level computer science concepts. The international Bebras Challenge is a rich source of various tasks, which present these concepts to both students and their teachers.
In this part we choose tasks focused on logic and explain the connection to computer science.